[PATCH v2 4/5] imx8mm-cl-iot-gate: Retrieve the serial number from EEPROM
sbabic at denx.de
sbabic at denx.de
Tue Apr 12 20:47:41 CEST 2022
> From: Fabio Estevam <festevam at denx.de>
> The serial number is located at offset 0x14 of the EEPROM
> under i2c0 bus at address 0x54.
> To print the serial number in Linux:
> SERNUM=$(cat /proc/device-tree/serial-number)
> echo $SERNUM
> Signed-off-by: Fabio Estevam <festevam at denx.de>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
More information about the U-Boot
mailing list