how to get CPU id of imx8mm

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

how to get CPU id of imx8mm

Jump to solution
5,267 Views
jingyangxie
Contributor V

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

0 Kudos
Reply
1 Solution
5,218 Views
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

View solution in original post

0 Kudos
Reply
4 Replies
5,253 Views
joanxie
NXP TechSupport
NXP TechSupport
0 Kudos
Reply
5,243 Views
jingyangxie
Contributor V

Hi,Joanxie

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

0 Kudos
Reply
5,219 Views
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 Kudos
Reply
5,224 Views
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 Kudos
Reply