[U-Boot] [PATCH] mvgbe: remove setting of ethaddr within the driver
Wolfgang Denk
wd at denx.de
Tue Nov 8 20:28:19 CET 2011
Dear "Michael Walle",
In message <45fd92b472c944e2cb9ebb409488ccfc.squirrel at ssl.serverraum.org> you wrote:
>
> If someone will mess up the environment, it is possible to clear it by
> holding a button upon powerup. Atm i have the CONFIG_ETH_ADDR set to a
> default MAC address to be able to use the network console with the default
> environment. To restore the original MAC address, a user have to manually
> replace ethaddr with the one printed on the case.
>
> But now, if i can't use the CONFIG_ETH_ADDR, i think i'm stuck :) Or do i
> miss something? (Yeah there may be the MAC randomization, if accepted).
There are more clever ways than just to clear the environment. We have
"env export" and "env import", so you can create one or more backup
copies or user proviles. Instead of clearing the environment, you
could also load one such previously saved user profile, which then
would contain the MAC address.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The night sky over the planet Krikkit is the least interesting sight
in the entire Universe.
- Douglas Adams _Life, the Universe, and Everything_
More information about the U-Boot
mailing list