public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Mark Underwood <underplank@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-boot networking not working
Date: Thu, 02 Dec 2010 15:09:08 +0800	[thread overview]
Message-ID: <1291273748.31320.3.camel@bertha> (raw)

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

             reply	other threads:[~2010-12-02  7:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-02  7:09 Mark Underwood [this message]
2010-12-02  7:37 ` [U-Boot] U-boot networking not working Wolfgang Denk
2010-12-02  9:48   ` Mark Underwood
2010-12-02 10:19     ` Albert ARIBAUD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1291273748.31320.3.camel@bertha \
    --to=underplank@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox