uboot can't download files through tftp
Hi,
When i was downloading a file through tftp,there was a problem.It likes these:
" TFTP from server 10.0.0.155; our IP address is 10.0.0.110<BR> Filename '0A00006E.img'.<BR> Load address: 0x30000000<BR> Loading: T T T"
The board can ping the pc.
I don't know why?
Best regards,
Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20060520/7a2a4b2d/attachment.htm
Quoted 8 lines · cpjzjut
Hi,
When i was downloading a file through tftp,there was a problem.It
likes these:
" TFTP from server 10.0.0.155; our IP address is 10.0.0.110
Filename '0A00006E.img'.
Load address:0x30000000
Loading: T T T"
Quoted 6 lines
The board can ping the pc.
I don't know why?
Best regards,
Ben
1) Run ethereal and sniff the ethernet, see what the TFTP packets are being transmitted. Quite likely you will find you don't have a TFTP server on 10.0.0.155.
2) Run TFTP on a different machine and see if you can get the file. This will show if the TFTP server is operational.
gvb
Check if a firewall is runing on your Server!
try this manually:
tftpboot <address> <filename>
- address: somewhere on your RAM
--
View this message in context: http://www.nabble.com/uboot+can%27t+download+files+through+tftp-t1653075.html#a4557406
Sent from the Uboot - Users forum at Nabble.com.
Problem is in source code net\tftp.c.
MAC address is set to zero.
Set MAC address to broadcast. (all 0xf)
Oldmemset(NetServerEther, 0, 6); - zero MAC
Newmemset(NetServerEther, 0xff, 6); broadcast MAC
Michal Simek
Czech Technical University
Quoted 10 lines · cpjzjut
Hi,
When i was downloading a file through tftp,there was a problem.It
likes these:" TFTP from server 10.0.0.155; our IP address is 10.0.0.110 Filename '0A00006E.img'. Load address: 0x30000000 Loading: T T T" The board can ping the pc.
You are trying to download the file 0A00006E.img from the server. Is this file present on the server?
This file name is made from your MAC address apparently. I think you forgot to specify file name in your tftp command line unless you really want to download the made up filename according to your MAC address.
Please provide the command you have typed if you are looking for more specific help next time.
Best regards,
Tolunay
Quoted 5 lines · In message <[email protected]> you wrote:
You are trying to download the file 0A00006E.img from the server. Is this file present on the server?
This file name is made from your MAC address apparently. I think you
No, not from the MAC address, but from the IP address.
Quoted 2 lines
forgot to specify file name in your tftp command line unless you really want to download the made up filename according to your MAC address.
s/MAC/IP/
Best regards,
Wolfgang Denk
Signature · 3 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de I often quote myself; it adds spice to my conversation. - G. B. Shaw