Skip to content

A BASH script providing information about Raspberry Pi hardware from the device hardware id. Including manufacturer, release date and board revision.

License

Notifications You must be signed in to change notification settings

OneOfTheInfiniteMonkeys/moreinfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

moreinfo

Provides information about Raspberry Pi hardware from the device hardware id, including manufacturer, release date and board revision. The script identifies over 50 of the variants available covering a manufacturing period commencing in 2012.

( Age-In-Days branch is piloting approximate age in days feature, useage bash mi.sh -l )

Why moreinfo?

With numerous Raspberry Pi models and variations deployed it's challenging to understand the maturity of deployed hardware. moreinfo provides additional information such as the harware designs release date to permit improved management of legacy Raspberry Pi hardware.

GitHub release (latest SemVer including pre-releases) Build Status Maintenance GitHub GitHub repo size made-with-bash Raspberry Pi

Target platform

Debian - Raspberry PI

Installation (or update)

If you don't have GIT installed, install with:
   sudo apt install git

Clone the repository to your Raspberry Pi
e.g.
   cd ~
   sudo git clone https://github.com/OneOfTheInfiniteMonkeys/moreinfo.git

Running

Following installation using the steps detailed in the Installation section, a folder will have been created in your home directory which contains the moreinfo BASH script.

To run moreinfo script enter the following commands:
   cd ~/moreinfo
Run the script :
   sudo bash mi.sh

To update
   cd ~/moreinfo
run git
   sudo git pull

Typical Output

d03114  Q2 2020 4 Model B       1.4    8 GB    (Mfg by Sony)

Options

moreinfo supports the following command line parameters :

-a, --additional Output additional information
-e, --everything Output all information, equivalent to -t -l
-l, --limited Ouptut More-Info data in table format only
Includes status of Over Voltage setting, which is recorded against the version number
-nt, --notabs Single line output ( i.e. exclude tables ) has no tabs in the output string
-t, --table Ouptut a formatted table of source data. Equivalent to 'cat /proc/cpuinfo

Commands

-h, --help, -? Displays this help and exits
-v, --version Displays version information for ${App_Name} and exits
< Application Name > < Command > < Revision > ( < Date {yyyy-mm-dd} {hh:mm} > )

Output Explanation

A typical output from moreinfo is shown below for a Raspberry Pi Model 4 B with 8Gb of memory:
d03114  Q2 2020 4 Model B       1.4     8 GB    (Mfg by Sony)

The line consists of the following information :

Device code d03114
Release date Q2 2020
Model 4 Model B
Board version 1.4
Memory size 8 GB
Manufacturer (Mfg by Sony)

The information reported is based on the 'Device code' identifier.

Table Output Example:

moreinfo will output a table when the command line optional parameter -l is used :

Rel. Date Q2 2020
Rel. Model 4 Model B
Rel. PCB Rev 1.4
Rel. Mem 8 GB
Rel. Manf. (Mfg by Sony)
Rel. Voltage Clear

Note

moreinfo can be placed in any folder, the functional elements of the software comprise the files:
   mi.sh
   raspi-boards.txt

Alternatives to moving or copying the scripts files are possibly:
   Create symbolic links to the moreinfo script mi.sh and raspi-boards.txt file.
     or
   Place the location of moreinfo in the PATH by editing the .profile file in the users home directoy.

Trademarks, Affiliations, Information Provenance

Trademarks are owned by their respective holders.
No affiliation or association is implied or should be inferred with any organisation.
Information is provided for Indication Only.

About

A BASH script providing information about Raspberry Pi hardware from the device hardware id. Including manufacturer, release date and board revision.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages