Table of Contents

I2C


read i2c addresses

U-Boot

U-Boot > i2c dev < busnumber >
U-Boot > i2c probe

example

Linux

root@MBaXXX:~ i2cdetect <busnumber>

example

read eeprom

on

U-Boot > i2c dev 0
U-Boot > i2c md 0x50 0x00.2 0x100
TQMa28 U-Boot > i2c dev 1
TQMa28 U-Boot > i2c md 0x50 0x00.2 0x100
U-Boot > i2c dev 3
U-Boot > i2c md 0x50 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.