From: Ben Warren <biggerbadderben@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] DM9000 issue in DM355
Date: Wed, 21 Oct 2009 17:24:12 -0700 [thread overview]
Message-ID: <4ADFA62C.2090408@gmail.com> (raw)
In-Reply-To: <0554BEF07D437848AF01B9C9B5F0BC5D935D3569@dlee01.ent.ti.com>
Hi Sandeep,
Paulraj, Sandeep wrote:
> Ben,
>
> I was taking a closer look at the DM9000 driver by trying it on the DM355 EVM. And it behaving a little different from before, i.e before we moved to the NET_MULTI stuff.
>
> When the board comes after I reflash with a new U-boot image, I no longer see the ethaddr being set. But when I do a tftp I can see the ethaddr being read. tftp complains and says no ethaddr set.
>
> So then I goto the U-Boot prompt and can clearly see that after giving the tftp command I have the ethaddr in my environment.
>
> I do a saveenv and set a static ip and then can boot the kernel.
>
> Even dhcp command does not work and times out.
>
> Is there any CONFIG flag I am missing?
>
> Just a couple months ago the DM9000 worked fine without any such issues.
>
> Thanks,
> Sandeep
>
Sorry for taking so long to reply.
It looks like the DM9000 driver doesn't follow proper MAC address
etiquette. The proper way is to read from NVRAM in the initialize()
function and stuff it in dev->enetaddress. I'm separately sending a
patch that compiles fine for me, but I don't have hardware. Please give
it a shot, and if it's good we'll look at pulling it in.
regards,
Ben
prev parent reply other threads:[~2009-10-22 0:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-19 21:39 [U-Boot] DM9000 issue in DM355 Paulraj, Sandeep
2009-10-20 15:13 ` Stefano Babic
2009-10-20 15:46 ` Paulraj, Sandeep
2009-10-20 17:10 ` Paulraj, Sandeep
2009-10-22 0:24 ` Ben Warren [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=4ADFA62C.2090408@gmail.com \
--to=biggerbadderben@gmail.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