On Thu, Mar 1, 2012 at 8:08 PM, Kumar Gala <ga...@kernel.crashing.org> wrote: > > On Feb 29, 2012, at 12:17 AM, Govindraj wrote: > >> On Wed, Feb 29, 2012 at 4:47 AM, Kumar Gala <ga...@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 # >
Pinging gateway-ip is yielding random behavior. pinging server-ip is consistent. [...] U-Boot SPL 2011.12-00374-g54e9668 (Mar 02 2012 - 17:56:18) OMAP4460 ES1.1 OMAP SD/MMC: 0 reading u-boot.img reading u-boot.img U-Boot 2011.12-00374-g54e9668 (Mar 02 2012 - 17:56:18) CPU : OMAP4460 ES1.1 Board: OMAP4 Panda I2C: ready DRAM: 1 GiB MMC: OMAP SD/MMC: 0 Using default environment In: serial Out: serial Err: serial Net: No ethernet found. Hit any key to stop autoboot: 0 Panda # setenv ipaddr 172.24.190.201;setenv serverip 172.24.190.221;setenv gatewayip 172.24.191.1;setenv netmask 255.255.252.0; 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 # ping 172.24.191.1 Waiting for Ethernet connection... done. Using sms0 device ping failed; host 172.24.191.1 is not alive Panda # ping 172.24.190.221 Waiting for Ethernet connection... done. Using sms0 device host 172.24.190.221 is alive Panda # ping 172.24.190.221 Waiting for Ethernet connection... done. Using sms0 device host 172.24.190.221 is alive Panda # ping 172.24.191.1 Waiting for Ethernet connection... done. Using sms0 device host 172.24.191.1 is alive Panda # Panda # tftp 80300000 govindraj/uImage Waiting for Ethernet connection... done. Using sms0 device TFTP from server 172.24.190.221; our IP address is 172.24.190.201 Filename 'govindraj/uImage'. Load address: 0x80300000 Loading: T ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ############################################################## done Bytes transferred = 8533080 (823458 hex) Panda # [...] > ---- > > Not sure if the 'EHCI timed out...' message is normal or expected. strangely I don't get that error -- Thanks, Govindraj.R _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot