How to read UNIQUE_ID [127:64] on i.mx8mp in Linux?

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

How to read UNIQUE_ID [127:64] on i.mx8mp in Linux?

455 Views
tamo2
Contributor II

Hi,

We would like to use 128bit unique hardware identifier on the i.MX 8M Plus processor.

In "Table 6-35. Fusemap Descriptions" of i.MX 8M Plus Applications Processor Reference Manual (IMX8MPRM, Rev. 1, 06/2021), shows UNIQUE_ID in multiple places:

  • The lower 64bits [63:0] are located at Fuse Address 0x410~0x430.
  • The upper 64bits [127:64] are located at Fuse Address 0xE00~0xE10.

It seems that the lower 64bits are exposed as /sys/devices/soc0/serial_number in Linux, but I cannot find a way to read the upper 64bits.

We use yocto/hardknott.

Thanks,
tamo2

0 Kudos
1 Reply

428 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

use this command when board boot up

/sys/devices/soc0/soc_uid

0 Kudos