rpi: fix more PCIe/USB breakage

This commit is contained in:
Sebastien Bourdeauducq 2021-04-24 17:13:05 +08:00
parent 536a134b32
commit 82934c8498

View File

@ -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;