From: Benedict Hewson <benedict@hewson-venieri.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] setting Ethernet address
Date: Sun, 16 Mar 2014 07:00:55 +0000 [thread overview]
Message-ID: <4458778.Fr6NCEssuz@desktop1> (raw)
In-Reply-To: <CAOMZO5DA=w1+kNyRj5jD7CgPK9qXnv4-SfYNJfVjkT1+xfHgxA@mail.gmail.com>
On Saturday 15 Mar 2014 16:59:05 Fabio Estevam wrote:
> On Sat, Mar 15, 2014 at 4:08 AM, Benedict Hewson
>
> <benedict@hewson-venieri.com> wrote:
> > In the fec_get_hwaddr() function I have printed out the values returned by
> > imx_get_mac_from_fuse() and they are all 0.
> >
> > I have read in the README.imx6 file that the MAC address is stored in the
> > fuse bank. The default reset value according to the datasheet is 0, so is
> > this programmed by Freescale or the board vendor ?
>
> Looks like the vendor did not program the MAC address in the fuses then.
>
> Does it work if you pass 'setenv ethaddr <macaddr>'?
>
> Regards,
>
> Fabio Estevam
yes using setenv ethaddr and setenv ipaddr allows me to ping other computers
and to ping the board.
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.
next prev parent reply other threads:[~2014-03-16 7:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-14 18:29 [U-Boot] setting Ethernet address Benedict Hewson
2014-03-14 18:52 ` Fabio Estevam
2014-03-15 7:08 ` Benedict Hewson
2014-03-15 19:59 ` Fabio Estevam
2014-03-16 7:00 ` Benedict Hewson [this message]
2014-03-16 8:06 ` Wolfgang Denk
2014-03-16 8:35 ` Benedict Hewson
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=4458778.Fr6NCEssuz@desktop1 \
--to=benedict@hewson-venieri.com \
--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