获取树莓派型号

cat /proc/device-tree/model

grep -i model /proc/cpuinfo

dmesg | grep model

pinout | grep -i model