ARP Retries
Dear All,
I am observig this on u-boot 0.3.0 I have a the following setup
MPC8245 based board with Intel 82559ER ethernet controller.
I am using the "tftpload" command to load a file from the tftpserver. But if I type a wrong filename its reports a TFTP_ERROR as "File not Found".
And for the very next "tftpload" command with a correct file name it make ARP broadcast and loads the file only after the 5 th retry.
I am attaching the sequence of comands I am running. Is this a feature or a bug :-) ??
****************************************************
=> version
U-Boot 0.3.0 (May 30 2003 - 11:29:53)
=> printenv
baudrate=38400
clocks_in_mhz=1
hostname=F-30
con_conf=console=ttyS0,38400
bootcmd=bootm 0xffc00000
bootdelay=5
bootargs=root=/dev/ram rw
stdin=serial
stdout=serial
stderr=serial
filesize=100ace
gatewayip=10.208.1.1
ipaddr=10.208.1.247
serverip=10.208.1.139
netmask=255.255.255.0
Environment size: 279/4092 bytes
=> tftpload 1000000 uImageTest
ARP broadcast 1
TFTP from server 10.208.1.139; our IP address is 10.208.1.247
Filename 'uImageTest'.
Load address: 0x1000000
Loading:
#######################################################done Bytes transferred = 1051342 (100ace hex)
=> tftpload 2000000 abc
ARP broadcast 1
TFTP from server 10.208.1.139; our IP address is 10.208.1.247
Filename 'abc'.
Load address: 0x2000000
Loading: *
TFTP error: 'File not found' (1)
Starting again
ARP broadcast 1
Abort
=> tftpload 2000000 ramdisk_test
ARP broadcast 1
ARP broadcast 2
ARP broadcast 3
ARP broadcast 4
ARP broadcast 5
Retry count exceeded; starting again
ARP broadcast 1
TFTP from server 10.208.1.139; our IP address is 10.208.1.247
Filename 'ramdisk_test'.
Load address: 0x2000000
Loading:
###########################################################################################
done
Bytes transferred = 4509481 (44cf29 hex)
=>
*****************************************************
Warm reagrds,
Raghu
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
Quoted 96 lines · Raghu
Dear All,
I am observig this on u-boot 0.3.0 I have a the
following setupMPC8245 based board with Intel 82559ER ethernet
controller.I am using the "tftpload" command to load a file from the tftpserver. But if I type a wrong filename its reports a
TFTP_ERRORas "File not Found".And for the very next "tftpload" command with a correct file name it make ARP broadcast and loads the file only after the 5 th retry.
I am attaching the sequence of comands I am running. Is this a feature or a bug :-) ??
****************************************************
=> versionU-Boot 0.3.0 (May 30 2003 - 11:29:53)
=> printenv
baudrate=38400
clocks_in_mhz=1
hostname=F-30
con_conf=console=ttyS0,38400
bootcmd=bootm0xffc00000
bootdelay=5
bootargs=root=/dev/ram rw
stdin=serial
stdout=serial
stderr=serial
filesize=100ace
gatewayip=10.208.1.1
ipaddr=10.208.1.247
serverip=10.208.1.139
netmask=255.255.255.0Environment size: 279/4092 bytes
=> tftpload 1000000 uImageTest
ARP broadcast 1
TFTP from server 10.208.1.139; our IP address is 10.208.1.247
Filename 'uImageTest'.
Load address:0x1000000
Loading:
#######################################################done Bytes transferred = 1051342 (100ace hex)=> tftpload 2000000 abc
ARP broadcast 1
TFTP from server 10.208.1.139; our IP address is
10.208.1.247
Filename 'abc'.
Load address:0x2000000
Loading: *
TFTP error: 'File not found' (1)
Starting againARP broadcast 1
Abort
=> tftpload 2000000ramdisk_test
ARP broadcast 1
ARP broadcast 2
ARP broadcast 3
ARP broadcast 4
ARP broadcast 5Retry count exceeded; starting again
ARP broadcast 1
TFTP from server 10.208.1.139; our IP address is
10.208.1.247
Filename 'ramdisk_test'.
Load address:0x2000000
Loading:
###########################################################################################
done
Bytes transferred = 4509481 (44cf29 hex)
=>
*****************************************************Warm reagrds,
Raghu__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
Quoted 11 lines
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users
Are you on a switch or a hub?
If you are on a switch it is possible for the switch to take some time to "learn" your MAC address if you have spanning tree activated.
If you have access to the switch disable the spanning tree algorithm.
Regards
Pantelis
Quoted 7 lines · In message <[email protected]> you wrote:
I am observig this on u-boot 0.3.0 I have a the following setup
MPC8245 based board with Intel 82559ER ethernet controller.
Quoted 7 lines
I am using the "tftpload" command to load a file from the tftpserver. But if I type a wrong filename its reports a
TFTP_ERRORas "File not Found".And for the very next "tftpload" command with a correct file name it make ARP broadcast and loads the file only after the 5 th retry.
Do you have CONFIG_NET_MULTI defined in your board config file? If yes, disable it, and try again.
Best regards,
Wolfgang Denk
Signature · 6 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de There comes to all races an ultimate crisis which you have yet to face .... One day our minds became so powerful we dared think of ourselves as gods. -- Sargon, "Return to Tomorrow", stardate 4768.3
Quoted 3 lines
Do you have
CONFIG_NET_MULTIdefined in your board config file?
If yes, disable it, and try again.
HI,
Yes, I had the CONFIG_NET_MULTI define.
Now I have modified to,
#undef CONFIG_NET_MULTI
#define CONFIG_EEPRO100 1
#define CONFIG_COMMANDS ( CONFIG_CMD_DFL | \
CFG_CMD_FLASH | \
CFG_CMD_SDRAM | \
CFG_CMD_ENV | \
CFG_CMD_PCI | \ CFG_CMD_NET )
But undefining this breaking the build.
I get the following unresolved errors.
/home/raghu/u-boot-0.3.0/net/net.c:149: undefined
reference to `eth_halt'/home/raghu/u-boot-0.3.0/net/net.c:150: undefined
reference to `eth_init'/home/raghu/u-boot-0.3.0/net/net.c:252: undefined
reference to `eth_rx'/home/raghu/u-boot-0.3.0/net/net.c:294: undefined
reference to `eth_halt'/home/raghu/u-boot-0.3.0/net/net.c:258: undefined
reference to `eth_halt'
net/libnet.a(net.o): In function `NetSendPacket':/home/raghu/u-boot-0.3.0/net/net.c:376: undefined
reference to `eth_send'
These functions in net/etc.c file are defined under the macro,
#if (CONFIG_COMMANDS & CFG_CMD_NET) && defined(CONFIG_NET_MULTI)
Warm regards,
Raghu.
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com