直接查看
cat /sys/firmware/devicetree/base/model ; echo
看cpu
root@raspberrypi:/home/admin# cat /proc/cpuinfo | grep -i model
Model : Raspberry Pi 4 Model B Rev 1.1
看cpu并且结合
root@raspberrypi:/home/admin# cat /proc/cpuinfo | grep -i revision
CPU revision : 3
CPU revision : 3
CPU revision : 3
CPU revision : 3
Revision : c03111
参考:https://oastic.com/posts/how-to-know-which-raspberry-do-you-have/
Code Model Revision SoC RAM Manufacturer
900021 A+ 1.1 BCM2835 512MB Sony UK
900032 B+ 1.2 BCM2835 512MB Sony UK
900092 Zero 1.2 BCM2835 512MB Sony UK
900093 Zero 1.3 BCM2835 512MB Sony UK
9000c1 Zero W 1.1 BCM2835 512MB Sony UK
9020e0 3A+ 1.0 BCM2837B0 512MB Sony UK
920092 Zero 1.2 BCM2835 512MB Embest
920093 Zero 1.3 BCM2835 512MB Embest
900061 CM 1.1 BCM2835 512MB Sony UK
a01040 2B 1.0 BCM2836 1GB Sony UK
a01041 2B 1.1 BCM2836 1GB Sony UK
a02082 3B 1.2 BCM2837A0/B0 1GB Sony UK
a020a0 CM3 1.0 BCM2837 1GB Sony UK
a020d3 3B+ 1.3 BCM2837B0 1GB Sony UK
a02042 2B 1.2 BCM2837 1GB Sony UK
a21041 2B 1.1 BCM2836 1GB Embest
a22042 2B 1.2 BCM2837 1GB Embest
a22082 3B 1.2 BCM2837A0/B0 1GB Embest
a220a0 CM3 1.0 BCM2837 1GB Embest
a32082 3B 1.2 BCM2837A0/B0 1GB Sony Japan
a52082 3B 1.2 BCM2837A0/B0 1GB Stadium
a22083 3B 1.3 BCM2837A0/B0 1GB Embest
a02100 CM3+ 1.0 BCM2837B0 1GB Sony UK
a03111 4B 1.1 BCM2711 1GB Sony UK
b03111 4B 1.1 BCM2711 2GB Sony UK
b03112 4B 1.2 BCM2711 2GB Sony UK
b03114 4B 1.4 BCM2711 2GB Sony UK
c03111 4B 1.1 BCM2711 4GB Sony UK
c03112 4B 1.2 BCM2711 4GB Sony UK
c03114 4B 1.4 BCM2711 4GB Sony UK
d03114 4B 1.4 BCM2711 8GB Sony UK
c03130 Pi 400 1.0 BCM2711 4GB Sony UK