NVME Boot using VisionFive2 Software v2.11.5

Now to figure out how to do it properly with the new V3.0.4 firmware.

NVMe UEFI boot still not work by default with V3.0.4 firmware. It boot after messing with U-Boot commands, but I am not sure how to do it right.

What is recommended method to boot from NVMe UEFI? ESP is first partition on NVMe disk. It contains only EFI boot loader and nothing else (no extlinux, no uEnv.txt etc.).

I’ve not tried UEFI booting on VF2 but I can confirm that direct NVMe boot using extlinux.conf works with the latest arch image (cwt13) using the default u-boot settings.

https://forum.rvspace.org/t/arch-linux-image-for-visionfive-2

Not interested in extlinux because not using Linux.

Currently solved with:

env default -a -f
setenv boot_targets "mmc0 nvme0 dhcp"
setenv bootcmd_nvme0 "devnum=0; run nvme_boot"
saveenv
1 Like

That seems like an acceptable workaround to me but it would be nice if it could be avoided with a correctly configured UEFI partition.

1 Like

Can we boot up Ubuntu on NVME with similar approach? Thanks!