===== I2C =====
\\
==== read i2c addresses ====
=== U-Boot ===
U-Boot > i2c dev < busnumber >
U-Boot > i2c probe
++++ example |
U-Boot > i2c dev 0
U-Boot > i2c probe
++++
=== Linux ===
root@MBaXXX:~ i2cdetect
++++ example |
root@MBaXXX:~ i2cdetect 1
++++
==== read eeprom ====
on
* **TQMa7x**
* **TQMa335x**
U-Boot > i2c dev 0
U-Boot > i2c md 0x50 0x00.2 0x100
* **TQMa28**
TQMa28 U-Boot > i2c dev 1
TQMa28 U-Boot > i2c md 0x50 0x00.2 0x100
* **TQMa6ULx**
U-Boot > i2c dev 3
U-Boot > i2c md 0x50 0x00.2 0x100
* **TQMa6x**
* ++TQMa6x Rev.01xx / TQMa6x Rev.02xx Variant B / TQMa6x Rev.03xx|
U-Boot > i2c dev 2
U-Boot > i2c md 0x50 0x00.2 0x100
++
* ++TQMa6x Rev.02xx Variant A & C|
U-Boot > i2c dev 0
U-Boot > i2c md 0x50 0x00.2 0x100
++
* **TQMLS102xA**
* ++TQMLS102xA Rev. ≤ 0202|
U-Boot > i2c dev 0
U-Boot > i2c md 0x50 0x00.2 0x100
++
* ++TQMLS102xA Rev. ≥ 0203|
U-Boot > i2c dev 0
U-Boot > i2c md 0x54 0x00.2 0x100
++
You can see in offset 20 the mac-address, in offset 30 the serial number and in offset 40 the TQ short.