Re: [U-Boot] usb ethernet working on panda?
On 2012-02-28 23:17, Govindraj wrote: On Wed, Feb 29, 2012 at 4:47 AM, Kumar Gala 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 xx;setenv bootcmd 'tftp 8030;bootm 8030'; setenv bootargs console=ttyO2,115200n8 noinitrd root=/dev/nfs rw nfsroot=,nolock,tcp, wsize=1024,rsize=1024 ip=dhcp devfs=mount; boot; Ensure you have smsc95xx usb Ethernet adapter support in your kernel for nfs boot. Is this against the main U-Boot git tree (git://git.denx.de/u-boot.git)? If not, what tree/branch? Thanks -- Gary Thomas | Consulting for the MLB Associates |Embedded world ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] usb ethernet working on panda?
On Thu, Mar 1, 2012 at 8:08 PM, Kumar Gala wrote: > > On Feb 29, 2012, at 12:17 AM, Govindraj wrote: > >> On Wed, Feb 29, 2012 at 4:47 AM, Kumar Gala >> 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 xx;setenv bootcmd 'tftp 8030;bootm 8030'; >> setenv bootargs console=ttyO2,115200n8 noinitrd root=/dev/nfs rw >> nfsroot=,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 8030 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: 0x8030 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
Re: [U-Boot] usb ethernet working on panda?
On Feb 29, 2012, at 12:17 AM, Govindraj wrote: > On Wed, Feb 29, 2012 at 4:47 AM, Kumar Gala 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 xx;setenv bootcmd 'tftp 8030;bootm 8030'; > setenv bootargs console=ttyO2,115200n8 noinitrd root=/dev/nfs rw > nfsroot=,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 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] usb ethernet working on panda?
On Wed, Feb 29, 2012 at 4:47 AM, Kumar Gala 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 xx;setenv bootcmd 'tftp 8030;bootm 8030'; setenv bootargs console=ttyO2,115200n8 noinitrd root=/dev/nfs rw nfsroot=,nolock,tcp, wsize=1024,rsize=1024 ip=dhcp devfs=mount; boot; Ensure you have smsc95xx usb Ethernet adapter support in your kernel for nfs boot. -- Thanks, Govindraj.R ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] usb ethernet working on panda?
Does anyone have usb ethernet working on top of git tree on a panda board? If so any gotcha's or details on how you have it working. thanks - k ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot