From c9c1a5294e4ec378882351af1a3462862c61cb96 Mon Sep 17 00:00:00 2001 From: matthewcroughan Date: Thu, 27 Oct 2022 00:15:20 +0100 Subject: [PATCH] raspberry-pi/4: add pcie_brcmstb and reset-raspberrypi to kernelParams This is required for things like USB Boot to work correctly Co-authored-by: Samuel Dionne-Riel --- raspberry-pi/4/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/raspberry-pi/4/default.nix b/raspberry-pi/4/default.nix index 13cf417..f93a236 100644 --- a/raspberry-pi/4/default.nix +++ b/raspberry-pi/4/default.nix @@ -16,7 +16,13 @@ boot = { kernelPackages = lib.mkDefault pkgs.linuxPackages_rpi4; - initrd.availableKernelModules = [ "usbhid" "usb_storage" "vc4" ]; + initrd.availableKernelModules = [ + "usbhid" + "usb_storage" + "vc4" + "pcie_brcmstb" # required for the pcie bus to work + "reset-raspberrypi" # required for vl805 firmware to load + ]; loader = { grub.enable = lib.mkDefault false;