最終更新:2016-11-14 (月) 17:29:17 (3079d)
cpuinfo/ARM
例
shell@flo:/ $ cat /proc/cpuinfo Processor : ARMv7 Processor rev 0 (v7l) processor : 0 BogoMIPS : 13.53 processor : 1 BogoMIPS : 13.53 processor : 2 BogoMIPS : 13.53 processor : 3 BogoMIPS : 13.53 Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 CPU implementer : 0x51 CPU architecture: 7 CPU variant : 0x1 CPU part : 0x06f CPU revision : 0 Hardware : QCT APQ8064 FLO Revision : 0000 Serial : 0000000000000000
CPU implementer
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ihi0014q/Bcfihfdj.html
0x41 ASCII code for A indicating ARM Limited. 0x44 ASCII code for D indicating Digital Equipment Corporation?. 0x4D ASCII code for M indicating Motorola, Freescale Semiconductor Inc. 0x51 ASCII code for Q indicating QUALCOMM Inc. 0x56 ASCII code for V indicating Marvell Semiconductor Inc. 0x69 ASCII code for i indicating Intel Corporation.
メモ
- Exynos 4412 - 0x41
- Tegra 3 - 0x41
- Tegra K1 - 0x41
CPU part
- Cortex-A family these are going to be 0xc00 + number
ARM Cortex-A5 0xc05 ARM Cortex-A7 0xc07 ARM Cortex-A8 0xc08 ARM Cortex-A9 0xc09 ARM Cortex-A15 0xc0f ARM Cortex-A53 0xd03 ARM Cortex-A57 0xd07 ARM Cortex-A72 0xd08 ARM Cortex-R4 0xc14 ARM Cortex-R5? 0xc15 ARM1136? 0xb36 ARM1156? 0xb56 ARM1176? 0xb76 ARM11 MPCore? 0xb02 https://community.arm.com/groups/soc-implementation/blog/2015/04/28/comparing-arm-cortex-a72-and-arm-cortex-a57
- Qualcomm
Snapdragon 805 0x06f Snapdragon S4 Pro 0x06f
ソースコード
- arch/arm/kernel/setup.cのc_show?
項目 値 例 メモ Processor (コアごと)processor (コアごと)BogoMIPS Features CPU implementer CPU archtecture? CPU variant? CPU part CPU revision Hardware machine_name デバイスツリーから(setup_machine_fdtのmdesc->name;) Revision system_rev arch/arm/mach-xxxごと Serial system_serial of_property_read_string?