Ethernet problem with u-boot 1.3.2 on M5272C3 board
Hi, I built u-boot 1.3.2 for my new M5272C3. Everything looks fine. I can program the u-boot image into M5272C3, and then boot into u-boot, but I cannot see the Ethernet interface working. I set the environment variables of U-Boot as below,
-> setenv ipaddr 192.168.1.22
-> setenv serverip 192.168.1.20
-> setenv gatewayip 192.168.1.1
But I got the messages below for the ping command,
-> ping 192.168.1.1
Using FEC0 device
TX timeout
fec_recv[216] err: 882
TX timeout
ping failed; host 192.168.1.1 is not alive
Even I ping 192.168.1.22, I got the same error messages. Do you have any idea why FEC0 doesn't work? There is no any problem when I use the network commands with dBUG monitor.
Thank you!
Humphrey
Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com
Quoted 9 lines · In message <[email protected]> you wrote:
Hi, I built u-boot 1.3.2 for my new M5272C3. Everything looks fine. I can program the u-boot image into M5272C3, and then boot into u-boot, but I cannot see the Ethernet interface working. I set the environment variables of U-Boot as below,
-> setenv ipaddr 192.168.1.22
-> setenv serverip 192.168.1.20
-> setenv gatewayip 192.168.1.1
And what's your MAC address ("ethaddr" variable) ?
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de There's no honorable way to kill, no gentle way to destroy. There is nothing good in war. Except its ending. -- Abraham Lincoln, "The Savage Curtain", stardate 5906.5
Quoted 7 lines
And what's your MAC address ("ethaddr" variable) ?
Best regards,
Wolfgang Denk
It's the default value "00:e0:0c:bc:e5:60". I also tried "setenv ethaddr 00:cf:52:72:c3:01", and got the same result.
FYI,
-> printenv
bootdelay=5
baudrate=19200
netmask=255.255.255.0
hostname=M5272C3
netdev=eth0
loadaddr=10000
u-boot=u-boot.bin
load=tftp ${loadaddr) ${u-boot}
upd=run load; run prog
prog=prot off ffe00000 ffe3ffff;era ffe00000 ffe3ffff;cp.b ${loadaddr} ffe00000e stdin=serial
stdout=serial
stderr=serial
ethact=FEC0
ipaddr=192.168.1.22
serverip=192.168.1.20
gatewayip=192.168.1.1
ethaddr=00:cf:52:72:c3:01
Environment size: 406/8188 bytes
Thank you,
Humphrey