@balbes150 Tried the above but it didn't work for me. As per your instructions above I:
- Changed firmware to 3.6.1
- Burned SD card with "reset-default-env-uboot-visionfive2-3.6.1.img" and booted, then turned device off. Attached file "boot-reset-default.txt" shows this.
- Burned SD card with "update_uboot-visionfive2-3.6.1.img" and booted, then turned device off. Attached file "boot-update-uboot.txt" shows this
- Booted again (stopped autoboot by hitting key) and did a "printenv" so you can see if the changes above worked, then turned device off. Attached file "boot-printenv.txt" shows this
- Burned SD card with "Armbian_23.09_Starfive2_lunar_edge_6.6.0.img.xz" and booted, which failed. Attached file "boot-lunar_edge_6.6.0-failed.txt" shows this
So, had a look at the "printenv" output and found nothing "runs" your new env variables "boot_mmc_new", "boot_emmc_new", or "boot_nvme_new"!
I also noticed that in the failed boot log the message "## Error: "boot2" not defined". So I booted again, stopped autoboot, did a "setenv boot2 run boot_mmc_new", then "env save", booted again and it worked! Attached file "boot-lunar_edge_6.6.0-worked.txt" shows this.
I don't think this is the correct way to "fix" this issue, but it works.
Let me know if I did something wrong.
boot-reset-default.txt
boot-update-uboot.txt
boot-printenv.txt
boot-lunar_edge_6.6.0-failed.txt
boot-lunar_edge_6.6.0-worked.txt