how to get CPU id of imx8mm

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

how to get CPU id of imx8mm

跳至解决方案
5,285 次查看
jingyangxie
Contributor V

How can I get cpu id of imx8mm in bsp 5.4.70_2.3.2?

0 项奖励
回复
1 解答
5,236 次查看
BiyongSUN
NXP Employee
NXP Employee

If you read the code, you will find below for uuid

 

cat /sys/devices/soc0/soc_uid

 

 

Untitled1.png

 

 

5.10
cat /sys/devices/soc0/serial_number

在原帖中查看解决方案

0 项奖励
回复
4 回复数
5,271 次查看
joanxie
NXP TechSupport
NXP TechSupport
0 项奖励
回复
5,261 次查看
jingyangxie
Contributor V

Hi,Joanxie

    I mean to get cpu ids(or unique ids) in user-mode apps

0 项奖励
回复
5,237 次查看
BiyongSUN
NXP Employee
NXP Employee

If you read the code, you will find below for uuid

 

cat /sys/devices/soc0/soc_uid

 

 

Untitled1.png

 

 

5.10
cat /sys/devices/soc0/serial_number

0 项奖励
回复
5,242 次查看
joanxie
NXP TechSupport
NXP TechSupport

you can use the command as below:

fuse read 0 1

fuse read 0 2

You can also get the same values reading the OCOTP_HW_OCOTP_TESTER0 and OCOTP_HW_OCOTP_TESTER1 registers.

Commands are:

md.l 0x30350410 1

md.l 0x30350420 1

0 项奖励
回复