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; } >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. -- Gilles. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot