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

Gilles Chanteperdrix
2011-05-27T06:20:18Z

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;
}