mirror of
https://github.com/brain-hackers/brain-config.git
synced 2025-01-03 10:00:07 +09:00
Use processor rather than board ID to detect Pi 4
This commit is contained in:
parent
71f74289eb
commit
a750ab8e5b
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
raspi-config (20200817) buster; urgency=medium
|
||||
|
||||
* Use processor ID to detect Pi 4 rather than board ID
|
||||
|
||||
-- Simon Long <simon@raspberrypi.com> Mon, 17 Aug 2020 09:24:09 +0100
|
||||
|
||||
raspi-config (20200727) buster; urgency=medium
|
||||
|
||||
* Disable initial rfkill for all platforms when setting wireless country
|
||||
|
@ -46,7 +46,7 @@ is_pizero() {
|
||||
}
|
||||
|
||||
is_pifour() {
|
||||
grep -q "^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]11[0-9a-fA-F]$" /proc/cpuinfo
|
||||
grep -q "^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F]3[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]$" /proc/cpuinfo
|
||||
return $?
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user