public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] uboot can't download files through tftp
@ 2006-05-19 23:45 cpjzjut
  2006-05-22 12:25 ` Jerry Van Baren
  2006-05-23  6:49 ` Tolunay Orkun
  0 siblings, 2 replies; 6+ messages in thread
From: cpjzjut @ 2006-05-19 23:45 UTC (permalink / raw)
  To: u-boot

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 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] uboot can't download files through tftp
  2006-05-19 23:45 [U-Boot-Users] uboot can't download files through tftp cpjzjut
@ 2006-05-22 12:25 ` Jerry Van Baren
  2006-05-25 15:04   ` Hurricane555
  2006-05-23  6:49 ` Tolunay Orkun
  1 sibling, 1 reply; 6+ messages in thread
From: Jerry Van Baren @ 2006-05-22 12:25 UTC (permalink / raw)
  To: u-boot

cpjzjut wrote:
> 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.
>     
>         
>      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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] uboot can't download files through tftp
  2006-05-19 23:45 [U-Boot-Users] uboot can't download files through tftp cpjzjut
  2006-05-22 12:25 ` Jerry Van Baren
@ 2006-05-23  6:49 ` Tolunay Orkun
  2006-05-23  8:43   ` Wolfgang Denk
  1 sibling, 1 reply; 6+ messages in thread
From: Tolunay Orkun @ 2006-05-23  6:49 UTC (permalink / raw)
  To: u-boot

cpjzjut wrote:
> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] uboot can't download files through tftp
  2006-05-23  6:49 ` Tolunay Orkun
@ 2006-05-23  8:43   ` Wolfgang Denk
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2006-05-23  8:43 UTC (permalink / raw)
  To: u-boot

In message <4472B07D.9050700@orkun.us> 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.

> 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

-- 
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] uboot can't download files through tftp
  2006-05-22 12:25 ` Jerry Van Baren
@ 2006-05-25 15:04   ` Hurricane555
  2006-05-25 17:38     ` [U-Boot-Users] " mONStR
  0 siblings, 1 reply; 6+ messages in thread
From: Hurricane555 @ 2006-05-25 15:04 UTC (permalink / raw)
  To: u-boot

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] Re: [U-Boot-Users] uboot can't download files through tftp
  2006-05-25 15:04   ` Hurricane555
@ 2006-05-25 17:38     ` mONStR
  0 siblings, 0 replies; 6+ messages in thread
From: mONStR @ 2006-05-25 17:38 UTC (permalink / raw)
  To: u-boot

Problem is in source code net\tftp.c. 

MAC address is set to zero. 
Set MAC address to broadcast. (all 0xf)

Old
memset(NetServerEther, 0, 6); - zero MAC

New
memset(NetServerEther, 0xff, 6); broadcast MAC

Michal Simek
Czech Technical University

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-05-25 17:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-19 23:45 [U-Boot-Users] uboot can't download files through tftp cpjzjut
2006-05-22 12:25 ` Jerry Van Baren
2006-05-25 15:04   ` Hurricane555
2006-05-25 17:38     ` [U-Boot-Users] " mONStR
2006-05-23  6:49 ` Tolunay Orkun
2006-05-23  8:43   ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox