GithubHelp home page GithubHelp logo

andrewfrommelbourne / raspberry_pi_revision Goto Github PK

View Code? Open in Web Editor NEW
32.0 14.0 8.0 72 KB

C code to decode the Revision: field of /proc/cpuinfo on the Raspberry Pi

License: MIT License

Makefile 1.46% C 98.54%

raspberry_pi_revision's Issues

No revision match for new Raspberry Pi 4 Model B Rev 1.5

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...

add additional information (e.g. architecture: ARMv6 (32 Bit), ARMv7 (32 Bit), ARMv8 (64 Bit) or GPU-Type: VideoCore IV, VideoCore VI)

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:

  • architecture: ARMv6 (32 Bit) | ARMv7 (32 Bit) | ARMv8 (64 Bit)
  • CPU-Type: ARM1176JZF-S | Cortex-A53 | Cortex-A7 | Cortex-A53 | Cortex-A72
  • GPU-Type: VideoCore IV, VideoCore VI
  • ...
    Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.