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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
2,255 Views
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 Kudos
Reply
1 Solution
2,236 Views
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

View solution in original post

0 Kudos
Reply
4 Replies
2,241 Views
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 Kudos
Reply
2,240 Views
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 Kudos
Reply
2,237 Views
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 Kudos
Reply
2,233 Views
NicolasP
Contributor IV

@Harvey021,

 

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

Best regards,

Nicolas

0 Kudos
Reply