beautypg.com

1 id eeprom – Artesyn COMX-P40x0 ENP2 Installation and Use (January 2015) User Manual

Page 112

background image

BSP

COMX-P40x0 ENP2 Installation and Use (6806800R95C)

112

7.15.1 ID EEPROM

An I2C EEPROM AT24C02 (U30) is used as the ID EEPROM, located on I2C<1>. The COMX-
P40x0 ENP2 module 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.

The following are usage examples:

mac id

mac num E017D99

mac errata 0

mac date 101021120000

mac ports 1

mac 0 00:80:42:05:49:d4

mac save

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

mac errata

Programs errata data

mac date

Programs date

mac ports

Programs the number of ports

mac X

Programs the MAC address for port X [X=0...7]