forked from M-Labs/it-infra
rpi: fix more PCIe/USB breakage
This commit is contained in:
parent
536a134b32
commit
82934c8498
|
@ -12,6 +12,7 @@ in
|
|||
|
||||
boot.loader.grub.enable = false;
|
||||
boot.loader.generic-extlinux-compatible.enable = true;
|
||||
boot.kernelParams = if rpi4 then ["cma=64M"] else []; # work around https://github.com/raspberrypi/linux/issues/3208
|
||||
boot.kernelPackages = if rpi4 then pkgs.linuxPackages_rpi4 else pkgs.linuxPackages_rpi3;
|
||||
hardware.deviceTree.enable = true;
|
||||
hardware.deviceTree.base = pkgs.device-tree_rpi;
|
||||
|
|
Loading…
Reference in New Issue