[U-Boot] U-boot networking not working

Mark Underwood underplank at gmail.com
Thu Dec 2 08:09:08 CET 2010


Hi,

I've got an sbc6000x from www.armkits.com. I've been working through how
to put debian onto this board and was making some progress (im just a
beginner), but now I
dont have network access when at the U-boot prompt. The Board is
connected to the network as the link light is on on the interface. As
soon as I try to ping the board itself ie ping 192.192.192.200 (the
default ip address) the link light goes out. this is from the command
line

U-Boot> ping 192.192.192.200
dm9000 i/o: 0x30000000, id: 0x90000a46 
DM9000: running in 16 bit mode
MAC: de:ad:be:ef:01:01
operating at 100M full duplex mode
ping failed; host 192.192.192.200 is not alive


now if I go ahead and boot the board i can ping once im in the linux
root file system
that is currently on the board (I've changed the IP address on bootup in
the linux image.)

~ $ ping 192.168.0.21
PING 192.168.0.21 (192.168.0.21): 56 data bytes
64 bytes from 192.168.0.21: icmp_seq=0 ttl=64 time=0.5 ms
64 bytes from 192.168.0.21: icmp_seq=1 ttl=64 time=0.3 ms
64 bytes from 192.168.0.21: icmp_seq=2 ttl=64 time=0.3 ms


is there a setting in u-boot that could mean that the network is turned
off?

following are the environment variables of u-boot

U-Boot> printenv
bootcmd=nand read 0x22000000 0x1A0000 0x200000; bootm 0x22000000
bootdelay=3
baudrate=115200
ethaddr=DE:AD:BE:EF:01:01
ipaddr=192.192.192.200
serverip=192.192.192.105
gatewayip=192.192.192.101
netmask=255.255.255.0
splashimage=0x21000000
bootlogo=0 
lcdtype=480x272
bootargs=console=ttyS0,115200 tft=480x272 root=/dev/mtdblock6
mtdparts=at91_nand:128k(bootstrap)ro,256k(uboot)ro,128k(env1)ro,128k(env2)ro,1M(logo)ro,2M(linux),-(root) rw rootfstype=yaffs2

Environment size: 455/131067 bytes

im using u-boot 1.3.4.



Any help with this would be great!

Regards

Mark



More information about the U-Boot mailing list