You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have my EFI partition on an SD card and the root ext4 filesystem on an NVMe drive. This setup works fine, the u-boot loads systemd-boot, it then loads the kernel, it does its thing, mounts root filesystem and starts systemd.
But, if I copy my EFI partition to an NVMe drive and eject the SD card or just run pci enum and then boot in u-boot, the Linux kernel won't be able to initialize NVMe.
tl;dr - initialize NVMe drive in the u-boot - kernel won't find it, don't initialize NVMe drive in the u-boot - everything fine.
Here is my setup:
u-boot from https://github.com/misuzu/u-boot/commits/visionfive2
It's u-boot/u-boot@a169438 but with misuzu/u-boot@9c29cdd for the u-boot to actually work, USB patch (also tried without it - same issue) and misuzu/u-boot@355b187 to make it boot from NVMe.
Linux kernel from starfive-tech/linux@64a6c57
systemd-boot as bootloader
NixOS
The problem:
I have my EFI partition on an SD card and the root ext4 filesystem on an NVMe drive. This setup works fine, the u-boot loads systemd-boot, it then loads the kernel, it does its thing, mounts root filesystem and starts systemd.
But, if I copy my EFI partition to an NVMe drive and eject the SD card or just run
pci enum
and thenboot
in u-boot, the Linux kernel won't be able to initialize NVMe.tl;dr - initialize NVMe drive in the u-boot - kernel won't find it, don't initialize NVMe drive in the u-boot - everything fine.
Here are the logs:
efi_on_sdcard.log (working)
efi_on_nvme.log (fails)
sdcard-to-nvme_cut_diff.txt (the difference between the two, minus time)
The OS image and the u-boot files for testing can be found here.
The text was updated successfully, but these errors were encountered: