Raspberry Pi Tips and Tricks – Part 2

Checking Raspberry Pi Revision Number & Board Version

Each Raspberry pi variant has different revision number. Below table lists the variant available now.

Model and PCB RevisionRAMRevisionPi Revision Code from cpuinfo
Model B Rev 1256MB0002
Model B Rev 1
ECN0001 (no fuses, D14 removed)
256MB0003
Model B Rev 2256MB0004
0005
0006
Model A256MB0007
0008
0009
Model B Rev 2512MB000d
000e
000f
Model B+512MB0010
0013
900032
Compute Module512MB0011
Compute Module512MB0014 (Embest, China)
Model A+256MB0012
Model A+256MB0015 (Embest, China)
Model A+512MB0015 (Embest, China)
Pi 2 Model B v1.11GBa01041 (Sony, UK)
Pi 2 Model B v1.11GBa21041 (Embest, China)
Pi 2 Model B v1.21GB1.2a22042
Pi Zero v1.2512MB1.2900092
Pi Zero v1.3512MB1.3900093
Pi Zero W512MB1.19000C1
Pi 3 Model B1GB1.2a02082 (Sony, UK)
Pi 3 Model B1GB1.2a22082 (Embest, China)
Pi 3 Model B+1GB1.3a020d3 (Sony, UK)
Pi 41GB1.1a03111 (Sony, UK)
Pi 42GB1.1b03111 (Sony, UK)
Pi 42GB1.2b03112 (Sony, UK)
Pi 42GB1.4b03114 (Sony, UK)
Pi 44GB1.1c03111 (Sony, UK)
Pi 44GB1.2c03112 (Sony, UK)
Pi 44GB1.4c03114 (Sony, UK)
Pi 48GB1.4d03114 (Sony, UK)
Pi 4004GB1.0c03130 (Sony, UK)
Pi Zero 2 W1GB1.0902120 (Sony, UK)

Methods for Finding Raspberry Pi Revision Number

Pinout Utility

Use command pinout as shown below

cpuinfo file

In this method we need to read the cpuinfo file using the following command.

 cat /proc/cpuinfo

Raspberry Pi Model Information

With the latest version of Raspbian you can also retrieve the Pi model as a string by using :

cat /proc/device-tree/model

Checking Raspberry Pi OS Version

The easiest way to get information about the OS running on a Raspberry Pi is to use the following command. It displays the operating system name and version.

cat /etc/os-release

Upgrading Raspberry Pi OS

If need to update your system from for example, Buster to Bullseye f, you need to update your repository list and upgrade your system:

  1. Edit your apt sources:
    sudo nano /etc/apt/sources.list
  2. Replace the version name with the latest one.
    For example, replace “buster” with “Bullseye ”.
  3. Save and exit.
  4. Do a complete upgrade of your system:
    sudo apt update
    sudo apt full-upgrade

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.