linux: add fpga support #43

Merged
sb10q merged 1 commits from fsagbuya/nix-servo:linux-fpga into master 2024-03-04 17:50:46 +08:00
1 changed files with 8 additions and 2 deletions
Showing only changes of commit d6ac3944fb - Show all commits

View File

@ -151,10 +151,10 @@ index c61f9d6..fbdf0fd 100644
}; };
} }
diff --git a/zynq_image.nix b/zynq_image.nix diff --git a/zynq_image.nix b/zynq_image.nix
index 3fa23ab..727e3ef 100644 index 3fa23ab..e2e3871 100644
--- a/zynq_image.nix --- a/zynq_image.nix
+++ b/zynq_image.nix +++ b/zynq_image.nix
@@ -1,66 +1,96 @@ @@ -1,66 +1,102 @@
-{ config, pkgs, ... }: -{ config, pkgs, ... }:
+{ lib, config, pkgs, ... }: +{ lib, config, pkgs, ... }:
@ -187,6 +187,12 @@ index 3fa23ab..727e3ef 100644
+ SOUND n + SOUND n
+ SQUASHFS n + SQUASHFS n
+ BACKLIGHT_CLASS_DEVICE n + BACKLIGHT_CLASS_DEVICE n
+ FPGA y
+ FPGA_BRIDGE y
+ FPGA_REGION y
+ OF_FPGA_REGION y
+ FPGA_MGR_ZYNQ_FPGA y
+ OF_OVERLAY y
''; '';
- }; - };
- customKernelPackages = pkgs.linuxPackagesFor customKernel; - customKernelPackages = pkgs.linuxPackagesFor customKernel;