Serial Number
Introduction
Every Toradex module has a unique Serial Number.
This number is fixed connected to the MAC Address of the module. For more information about the relationship see: MAC Address.
You can find the Serial Number on the bar code sticker on the module.
There are different versions of these stickers some of them have a 1-D bar code and some have a 2-D bar code.
The Toradex serial number must not be confused with the SoC Unique ID - or SoC serial number - from the silicon vendors such as NXP or NVIDIA.
Read Serial Number from a Program
Linux
It is possible to read the serial number from userspace.
For all modules, the serial is available in /proc/cpuinfo
:
cat /proc/cpuinfo | grep Serial
# or
cat /proc/cpuinfo | grep Serial | cut -d ':' -f2
For device-tree enabled modules, the serial number is available in /proc/device-tree/serial-number
:
cat /proc/device-tree/serial-number
WinCE
The SysinfoLib, which is part of our free Toradex CE Libraries contains functions to query the serial number.