openbmc / u-boot

OpenBMC "Das U-Boot" Source Tree
13 stars 51 forks source link

Set ftgmac100 mac address on boot #14

Closed shenki closed 8 years ago

shenki commented 8 years ago

We store the MAC address in the u-boot environment variables. When the network device is initialised, the value is programmed into the MAC_MADR and MAC_LADR registers. Linux reads these values out and uses it as the device's MAC.

It looks like u-boot does not set the value if the network device is not brought up at boot (if it's booting from flash, or where the device has two network interfaces and only one is initialised at boot).

This ticket is to check to see that is the case, and if it is, program the addresses in unconditionally.

shenki commented 8 years ago

This is a duplicate of https://github.com/openbmc/u-boot/issues/13