Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No way to determine which firmware belongs to which commit. #418

Closed
ali1234 opened this issue Apr 28, 2015 · 4 comments
Closed

No way to determine which firmware belongs to which commit. #418

ali1234 opened this issue Apr 28, 2015 · 4 comments

Comments

@ali1234
Copy link

ali1234 commented Apr 28, 2015

Running vcgencmd version outputs a version ID which references a commit hash on the private git repository containing the firmware source code. There is no way for a member of the public to determine which commit in this repository contains the matching firmware binary, other than by cloning the repository and testing every firmware version on a raspberry pi until they find the one with the correct ID.

@XECDesign
Copy link
Contributor

The raspberrypi-bootloader package (which installs the firmware) has the revision in the changelog.
zcat /usr/share/doc/raspberrypi-bootloader/changelog.Debian.gz | head
If you used rpi-update, it installs a /boot/.firmware_revision, containing the revision.
If you end up with mystery firmware outside of the bootloader package or any half-sensible tool, the date given by vcgencmd version is a good indicator of the firmware version.

@ali1234
Copy link
Author

ali1234 commented Apr 30, 2015

Thanks. Do you mind if I repost this information on stack exchange? It might be easier for others to find it there. http://raspberrypi.stackexchange.com/questions/29991/how-do-i-find-the-firmware-repository-commit-which-matches-the-firmware-version

@XECDesign
Copy link
Contributor

Of course, please do.

@XECDesign
Copy link
Contributor

Based on a script provided by @ali1234, this gets auto-generated every day, if there's an update. http://repo.xecdesign.com/revisions.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants