From 82934c849808f77abf60fa23e9ed56e27cea1f92 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 24 Apr 2021 17:13:05 +0800 Subject: [PATCH] rpi: fix more PCIe/USB breakage --- nixops/rpi.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixops/rpi.nix b/nixops/rpi.nix index 2afdc611..5620318c 100644 --- a/nixops/rpi.nix +++ b/nixops/rpi.nix @@ -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;