1
0
Fork 0

rpi-server: fix USB/PCIe breakage

This commit is contained in:
Sebastien Bourdeauducq 2021-04-17 16:56:36 +08:00
parent 4d0768364a
commit 88c8dafe53
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@
dtparam=audio=on dtparam=audio=on
''; '';
}; };
boot.kernelParams = ["cma=64M"]; # work around https://github.com/raspberrypi/linux/issues/3208
boot.kernelPackages = if rpi4 then pkgs.linuxPackages_rpi4 else pkgs.linuxPackages_rpi3; boot.kernelPackages = if rpi4 then pkgs.linuxPackages_rpi4 else pkgs.linuxPackages_rpi3;
hardware.deviceTree.enable = true; hardware.deviceTree.enable = true;
hardware.deviceTree.base = pkgs.device-tree_rpi; hardware.deviceTree.base = pkgs.device-tree_rpi;