How to identify which i.MX8M type a program is running on ?

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

How to identify which i.MX8M type a program is running on ?

跳至解决方案
814 次查看
NicolasP
Contributor IV

Hi,

On a i.MX 8M (a i.MX 8M Plus to be exact), how can the software know which chip it is currently running on ?

i.MX 8M, i.MX 8M Mini, i.MX 8M Nano, i.MX 8M Plus... ?

Also, how to get the revision number ?

 

Best regards,

Nicolas

0 项奖励
1 解答
795 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi @NicolasP 

For example i.MX8MP.  see the register 5.1.8.39 DIGPROG Register (CCM_ANALOG_DIGPROG) in reference manual.

 

Best regards

Harvey

在原帖中查看解决方案

0 项奖励
4 回复数
800 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi @NicolasP 

Please check cat /sys/devices/soc0/soc_id and cat /sys/devices/soc0/revision

Best regards

Harvey

0 项奖励
799 次查看
NicolasP
Contributor IV

Hi @Harvey021 ,

Thanks for your reply but this does not answer my request.
I'd like to know how to identify the SOC at low level programming (in the boot process).
Which registers of the chip do I have to read ?

Best regards,
Nicolas

0 项奖励
796 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi @NicolasP 

For example i.MX8MP.  see the register 5.1.8.39 DIGPROG Register (CCM_ANALOG_DIGPROG) in reference manual.

 

Best regards

Harvey

0 项奖励
792 次查看
NicolasP
Contributor IV

@Harvey021,

 

That's what I was looking for.
Thanks a lot for your support.

Best regards,

Nicolas

0 项奖励