User Tools

Site Tools


ubootforkirkwoodsocs

This is an old revision of the document!


U-Boot support for Kirkwood SoCs

Overview

See our U-Boot main page.

To-do list

  • Initialize MAC address from I2C EEPROM.
  • Merge patch “sf: macronix: disable write protection when initializing” with mainline.
  • Configure GPIO LEDs.
  • Enhance the default boot sequence (environment variables).

EEPROM organization

The eeprom is available for reading and writing under Linux at the pseudo file /sys/bus/i2c/devices/0-0050/eeprom. The content of the eeprom is the following:

Offset Meaning Notes
00..01 Version/MAC Addresses It indicates how many mac addresses are stored in the eeprom, it's always 00 02 (2) but only the first mac appears to be valid
02..07 Mac address It's the mac address of your board
08..13 2nd Mac address Bogus mac address 01 FF FF FF FF FF
14 Power flag 0 = wait for the button, 1 = auto power on
15 Fake sleepmode Used by the Lacie stock initramfs, it's FD and you can ignore it
ubootforkirkwoodsocs.1316530654.txt.gz · Last modified: 2011/09/20 16:57 by 92.54.8.30