[U-Boot] usb ethernet working on panda?

Kumar Gala galak at kernel.crashing.org
Thu Mar 1 15:38:58 CET 2012


On Feb 29, 2012, at 12:17 AM, Govindraj wrote:

> On Wed, Feb 29, 2012 at 4:47 AM, Kumar Gala <galak at kernel.crashing.org> wrote:
>> Does anyone have usb ethernet working on top of git tree on a panda board?
>> 
> yes.
> 
>> If so any gotcha's or details on how you have it working.
> 
> I use following commands:
> 
> setenv usbethaddr 0:0:1:2:3:4;usb start;
> 
> After Ethernet enumerates, from u-boot I use following bootargs
> 
> setenv ipaddr xxx.xxx.xxx.xxx;setenv serverip xxx.xxx.xxx.xxx;setenv
> gatewayip xxx.xxx.xxx.xxx;setenv netmask xxx.xxx.xxx.xx;
> setenv bootfile xxxxxx;setenv bootcmd 'tftp 80300000;bootm 80300000';
> setenv bootargs console=ttyO2,115200n8 noinitrd root=/dev/nfs rw
> nfsroot=<path_to_fs>,nolock,tcp, wsize=1024,rsize=1024 ip=dhcp
> devfs=mount;
> boot;

I try and get:

Panda # setenv usbethaddr 0:0:1:2:3:4;usb start;
(Re)start USB...
USB:   Register 1313 NbrPorts 3
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
       scanning bus for ethernet devices... 1 Ethernet Device(s) found
Panda # setenv ipaddr 192.168.1.100; setenv serverip 192.168.1.1
Panda # setenv gatewayip 192.168.1.1
Panda # setenv netmask 255.255.255.0
Panda # ping 192.168.1.1
Waiting for Ethernet connection... done.
Using sms0 device
EHCI timed out on TD - token=0x8008d80
ping failed; host 192.168.1.1 is not alive
Panda # 

----

Not sure if the 'EHCI timed out...' message is normal or expected.

- k


More information about the U-Boot mailing list