1 id eeprom, Bsp operations – Artesyn COMX-P4080 Installation and Use (August 2014) User Manual
Page 99

BSP Operations
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
99
I2C buses in the U-Boot have been re-assigned as follows:
7.13.1 ID EEPROM
i2C EEPROM AT24C02 (U30) is used as ID EEPROM, located on I2C<1>. COMX-P4080 uses ID
EEPROM to store the board’s serial number, number of network ports, MAC addresses, errata
level, manufacturing date and other information. Boot up message in the U-Boot will be:
"EEPROM: NXID v0".
U-Boot provides several "mac" utilities to display and program the data in ID EEPROM.
i2c mm chip address[.0, .1, .2]
Writes to I2C device (auto-incrementing)
i2c mw chip address[.0, .1, .2] value [count]
Writes to I2C device (fill)
i2c nm chip address[.0, .1, .2]
Writes to I2C device (constant address)
i2c probe
Shows devices on the I2C bus
i2c read chip address[.0, .1, .2] length
memaddress
Reads to memory
i2c reset
Re-inititializes the I2C Controller
i2c speed [speed]
Shows or set I2C bus speed
’i2c dev 0’ selects I2C<1>
’i2c dev 1’ selects I2C<2>
’i2c dev 2’ selects I2C<4>
Table 7-7 U-Boot I2C Utilities
Utility
Description
mac [read|save|id|num|errata|date|ports|0|1|2|3|4|5|6|7]
mac read
Shows content of EEPROM
mac save
Saves to the EEPROM
mac id
Programs system id
mac num
Programs system serial number