From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Mac address warning
Date: Sun, 04 Aug 2013 22:17:01 +0200 [thread overview]
Message-ID: <20130804201701.64F30380480@gemini.denx.de> (raw)
In-Reply-To: <51FAEF05.1050700@boundarydevices.com>
Dear Eric Nelson,
In message <51FAEF05.1050700@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
prev parent reply other threads:[~2013-08-04 20:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-01 23:28 [U-Boot] Mac address warning Eric Nelson
2013-08-02 13:08 ` Stefano Babic
2013-08-02 14:16 ` Tom Rini
2013-08-02 14:36 ` Stefano Babic
2013-08-02 14:45 ` Tom Rini
2013-08-02 14:39 ` Eric Nelson
2013-08-04 20:24 ` Wolfgang Denk
2013-08-04 20:37 ` Eric Nelson
2013-08-04 20:17 ` Wolfgang Denk [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130804201701.64F30380480@gemini.denx.de \
--to=wd@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox