
Raghu wrote:
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
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@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