[U-Boot] at91sam9g20 MAC address in EEPROM?

Reinhard Meyer reinhard.meyer at emk-elektronik.de
Sat Jul 10 22:20:05 CEST 2010


Jim Sheldon wrote:
> Hello everyone,
>
> I am working on a product based on Atmel's sam9g20.  Atmel's flashing procedure stores the MAC address as a u-boot environment variable (ethaddr).
>
> We are not comfortable with storing the MAC address this way, and would rather keep it in EEPROM.  Does anyone have experience with this?
>   
You can just connect an I2C EEPROM (At24C64 or such), define the 
necessary macros to access it. An exampe how to special read and set 
environment you can find in board/emk/common/vpd.c.

Reinhard


More information about the U-Boot mailing list