How to identify i.MX SoC

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

How to identify i.MX SoC

230件の閲覧回数
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.

ラベル(1)
0 件の賞賛
返信
1 返信

198件の閲覧回数
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 件の賞賛
返信