MacsandaPi
Posts: 83
Joined: Tue Dec 30, 2014 7:44 pm

What Command is Used to Display RPi Firmware Number?

Wed Oct 17, 2018 1:32 am

The 2018 release notes for "Raspbian Stretch With Desktop" list Raspberry Pi firmware numbers. What command is used to display the installed firmware? I tried

Code: Select all

vcgencmd version
but the number shown from that command doesn't match any of the ones in the release notes.

epoch1970
Posts: 2075
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: What Command is Used to Display RPi Firmware Number?

Wed Oct 17, 2018 8:19 am

This number is the git ID created when the release was committed. You can find it here: https://github.com/raspberrypi/firmware/releases
This release was incorporated to the Raspbian release you're using.
This ID is of little use, except to the people who publish Raspbian.

If you want to check if the OS image you downloaded is ok, run a command to compute the sha-256 signature of the file you downloaded. E.g. "sha256sum <raspbian_latest.img>" or "sha256sum <raspbian_latest.img.gz>"
One of these commands (I don't know if the signature is generated against the image or the compressed image) should output the same signature as the one published on the download page, currently 6e3aa76e21473ef316c0bfc9efa5c27a27fe46bd698f71de3e06e66b64a55500

If the signatures match, this means the image you downloaded is an exact copy of what was published.
If they don't, check your commands, try to re-download as the file may have been corrupted during download. Also make sure your browser (or whatever you use for downloading) does not unpack or otherwise process the file automatically on arrival.
Last edited by epoch1970 on Wed Oct 17, 2018 5:33 pm, edited 2 times in total.
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

MacsandaPi
Posts: 83
Joined: Tue Dec 30, 2014 7:44 pm

Re: What Command is Used to Display RPi Firmware Number?

Wed Oct 17, 2018 3:53 pm

Thank you for the helpful information, epoch1970. The installed OS seems to be running without problem. I was just curious about the apparent discrepancy between the firmware number in the release notes and what is in my Pi.

User avatar
bensimmo
Posts: 3329
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: What Command is Used to Display RPi Firmware Number?

Wed Oct 17, 2018 4:24 pm

The firmware is software
When you update the OS
e.g.
sudo apt update
sudo apt upgrade
It updates the firmware too, if there is a newer one.

Return to “Beginners”