About Unique ID IMX8MQ(Coral Dev Board)

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

About Unique ID IMX8MQ(Coral Dev Board)

487 Views
sef
Contributor II

I'm trying to get 8 digit hex unique id. I looked at the threads on the forum, there is a lot of information. I'm not sure which one is correct.

I found some documentation where i can find unique id's but more than one:

1) i.MX 8M Dual/8M QuadLite/8M Quad Applications Processors Reference Manual (page 908)

0x410-0x420 SJC_CHALL[63:0] /       32    The SJC CHALLENGE /       -       SJC, SW
UNIQUE_ID[63:0]                                        Unique ID
 

so, i tried to read with devmem2 tool. outputs:

devmem2 0x410
/dev/mem opened.
Memory mapped at address 0xffffb63c0000.
Read at address 0x00000410 (0xffffb63c0410): 0xAA0003E4

devmem2 0x420
/dev/mem opened.
Memory mapped at address 0xffffabb7f000.
Read at address 0x00000420 (0xffffabb7f420): 0xAA0003E8

2) HW_OCOTP_TESTER0 and HW_OCOTP_TESTER1

cat HW_OCOTP_TESTER0 = 0xf32efb39
cat HW_OCOTP_TESTER1 = 0x121451d6

3) SOC_UID

cat /sys/devices/soc0/soc_uid = 121451D6F32EFB39

As i said, i'm trying to get an 8 digit hex unique id. Is it enough to use the value of HW_OCOTP_TESTER0 or HW_OCOTP_TESTER1 to be unique or should i use something different?

0 Kudos
Reply
2 Replies

416 Views
Alejandro_Salas
NXP TechSupport
NXP TechSupport

Hello!

Please try to read /sys/devices/soc0/serial_number, there is the UNIQUE_ID.

Let me know how it was.

 

Best regards!

0 Kudos
Reply

388 Views
sef
Contributor II

cat /sys/devices/soc0/serial_number
cat: can't open '/sys/devices/soc0/serial_number': No such file or directory

cat /sys/devices/soc0/soc_uid
121451D6F32EFB39

Kernel Version: 4.14.98

0 Kudos
Reply