git.iko.soy/typeable/nixpkgs
on master help sign in
raspberrypi-bootloader: pass initrd to kernel

NixOS is unable to boot using the RPi bootloader (w/o U-Boot) unless the initrd is configured.

commiteadb9c822b3ffe13c461c086400f3d0584893b5c authorBen Wolsieffer <benwolsieffer@gmail.com> dateSun 23 Sep 2018, 17:40 (8 years ago) parente2fbada
1 file changed+1
nixos/modules/system/boot/loader/raspberrypi/raspberrypi.nix+1
nixos/modules/system/boot/loader/raspberrypi/raspberrypi.nix+1
@@ -38,6 +38,7 @@ let
3838 kernel=u-boot-rpi.bin
3939 '' else ''
4040 kernel=kernel.img
41+ initramfs initrd followkernel
4142 '') + optional (cfg.firmwareConfig != null) cfg.firmwareConfig);
4243
4344in