how to get CPU id of imx8mm

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

how to get CPU id of imx8mm

ソリューションへジャンプ
5,289件の閲覧回数
jingyangxie
Contributor V

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

0 件の賞賛
返信
1 解決策
5,240件の閲覧回数
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,275件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport
0 件の賞賛
返信
5,265件の閲覧回数
jingyangxie
Contributor V

Hi,Joanxie

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

0 件の賞賛
返信
5,241件の閲覧回数
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,246件の閲覧回数
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 件の賞賛
返信