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 <samuel@dionne-riel.com>
This commit is contained in:
matthewcroughan 2022-10-27 00:15:20 +01:00
parent 0e65936300
commit c9c1a5294e

View file

@ -16,7 +16,13 @@
boot = { boot = {
kernelPackages = lib.mkDefault pkgs.linuxPackages_rpi4; 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 = { loader = {
grub.enable = lib.mkDefault false; grub.enable = lib.mkDefault false;