Cubieez系统获取CPU-ID的方法
本帖最后由 lugang 于 2016-8-11 12:02 编辑可以是以下命令将cpu信息打印出来,其中有一个Chipid字段cat /proc/cpuinfo在我的cubieboard2上获得的信息如下:Processor : ARMv7 Processor rev 4 (v7l)
processor : 0
BogoMIPS : 2008.24
processor : 1
BogoMIPS : 2015.49
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 4
Hardware : sun7i
Revision : 0000
Serial : 0000000000000000
Chipid : 1651668b-80657080-56494848-0881f41e如果要单独提取Chipid信息,可以执行以下指令:cat /proc/cpuinfo |grep Chipid |cut -d : -f 2得到以下信息:1651668b-80657080-56494848-0881f41e
页:
[1]