public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] omap4 EHCI support and SMSC95xx support on panda
Date: Fri, 27 May 2011 08:20:18 +0200	[thread overview]
Message-ID: <4DDF42A2.1040402@xenomai.org> (raw)
In-Reply-To: <alpine.DEB.2.00.1105262241370.5088@hippogriff.cosy.sbg.ac.at>

On 05/26/2011 10:52 PM, Peter Meerwald wrote:
> Hello,
> 
> I am trying to get tftp working on the pandaboard; I am testing Simon's v6 
> patch series and Gilles EHCI patches
> 
> doc/README.sub claims that the SMSC driver supports usbethaddr, I do not 
> see this
> 
> smsc95xx_init_mac_address() fails to get the hwaddr from eeprom and then 
> it should do 
>     if (eth_getenv_enetaddr_by_index("usbeth", 0, eth->enetaddr)) {
>         debug("MAC address read from usbethaddr\n");
>         return 0;
>     }
> which is missing?
> 
> 
> this is what I get after fixing the usbethaddr issue -- any ideas?

Hi Peter,

A few details I forgot to post it on this list: in order to get EHCI
working on Panda, I had to add the following patch on top of Simon's
patches:

diff --git a/drivers/usb/eth/smsc95xx.c b/drivers/usb/eth/smsc95xx.c
index 4d8dde0..97f2729 100644
--- a/drivers/usb/eth/smsc95xx.c
+++ b/drivers/usb/eth/smsc95xx.c
@@ -873,6 +873,7 @@ int smsc95xx_eth_get_info(struct usb_device *dev,
struct ueth_data *ss,
        eth->send = smsc95xx_send;
        eth->recv = smsc95xx_recv;
        eth->halt = smsc95xx_halt;
+       eth->write_hwaddr = smsc95xx_write_hwaddr;
        eth->priv = ss;
        return 1;
 }

  reply	other threads:[~2011-05-27  6:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-26 20:52 [U-Boot] omap4 EHCI support and SMSC95xx support on panda Peter Meerwald
2011-05-27  6:20 ` Gilles Chanteperdrix [this message]
2011-05-27 22:30   ` Peter Meerwald
  -- strict thread matches above, loose matches on Subject: below --
2011-05-26 21:01 Peter Meerwald
2011-05-26 21:54 ` Simon Glass
2011-06-22 10:24 ` kris.m
2011-06-22 11:04   ` Gilles Chanteperdrix

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=4DDF42A2.1040402@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --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