[U-Boot] setting Ethernet address

Wolfgang Denk
2014-03-16T08:06:10Z

Dear Benedict Hewson,

In message <4458778.Fr6NCEssuz@desktop1> you wrote:
>
> yes using setenv ethaddr and setenv ipaddr allows me to ping other computers
> and to ping the board.

Good.

> I was wondering why if I try to set ethaddr as part of
> CONFIG_EXTRA_ENV_SETTINGS it is not there when I boot the board.

This would define it only in the default environment (and doing this is
strongly deprecated and will never be accepted for mainline), but it
does not influence your current environment settings.

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
Cigarette, n.: A fire at one end, a fool at the other, and a bit of
tobacco in between.