* [U-Boot] usb ethernet working on panda?
@ 2012-02-28 23:17 Kumar Gala
2012-02-29 6:17 ` Govindraj
0 siblings, 1 reply; 5+ messages in thread
From: Kumar Gala @ 2012-02-28 23:17 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] usb ethernet working on panda?
2012-02-28 23:17 [U-Boot] usb ethernet working on panda? Kumar Gala
@ 2012-02-29 6:17 ` Govindraj
2012-03-01 14:38 ` Kumar Gala
2012-04-13 20:13 ` Gary Thomas
0 siblings, 2 replies; 5+ messages in thread
From: Govindraj @ 2012-02-29 6:17 UTC (permalink / raw)
To: u-boot
On Wed, Feb 29, 2012 at 4:47 AM, Kumar Gala <galak@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;
Ensure you have smsc95xx usb Ethernet adapter support in your kernel for
nfs boot.
--
Thanks,
Govindraj.R
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] usb ethernet working on panda?
2012-02-29 6:17 ` Govindraj
@ 2012-03-01 14:38 ` Kumar Gala
2012-03-02 12:41 ` Govindraj
2012-04-13 20:13 ` Gary Thomas
1 sibling, 1 reply; 5+ messages in thread
From: Kumar Gala @ 2012-03-01 14:38 UTC (permalink / raw)
To: u-boot
On Feb 29, 2012, at 12:17 AM, Govindraj wrote:
> On Wed, Feb 29, 2012 at 4:47 AM, Kumar Gala <galak@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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] usb ethernet working on panda?
2012-03-01 14:38 ` Kumar Gala
@ 2012-03-02 12:41 ` Govindraj
0 siblings, 0 replies; 5+ messages in thread
From: Govindraj @ 2012-03-02 12:41 UTC (permalink / raw)
To: u-boot
On Thu, Mar 1, 2012 at 8:08 PM, Kumar Gala <galak@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 <galak@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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] usb ethernet working on panda?
2012-02-29 6:17 ` Govindraj
2012-03-01 14:38 ` Kumar Gala
@ 2012-04-13 20:13 ` Gary Thomas
1 sibling, 0 replies; 5+ messages in thread
From: Gary Thomas @ 2012-04-13 20:13 UTC (permalink / raw)
To: u-boot
On 2012-02-28 23:17, Govindraj wrote:
> On Wed, Feb 29, 2012 at 4:47 AM, Kumar Gala<galak@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;
>
> 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
------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-04-13 20:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-28 23:17 [U-Boot] usb ethernet working on panda? Kumar Gala
2012-02-29 6:17 ` Govindraj
2012-03-01 14:38 ` Kumar Gala
2012-03-02 12:41 ` Govindraj
2012-04-13 20:13 ` Gary Thomas
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.