AnsweredAssumed Answered

Setting MAC Address from EEPROM

Question asked by yensid on Aug 27, 2014
Latest reply on Aug 29, 2014 by lunminliang

Hi,

 

I have a P1010RDB and a similar custom PCB board.  I would like to have an EEPROM (AT24C01 on I2C2) programmed with a MAC address and then have U-Boot program that MAC address into the environment.  It appears this is already supported on the RDB, with some additional info on the EEPROM, but it is not working for me on the RDB. I'm currently using SDK v1.5.  When the system boots U-boot shows "EEPROM: Read failed.".  I did have to add "#define CONFIG_P1010RDB_PA" for this version of U-Boot to work on the RDB.

 

Is the EEPROM initially not programed on the RDB?  Any assistance is appreciated, and if I missed some documentation please guide me to it. Thanks.

 

U-Boot 2013.01QorIQ-SDK-V1.5 (Aug 27 2014 - 15:42:34)

 

 

CPU:   P1010E, Version: 1.0, (0x80f90010)

Core:  E500, Version: 5.1, (0x80212151)

Clock Configuration:

       CPU0:800  MHz,

       CCB:400  MHz,

       DDR:333.333 MHz (666.667 MT/s data rate) (Asynchronous), IFC:100  MHz

L1:    D-cache 32 kB enabled

       I-cache 32 kB enabled

Board: P1010RDB-PA, PCB: v2.0

I2C:   ready

SPI:   ready

DRAM:  Detected UDIMM

1 GiB (DDR3, 32-bit, CL=5, ECC off)

Flash: 32 MiB

L2:    256 KB already enabled

NAND:  32 MiB

MMC:  FSL_SDHC: 0

EEPROM: Read failed.

PCIe1: Root Complex of mini PCIe Slot, no link, regs @ 0xffe0a000

PCIe1: Bus 00 - 00

PCIe2: Root Complex of mini PCIe Slot, no link, regs @ 0xffe09000

PCIe2: Bus 01 - 01

In:    serial

Out:   serial

Err:   serial

Net:   eTSEC1 [PRIME], eTSEC2, eTSEC3

Hit any key to stop autoboot:  0

Outcomes