Patchwork [U-Boot] omap4 EHCI support and SMSC95xx support on panda

login
register
mail settings
Submitter Gilles Chanteperdrix
Date May 27, 2011, 6:20 a.m.
Message ID <4DDF42A2.1040402@xenomai.org>
Download mbox | patch
Permalink /patch/97656/
State Superseded
Delegated to: Tom Rini
Headers show

Comments

Gilles Chanteperdrix - May 27, 2011, 6:20 a.m.
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:

 }


From the traces you show, I am not sure this is what you are missing,
though. The other "detail", is that I used the latest version of
X-loader git, it may enable some clocks that previous versions did not
enable. I would like to rebase the patches on the SPL patches posted
recently.

Regards.
Peter Meerwald - May 27, 2011, 10:30 p.m.
> >From the traces you show, I am not sure this is what you are missing,
> though. The other "detail", is that I used the latest version of
> X-loader git, it may enable some clocks that previous versions did not
> enable. I would like to rebase the patches on the SPL patches posted

where is the latest x-loader git?
I've tried several x-loader repos but it is not clear which one I 
recommended

p.

Patch

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;