Hello, I am new to VF2 and I have some questions. I have the Vision Five 2 v1.3B that I recently purchased. I have tried booting through NVME but it does not boot from SD correctly. This are my questions:
- How can I check the firmware version that my QSPI Flash has installed?
- If my firmware is not updated to version v3.7.5, can I use the flashcp method? There is a note that says Method 2 only supports versions equal to or later than VF2_v2.5.0. Is my recently purchased VF2 v1.3B board old?
- Has anyone tried NVME boot with firmware v3.7.5 when the micro switches are to boot via QSPI Flash and there is one operating system on the SD and another on the NVME, which one boots first?
Thank you so much
I wrote a quick and dirty script to check what version was written to the QSPI (but it does assumed that the version written to the QSPI was one that was U-boot and publicly published at https://github.com/starfive-tech/VisionFive2/releases ). So if you compiled your own or the version installed was not publicly published then my script will output nothing. But obviously my script (and data file) needs an OS running on the machine to be able to access the 1-bit QSPI NOR FLASH.
A second method is possible if you have a 3.3 volt USB to serial UART connected to your board during boot you will see messages like the following:
“U-Boot SPL 2021.10 (Mar 22 2023 - 19:45:47 +0800)
DDR version: dc2e84f0.”
“U-Boot 2021.10 (Mar 22 2023 - 19:45:47 +0800), Build: jenkins-VF2_515_Branch_SDK_Release-38”
The above would correspond to VF2_v2.10.4 which was used with VisionFive 2 Debian Image 202302.
“U-Boot SPL 2021.10 (Aug 23 2023 - 11:14:54 +0800)
LPDDR4: 8G version: g8ad50857.”
“U-Boot 2021.10 (Aug 23 2023 - 11:14:54 +0800), Build: jenkins-VisionFive2-SDK-Components-172”
The above would correspond to VF2_v3.6.1 which was used with VisionFive 2 Debian Image 202308
The dates and times above would correspond to the date and time that the SPL+U-Boot (u-boot-spl.bin.normal.out) and U-Boot+SBI (visionfive2_fw_payload.img) were compiled and the approximate firmware version can be guessed by looking at the release dates at https://github.com/starfive-tech/VisionFive2/releases or trying to find where the date would approximately fit in the table below which is derived from the publicly published U-Boot firmwares:
user@dong:~/SPI_firmware$ find `find . -name "*_VF2_*" -print | sort -n` -type f -print | xargs md5sum
All of the above does assume that you are using U-Boot, and not the edk2 EFI firmware (https://github.com/starfive-tech/edk2/releases) , to boot your board.
Thanks, I had a serial-USB converter and I was able to see the firmware version that my board has by entering U-boot