Features
KED Serial Numbers
KED uses unique IDs that are stored in the SoC's OTP fuses. If the UIDs have
been programmed to the default locations during factory production, or by
the customer, they are exported automatically to the serial# environment
variable in U-Boot at runtime.
If a board UID is available this is preferred over the SoM UID. If no UIDs
are available and CONFIG_KONTRON_HW_UID_USE_SOC_FALLBACK is enabled (default
disabled), then the SoC UID is used as serial number.
The bootloader also prints the serial number to the serial console:
Serial Number: 0042152331 (BOARD)
or:
Serial Number: None
U-Boot passes the serial number on to Linux where it can be read from
/sys/firmware/devicetree/base/serial-number.
KEU Device Date in EEPROM
For devices distributed through Kontron Europe (KEU) like the i.MX8MP SMARC
module, the EEPROM on the device contains data according to the KEU EEPROM
specification. There is a command kboardinfo that can be used to show show the
data to the user.
The same configuration (kontron-osm-s-mx8mp_defconfig) is used for KED and KEU
hardware. If the EEPROM does not contain valid data (default for KED products),
it will fall back to take the KED serial number from the OTP fuses (see above).