I have an untouched, fresh-out-of-box Vision Five 2, and I got the 55 image working.
Unfortunately, I never managed to get the flashcp command.
I’ve downloaded the latest (3.15) release of sdcard.img, and discovered it has a ssh server which allowed me to log in.
Now what?
The flashscp command is available, but I don’t have the u-boot-spl.bin.normal.out and visionfive2_fw_payload.img files to transfer.
The embedded wget does not handle HTTPS, and scp gives me:
sh: /usr/libexec/sftp-server: not found
How can I progress (except setting up locally an http server)?
I changed my boot switches to SDIO (to read the latest firmware from the MicroSD card) and booted with the latest 202306 image (which included u-boot-spl.bin.normal.out and visionfive2_fw_payload.img on the first two partitions)
And then used these commands to upgrade the onboard QSPI NOR FLASH:
And because I booted with the latest image there was absolutely zero chance of an older dtb (device tree binary) with a smaller first partition truncating my firmware. The first partition on the QSPI NOR FLASH was changed from 128 KiB to 256KiB in the later dtb’s of the newer disk image files.