If you read the code, you will find below for uuid
cat /sys/devices/soc0/soc_uid
5.10
cat /sys/devices/soc0/serial_number
do you mean function "get_cpu_rev" of soc.c?
Hi,Joanxie
I mean to get cpu ids(or unique ids) in user-mode apps
If you read the code, you will find below for uuid
cat /sys/devices/soc0/soc_uid
5.10
cat /sys/devices/soc0/serial_number
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