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
798 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
1 Solution
779 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
4 Replies
784 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
783 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
780 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
776 Views
NicolasP
Contributor IV

@Harvey021,

 

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

Best regards,

Nicolas

0 Kudos