Dragonboard 820C Hardware Unique ID?


#1

Hi,
Is there any way getting a unique hardware ID on the Snapdragon 820C, such as an hardware ID register on the chip?
I would like to avoid using MAC addresses or UUIDs.
Thanks,
tamo2


#2

Not sure it’s a unique ID, but I noticed that first stage bootloader shows a 32-bit serial number:

S - QC_IMAGE_VERSION_STRING=BOOT.XF.1.0-00301
S - IMAGE_VARIANT_STRING=M8996LAB
S - OEM_IMAGE_VERSION_STRING=crm-ubuntu68
S - Boot Interface: UFS
S - Secure Boot: Off
S - Boot Config @ 0x00076044 = 0x000001c9
S - JTAG ID @ 0x000760f4 = 0x4003e0e1
S - OEM ID @ 0x000760f8 = 0x00000000
> S - Serial Number @ 0x00074138 = 0x54f9109e

The good point is that it also gives you the address of this value (0x00074138), so you should be able to retrieve it with devmem:

$ devmem 0x00074138
0x54F9109E

I suppose you can use it as a unique hardware ID although it’s a non portable solution, check if you have a different one on your side.


#3

Wow, cool!
I tried it on mine and it gave me a different value.
Thanks a lot!