Created
October 15, 2024 08:29
-
-
Save ZiTAL/0b993770e9f8ed946fa052d7ffc054b0 to your computer and use it in GitHub Desktop.
Vision Five 2: get firmware version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cat /dev/mtd[012] | strings | grep -E "JH7110" | head -n 2 | tail -n 1 | awk '{match($0, /_v[^\)]+/, arr); print substr(arr[0], 3)}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
output example:
based on: http://forum.rvspace.org/t/how-to-check-the-firmware-version-that-my-qspi-has/3688/4