Has anyone been able to read the 64-bit Unique ID of the i.MX7 from Linux?
I see the fusemap documentation in the i.MX7 Reference Manual. It's not clear to me what to do with that or how to access those registers.
In my linux distro:
1) There is no serial number in /cat/cpuinfo:
# cat /proc/cpuinfo | grep Serial
Serial : 0000000000000000
2) I see some HW_OCOTP files in /sys/fsl_otp, but its not clear what to do with them.
Can anyone provide guidance or info on this?
If I could read the Unique ID in uboot, that would be a good start also, but I just generally don't see any documentation anywhere at all as to how to do this.
Thanks!
Solved! Go to Solution.
Hi,
Accordingly with the fuse map for iMX7D, the UNIQUE_ID (64bits) is covered by bank 0, word 1 and word 2.
Accordingly with the SoC Reference Manual, the OCOTPs for these are OCOTP_TESTER0 and OCOTP_TESTER1.
Using echo and cat commands can write/read to these.
Regards,
Marius
Hi,
Accordingly with the fuse map for iMX7D, the UNIQUE_ID (64bits) is covered by bank 0, word 1 and word 2.
Accordingly with the SoC Reference Manual, the OCOTPs for these are OCOTP_TESTER0 and OCOTP_TESTER1.
Using echo and cat commands can write/read to these.
Regards,
Marius
Hello Marius,
Thanks for your reply. I have tested this and it does appear correct. On three separate processors:
Processor #1: