How to check the firmware version that my QSPI has?

Sorry for necroposting :smiley:

If serial connection not available, to find out the firmware version on a booted system, we can use something like:

user@starfive:~$ sudo cat /dev/mtd[012] | strings | grep -E "U-Boot SPL|buildroot"
U-Boot SPL 2021.10 (May 09 2024 - 22:42:02 +0800)
riscv64-buildroot-linux-gnu-gcc.br_real (Buildroot JH7110_VF2_515_v5.12.0) 12.2.0
user@starfive:~$
3 Likes