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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
837件の閲覧回数
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 解決策
818件の閲覧回数
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 返答(返信)
823件の閲覧回数
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 件の賞賛
822件の閲覧回数
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 件の賞賛
819件の閲覧回数
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 件の賞賛
815件の閲覧回数
NicolasP
Contributor IV

@Harvey021,

 

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

Best regards,

Nicolas

0 件の賞賛