Search by Tags

SoC Unique ID (Linux)

 

Compare with Revision
Subscribe for this article updates

Every SoC has a unique ID written into the chip by the manufacturer during production. The SoC ID is unique and can not be altered. In the currently used SoCs the SoC ID is 64 bit wide.

The unique ID can be used among other things for copy protection of an application binary, creating unique network addresses, tracking individual hardware.

The following sysfs entry is available for all Nvidia Tegra, NXP/Freescale iMX7, Vybrid based modules starting with the Q2/2017 release of our BSP.

Nvidia Tegra based modules / NXP/Freescale i.MX 7 based modules / NXP/Freescale Vybrid based modules

SoC unique ID is exposed through the soc bus sysfs interface:

# cat /sys/bus/soc/devices/soc0/soc_id

NXP/Freescale i.MX 6 based modules

SoC unique ID is exposed through the soc bus sysfs interface:

# cat /sys/bus/soc/devices/soc0/unique_id