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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

Jump to solution
65 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
46 Views
Harvey021
NXP Employee
NXP Employee

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
51 Views
Harvey021
NXP Employee
NXP Employee

Hi @NicolasP 

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

Best regards

Harvey

0 Kudos
50 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
47 Views
Harvey021
NXP Employee
NXP Employee

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
43 Views
NicolasP
Contributor IV

@Harvey021,

 

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

Best regards,

Nicolas

0 Kudos