-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
notdmidecode
executable file
·13 lines (10 loc) · 1.37 KB
/
notdmidecode
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
# this is not dmidecode
# see https://endoflife.date/raspberry-pi
# or better here https://opensource.com/resources/raspberry-pi
# Raspberry Pi 4 Model B Rev 1.1 2020
# Raspberry Pi 3 Model B Rev 1.2 2016/2018?
# apple,j274apple,t8103apple,arm-platform M1 Apple Mac Mini (2020)
# also see https://github.com/torvalds/linux/tree/master/arch/arm64/boot/dts/apple
# cat /sys/firmware/devicetree/base/model
echo $(cat /sys/firmware/devicetree/base/compatible|tr -d '\0') | sed "s,.*bcm2835.*,2012/03/01,; s,.*bcm2835.*,2014/07/14,; s,.*bcm2836.*,2015/02/02,; s,.*bcm2837.*,2015/02/02,; s,.*bcm2711.*,2019/06/24,; s,.*rp2040.*,2021/11/02,; s,.*bcm2712.*,2023/10/23,; s,.*j314s.*t6000.*,2021/06/06,; s,.*j316s.*t6000.*,2021/06/06,; s,.*j314c.*t6001.*,2021/06/06,; s,.*j316c.*t6001.*,2021/06/06,; s,.*j375c.*t6001.*,2022/06/06,; s,.*j375d.*t6002.*,2022/06/06,; s,.*j414s.*t6020.*,2023/06/06,; s,.*j416s.*t6020.*,2023/06/06,; s,.*j474s.*t6020.*,2023/06/06,; s,.*j414c.*t6021.*,2023/06/06,; s,.*j416c.*t6021.*,2023/06/06,; s,.*j475c.*t6021.*,2023/06/06,; s,.*j180d.*t6022.*,2023/06/06,; s,.*j475d.*t6022.*,2023/06/06,; s,.*j274.*t8103.*,2020/06/06,; s,.*j293.*t8103.*,2020/06/06,; s,.*j313.*t8103.*,2020/06/06,; s,.*j456.*t8103.*,2021/06/06,; s,.*j457.*t8103.*,2021/06/06,; s,.*j413.*t8112.*,2022/06/06,; s,.*j415.*t8112.*,2023/06/06,; s,.*j473.*t8112.*,2023/06/06,; s,.*j493.*t8112.*,2022/06/06,;"