[U-Boot] Mac address warning
Wolfgang Denk
wd at denx.de
Sun Aug 4 22:17:01 CEST 2013
Dear Eric Nelson,
In message <51FAEF05.1050700 at boundarydevices.com> you wrote:
>
> While testing Troy's usbnet patches, I was reminded of
> this mysterious warning issued when the environment has
> no mac address stored, but the device provides one:
>
> printf("\nWarning: %s using MAC address from net device\n",
> dev->name);
>
> Why is this a warning? It's the out-of-the box default
> for new boards who haven't saved a mac address to the
> persistent environment.
It is a warnign because in U-Boot the "ethaddr" environment variable
is considered the primary source of information here. If it is
missing, U-Boot may try to use other sources for this information, but
it will warn you that it is not doing the normal thing.
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
"Everything should be made as simple as possible, but not simpler."
- Albert Einstein
More information about the U-Boot
mailing list