[U-Boot] usb ethernet working on panda?

Govindraj govindraj.ti at gmail.com
Wed Feb 29 07:17:04 CET 2012


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;

Ensure you have smsc95xx usb Ethernet adapter support in your kernel for
nfs boot.

--
Thanks,
Govindraj.R


More information about the U-Boot mailing list