Skip to content

Commit 2e6df1a

Browse files
committed
Add revision codes page
1 parent 0cb23ed commit 2e6df1a

File tree

2 files changed

+96
-0
lines changed

2 files changed

+96
-0
lines changed

hardware/raspberrypi/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,7 @@ The hardware in the Raspberry Pi
2828
- How to access peripheral addresses using the bcm_host helpers
2929
- [Standard Conformity Documentation](conformity.md)
3030
- Conformance documentation for the various standards bodies
31+
- [Revision codes](revision-codes/README.md)
32+
- Raspberry Pi revision code reference
3133

3234

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
# Raspberry Pi revision codes
2+
3+
Each distinct Raspberry Pi model revision has a unique revision code. You can look up a Raspberry Pi's revision code by running:
4+
5+
```bash
6+
cat /proc/cpuinfo
7+
```
8+
9+
The last three lines show the hardware type, the revision code and the Pi's unique serial number, for example:
10+
11+
```
12+
Hardware : BCM2835
13+
Revision : a02082
14+
Serial : 00000000765fc593
15+
```
16+
17+
## Old-style revision codes
18+
19+
The first set of Raspberry Pi revisions were given sequential hex revision codes from `0002` to `0015`:
20+
21+
Code | Model | Revision | RAM | Manufacturer
22+
---- | ----- | -------- | --------------- | ------------
23+
0002 | B | 1.0 | 256 MB | ?
24+
0003 | B | 1.0 | 256 MB | ?
25+
0004 | B | 2.0 | 256 MB | Sony UK
26+
0005 | B | 2.0 | 256 MB | Qisda
27+
0006 | B | 2.0 | 256 MB | Egoman
28+
0007 | A | 2.0 | 256 MB | Egoman
29+
0008 | A | 2.0 | 256 MB | Sony UK
30+
0009 | A | 2.0 | 256 MB | Qisda
31+
000d | B | 2.0 | 512 MB | Egoman
32+
000e | B | 2.0 | 512 MB | Sony UK
33+
000f | B | 2.0 | 512 MB | Qisda
34+
0010 | B+ | 1.0 | 512 MB | Sony
35+
0011 | CM1 | 1.0 | 512 MB | Sony UK
36+
0012 | A+ | 1.1 | 256 MB | Sony UK
37+
0013 | B+ | 1.2 | 512 MB | ?
38+
0014 | CM1 | 1.0 | 512 MB | Embest
39+
0015 | A+ | 1.1 | 256 MB / 512 MB | Embest
40+
41+
## New-style revision codes
42+
43+
Since the Raspberry Pi 2 launch, new-style revision codes were introduced. Rather than being sequential, each bit of the hex code represents a piece of information about the revision:
44+
45+
```
46+
uuuuuuuuFMMMCCCCPPPPTTTTTTTTRRRR
47+
```
48+
49+
Part | Represents | Options
50+
-------- | ------------ | -------
51+
uuuuuuuu | Unused | Unused
52+
F | New flag | 1: new-style revision
53+
| | 0: old-style revision
54+
MMM | Memory size | 0: 256 MB
55+
| | 1: 512 MB
56+
| | 2: 1 GB
57+
CCCC | Manufacturer | 0: Sony UK
58+
| | 1: Egoman
59+
| | 2: Embest
60+
| | 3: Sony Japan
61+
PPPP | Processor | 0: BCM2835
62+
| | 1: BCM2836
63+
| | 2: BCM2837
64+
TTTTTTTT | Type | 0: A
65+
| | 1: B
66+
| | 2: A+
67+
| | 3: B+
68+
| | 4: 2B
69+
| | 5: Alpha (??)
70+
| | 6: CM1
71+
| | 8: 3B
72+
| | 9: Zero
73+
| | a: CM3
74+
| | c: Zero W
75+
RRRR | Revision | 0, 1, 2, etc.
76+
77+
New-style revision codes in use:
78+
79+
Code | Model | Revision | RAM | Manufacturer
80+
------ | ----------------- | -------- | -------| ------------
81+
a01040 | 2B | 1.0 | 1 GB | Sony UK
82+
a01041 | 2B | 1.1 | 1 GB | Sony UK
83+
a21041 | 2B | 1.1 | 1 GB | Embest
84+
a22042 | 2B (with BCM2837) | 1.2 | 1 GB | Embest
85+
900021 | A+ | 1.1 | 512 MB | Sony UK
86+
900032 | B+ | 1.2 | 512 MB | Sony UK
87+
900092 | Zero | 1.2 | 512 MB | Sony UK
88+
900093 | Zero | 1.3 | 512 MB | Sony UK
89+
920093 | Zero | 1.3 | 512 MB | Embest
90+
9000c1 | Zero W | 1.1 | 512 MB | Sony UK
91+
a02082 | 3B | 1.2 | 1 GB | Sony UK
92+
a020a0 | CM3 | 1.0 | 1 GB | Sony UK
93+
a22082 | 3B | 1.2 | 1 GB | Embest
94+
a32082 | 3B | 1.2 | 1 GB | Sony Japan

0 commit comments

Comments
 (0)