andrewfrommelbourne / raspberry_pi_revision Goto Github PK
View Code? Open in Web Editor NEWC code to decode the Revision: field of /proc/cpuinfo on the Raspberry Pi
License: MIT License
C code to decode the Revision: field of /proc/cpuinfo on the Raspberry Pi
License: MIT License
Any chance to get an updated version, for the new model 3A+?
Thanks in advance
Does this code still work with the brand new Raspberry Pi 3 Model B+
?
Hi Andrew,
I find your little programs quite useful, am using them since 2017 :-)
Just wanted to let you know that in the version of current master, ./table
does not show a quite new revision of a current RP4 model.
Moreover, there is a mismatch between /proc/cpuinfo
and ./test
.
Output of /proc/cpuinfo
is
Hardware : BCM2835
Revision : c03115
Serial : 10000000f8b73778
Model : Raspberry Pi 4 Model B Rev 1.5
Output of ./test
does not match CPU and model name of CPU info, but correctly reports manufacturer and RAM
memory: 4096 MB
processor: Broadcom BCM2711
i2cDevice: /dev/i2c-1
model: Raspberry Pi 4 Model B
manufacturer: Sony UK
pcb revision: 5
warranty void: no
revision: c03115
peripheral base: 0xFE000000
I have got viewed the code, but did not get through it deep enough to feel save to extend it by the required data without breaking sth.
Otherwise I would have tried and put a pull request...
HI,
great tool. Fast updates in case of new board revisions. I appreciate your work.
I have a feature request: Is it possible to add additional information, depending on CPU?
Examples:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.