starting with 202308 sdcard.img, u-boot-spl.bin and payload.img
flashcp -Av u-boot-spl.bin.normal.out /dev/mtd0
flashcp -Av visionfive2_fw_payload.img /dev/mtd1
boot switches to 0 0 flash
boot to u-boot prompt StarFive #
env edit kernel_comp_addr_r
edit: 0x90000000
env edit kernel_comp_size
edit: 0x10000000
env edit bootcmd_mmc0
edit: setenv devtype mmc; setenv devnum 0; run mmc_boot
env edit bootcmd_mmc1
edit: setenv devtype mmc; setenv devnum 1; run mmc_boot
env edit bootcmd_nvme0
edit: setenv devtype nvme; setenv devnum 0; run nvme_boot
env edit bootcmd_usb0
edit: setenv devtype usb; setenv devnum 0; run usb_boot
env edit bootcmd
edit: pci enum; nvme scan; usb start; usb reset; run distro_bootcmd
env edit boot_targets
edit: mmc1 usb0 nvme0 mmc0 dhcp
env edit mmc_boot
edit: if mmc dev ${devnum}; setenv devtype mmc; then run scan_dev_for_boot_part; fi
env edit nvme_boot
edit: if nvme dev ${devnum}; setenv devtype nvme; then run scan_dev_for_boot_part; fi
env edit usb_boot
edit: if usb dev ${devnum}; setenv devtype usb; then run scan_dev_for_boot_part; fi
env edit boot_devs
edit: mmc usb nvme
Will now boot in order first SD, USB, NVME, last EMMC
Now fails to boot sdcard.img
Now boots -
starfive-jh7110-202308-SD-minimal-desktop.img
ArchLinux-VF2_5.15.2_v3.7.5-cwt17.img
Armbian_23.8.1_Visionfive2_jammy_edge_5.15.0.img
DietPi_VisionFive2-RISC-V-Sid.img
OpenBSD install74.img installing from sd/usb to nvme, running from nvme, following instructions from openbsd-vf2.md · GitHub
but with .dtb file copied to /starfive/jh7110-visionfive-v2.dtb
all run from SD, USB, NVME
Could someone test and confirm EMMC operation please.