How to check the arm version on a53 imx8mp

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to check the arm version on a53 imx8mp

跳至解决方案
1,593 次查看
Na-veen
Contributor II

Hi,

The i.MX8MP technical reference manuals describe cortex a53 processor uses ARMv8-A version. But how do we confirm this on the i.MX8mp board? Is there any pins or registers which will provide the arm vesion information?

 

Thanks,

Nav

0 项奖励
回复
1 解答
1,586 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hello Nav.

The procedures below you follow up might give you assistance.

You firstly see the register DIGPROG for 8mp from its reference manual(5.1.8.39 DIGPROG Register (CCM_ANALOG_DIGPROG)). 

Then, note down its Address: such as "Address: 3036_0000h base + 800h offset = 3036_0800h"

And, you need to go to 8mp to which presumably you already deployed with corresponding system, with its memtool and the mentioned Address to find it. the way that shows as like: 

#memtool -32 0x30360800 1E
Reading 0x1 count starting at address 0x30360800

0x30360800: 00824311

And you need to refer to "CCM_ANALOG_DIGPROG field descriptions" to check its field value. 

I get some more readable information from kernel as following for reference.

cat /proc/cpuinfo

processor : 3
BogoMIPS : 16.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

  • CPU architecture: AArch64 means 64 bit ARM board:
  • CPU variant : Indicates the variant number of the processor, or "major revision". Yours is zero.
  • CPU part: Part number. 0xd03 indicates Cortex-A53 processor.
  • CPU revision: Indicates patch release or "minor revision". 3, in your case

 

Best regards

Harvey

 

在原帖中查看解决方案

2 回复数
1,587 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hello Nav.

The procedures below you follow up might give you assistance.

You firstly see the register DIGPROG for 8mp from its reference manual(5.1.8.39 DIGPROG Register (CCM_ANALOG_DIGPROG)). 

Then, note down its Address: such as "Address: 3036_0000h base + 800h offset = 3036_0800h"

And, you need to go to 8mp to which presumably you already deployed with corresponding system, with its memtool and the mentioned Address to find it. the way that shows as like: 

#memtool -32 0x30360800 1E
Reading 0x1 count starting at address 0x30360800

0x30360800: 00824311

And you need to refer to "CCM_ANALOG_DIGPROG field descriptions" to check its field value. 

I get some more readable information from kernel as following for reference.

cat /proc/cpuinfo

processor : 3
BogoMIPS : 16.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

  • CPU architecture: AArch64 means 64 bit ARM board:
  • CPU variant : Indicates the variant number of the processor, or "major revision". Yours is zero.
  • CPU part: Part number. 0xd03 indicates Cortex-A53 processor.
  • CPU revision: Indicates patch release or "minor revision". 3, in your case

 

Best regards

Harvey

 

1,583 次查看
Na-veen
Contributor II

Hi Harvey,

 

Thank you for detailed response.

I followed your steps and able to read the DIGPROG register and the output is

#memtool -32 0x30360800 1E
Reading 0x1 count starting at address 0x30360800

0x30360800: 00824311

 

As per the reference manual bits 15-8 are major lower version and [7-4]:0x4 stands for "Quad" and [3-0[:0x3 stands for "Plus".

But as you can see the register value contains both bits. what does it means? bit confusing...

 

Thanks again,

Nav

0 项奖励
回复