Sunday, September 12, 2021

Finding the hardware revision of a raspberry pi on EL platforms

Enterprise Linux platforms on Raspberry Pi (Centos, Oracle, etc.) do not have the /proc/cpuinfo lines referenced by the official docs to determine what hardware version you have. Instead, read the following files to get model and serial numbers.

# cat /proc/device-tree/serial-number
000000003fe78687
# cat /proc/device-tree/model
Raspberry Pi 3 Model B+