How to identify i.MX SoC

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

How to identify i.MX SoC

229 Views
bofh
Contributor I

Hello, we have a line of products that feature a variety of i.MX 8M SoCs on which we run our own Yocto based Linux distribution.

When displaying system information to the user, we want to show exactly what SoC (up to the specific SKU) our system is running on, but the only available data at the moment is the content of /proc/cpuinfo, the output of lscpu, and the content of /sys/devices/soc0/soc_id, which do not really fulfill our needs:

- cpuinfo/lscpu: data comes from the MIDR_EL1 register, and only features information specific to a single core, so we are able to tell that the core is, for example, an A53 ARM core, but we have no idea about what kind of SoC it belongs to.

- soc_id: close, but it actually comes from a combination of device tree + drivers/soc/imx/soc-imx*.c , and it only points to the generic family of the SoC without specifying the SKU (for example, it shows no difference between an i.MX8 M Plus Dual and an i.MX8 M Plus QuadLite)

Is there any register or other source of information we can use to achieve our goal?

Thanks in advance.

Labels (1)
0 Kudos
Reply
1 Reply

197 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

The soc_id give you all relevance information you have. There is no register that give you the sku value.

regards

 

0 Kudos
Reply