nix-community / raspberry-pi-nix

NixOS modules to aid in configuring NixOS for raspberry pi products
MIT License
144 stars 34 forks source link

RPI-5 does not boot from M.2 SSD #26

Closed alex-nt closed 2 months ago

alex-nt commented 2 months ago

I configured the BOOT_ORDER and then tried first with the rpi imager generated image (worked), and then with basically the default config (just raspberry-pi-nix.nixosModules.raspberry-pi added - failed). Same image works on sd-card, but fails to boot on NVME drive.

Looking at config.txt, I don't think that is the issue. Any idea what might be going on (or how I should debug this?)

Thanks a lot for the project!

alex-nt commented 2 months ago

Works with master! I tried the v0.3.2 with raspberry-pi-nix.uboot.enable = false but that was causing the image build to fail. I wonder if the next uboot version (pending release next week) will support nvme though.

alex-nt commented 2 months ago

Ok, just tried the latest RC from uboot, the one that should be released next week and that is a no-go for nvme.

So, currently, master works without doing anything.