Unique ID on i.MX7

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

Unique ID on i.MX7

Jump to solution
773 Views
shashi_ray
Contributor II

Hi,

I am using i.MX7d sabre dev board and trying to read device UNIQUE_ID. In my case HW_OCOTP_TESTER* are 0. These fields do not contain any information. Any idea what could be wrong? Do I need to enable any specific config to get the UNIQUE_ID ?

Thanks,

Shashi Ray 

1 Solution
642 Views
b36401
NXP Employee
NXP Employee

Which way you are reading the ID?

I just made sure that I can read it fine from sysfs of the Linux running on sabre board:

root@imx7dsabresd:~# cat /sys/fsl_otp/HW_OCOTP_TESTER[0-1]
0xce18b953
0x375
root@imx7dsabresd:~#

And I could read it with "fuse" u-boot comand as well:

=> fuse read 0 1 2
Reading bank 0:

Word 0x00000001: ce18b953 00000375
=>

Have a great day,
Victor

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

3 Replies
642 Views
shashi_ray
Contributor II

Dear Victor,

I am trying 1st option that you have mentioned.

root@imx7dsabresd:~# cat /sys/fsl_otp/HW_OCOTP_TESTER[0-1]
0xce18b953
0x375

But not able to get any data. 

0 Kudos
642 Views
b36401
NXP Employee
NXP Employee

What output you care getting?

Did you try u-boot way also?

Have a great day,
Victor

0 Kudos
643 Views
b36401
NXP Employee
NXP Employee

Which way you are reading the ID?

I just made sure that I can read it fine from sysfs of the Linux running on sabre board:

root@imx7dsabresd:~# cat /sys/fsl_otp/HW_OCOTP_TESTER[0-1]
0xce18b953
0x375
root@imx7dsabresd:~#

And I could read it with "fuse" u-boot comand as well:

=> fuse read 0 1 2
Reading bank 0:

Word 0x00000001: ce18b953 00000375
=>

Have a great day,
Victor

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------