ARM Cortex-A72 CPU All In One
ARM Cortex-A72 CPU All In One
Raspberry Pi 4B,
BCM27114 核心1.5GHz64 位 CPU / Raspberry Pi 4B,BCM27114 核心1.8GHz64 位 CPU
Cortex-A72

https://developer.arm.com/Processors/Cortex-A72

https://developer.arm.com/documentation/100095/0003/Introduction/About-the-Cortex-A72-processor?lang=en

https://www.anandtech.com/show/9184/arm-reveals-cortex-a72-architecture-details
https://www.anandtech.com/show/8957/arm-announces-cortex-a72
CPU 性能分析
https://www.cpubenchmark.net/cpu.php?cpu=ARM+Cortex-A72+4+Core+1500+MHz&id=3917
Raspberry Pi 4B
https://www.raspberrypi.com/news/raspberry-pi-4-on-sale-now-from-35/
https://www.raspberrypi.com/news/8gb-raspberry-pi-4-on-sale-now-at-75/
1.5GHz => 1.8GHz 超频 🚀
# config.txt
arm_freq=1800

https://www.raspberrypi.com/news/bullseye-bonus-1-8ghz-raspberry-pi-4/
$ cat /proc/cpuinfo
# Raspberry Pi 3 Model B Rev 1.2
$ cat /sys/firmware/devicetree/base/model

# Raspberry Pi 4B
# Raspberry Pi 3B
Hardware : BCM2835
Revision : a22082
Serial : 0000000095bf9be6
Model : Raspberry Pi 3 Model B Rev 1.2
#include <stdio.h>
#include <stdlib.h>
int main( int argc, char *argv[] )
{
FILE *fp;
char revcode[32];
fp = popen("cat /proc/cpuinfo | awk '/Revision/ {print $3}'", "r");
if (fp == NULL)
exit(1);
fgets(revcode, sizeof(revcode), fp);
pclose(fp);
int code = strtol(revcode, NULL, 16);
int new = (code >> 23) & 0x1;
int model = (code >> 4) & 0xff;
int mem = (code >> 20) & 0x7;
if (new && model == 0x11 && mem >= 3) // Note, 3 in the mem field is 2GB
printf("We are a 4B with at least 2GB of RAM!\n" );
return 0;
}
import subprocess
cmd = "cat /proc/cpuinfo | awk '/Revision/ {print $3}'"
revcode = subprocess.check_output(cmd, shell=True)
code = int(revcode, 16)
new = (code >> 23) & 0x1
model = (code >> 4) & 0xff
mem = (code >> 20) & 0x7
if new and model == 0x11 and mem >= 3 : # Note, 3 in the mem field is 2GB
print("We are a 4B with at least 2GB RAM!")
https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#raspberry-pi-revision-codes


https://en.wikipedia.org/wiki/Raspberry_Pi
demos
refs
https://en.wikipedia.org/wiki/ARM_Cortex-A72
如何解决树莓派 SSH 待机一段时间后自动断开 bug All In One
©xgqfrms 2012-2021
原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!
未经授权禁止转载,违者必究!