public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] problem with net?
@ 2006-06-07  1:39 yadog
  2006-06-07 18:20 ` mONStR
  2006-06-07 21:47 ` Tolunay Orkun
  0 siblings, 2 replies; 4+ messages in thread
From: yadog @ 2006-06-07  1:39 UTC (permalink / raw)
  To: u-boot

  My board use RTL8019,when i use tftp ,there are some problems.
  when start tftp?my hyperterminal always display "Loading: T T T T T T T T T T T T T T T T T T T T"
the whole information as follows?
 
U-Boot 1.1.4_XT (Jun  6 2006 - 17:36:18)
U-Boot code: 0C300000 -> 0C31AD70  BSS: -> 0C31EF98
RAM Configuration:
Bank #0: 0c000000  8 MB
Bank #1: 0c800000  8 MB
Flash:  2 MB
*** Warning - bad CRC, using default environment
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
XT=>  help tftp
tftpboot [loadAddress] [bootfilename]
XT=>  tftpboot 0x0c700000 image.bin
TFTP from server 192.168.0.23; our IP address is 192.168.0.70
Filename 'image.bin'.
Load address: 0xc700000
Loading: T T T T T T T T T T T T T T T T T T T T
Retry count exceeded; starting again
TFTP from server 192.168.0.23; our IP address is 192.168.0.70
 
would someone give me some suggestions?
 
thank u !
 
xt
 
 
060607
 
 
 







? ? ? ? abc at 188.com ? ? ? ? 
? ? ? 16G ? ? ? ??? 6G ? ? ? ???? ? ? ? ? ? ? ? ? ? ? ? ? ? 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20060607/a7bb1f6c/attachment.htm 

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

* [U-Boot-Users] problem with net?
  2006-06-07  1:39 [U-Boot-Users] problem with net? yadog
@ 2006-06-07 18:20 ` mONStR
  2006-06-07 19:50   ` Wolfgang Denk
  2006-06-07 21:47 ` Tolunay Orkun
  1 sibling, 1 reply; 4+ messages in thread
From: mONStR @ 2006-06-07 18:20 UTC (permalink / raw)
  To: u-boot

Problem is still same. You must change one parameter in  /net/tftp.c 
Broadcast is defined with MAC address ff:ff:ff:ff:ff:ff, but now is defined as 00:00:00:00:00:00.
Change one line (at the end of file).
old:	memset(NetServerEther, 0x0, 6); 
new:	memset(NetServerEther, 0xff, 6); 

And send me echo.

Michal Simek
Czech Technical University


>    My board use RTL8019,when i use tftp ,there are some problems.
>    when start tftp?my hyperterminal always display "Loading: T T T T T T T T T T
>  T T T T T T T T T T"
>  the whole information as follows?
>   
>  U-Boot 1.1.4_XT (Jun  6 2006 - 17:36:18)
>  U-Boot code: 0C300000 -> 0C31AD70  BSS: -> 0C31EF98
>  RAM Configuration:
>  Bank #0: 0c000000  8 MB
>  Bank #1: 0c800000  8 MB
>  Flash:  2 MB
>  *** Warning - bad CRC, using default environment
>  In:    serial
>  Out:   serial
>  Err:   serial
>  Hit any key to stop autoboot:  0
>  XT=>  help tftp
>  tftpboot [loadAddress] [bootfilename]
>  XT=>  tftpboot 0x0c700000 image.bin
>  TFTP from server 192.168.0.23; our IP address is 192.168.0.70
>  Filename 'image.bin'.
>  Load address: 0xc700000
>  Loading: T T T T T T T T T T T T T T T T T T T T
>  Retry count exceeded; starting again
>  TFTP from server 192.168.0.23; our IP address is 192.168.0.70
>   
>  would someone give me some suggestions?
>   
>  thank u !
>   
>  xt
>   
>   
>  060607
>   
>   
>   
>  
>  
>  
>  
>  
>  
>  
>  ? ? ? ? abc at 188.com ? ? ? ? 
>  ? ? ? 16G ? ? ? ??? 6G ? ? ? ???? ? ? ? ? ? ? ? ? ? ? ? ? ? 
>  
>  

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

* [U-Boot-Users] problem with net?
  2006-06-07 18:20 ` mONStR
@ 2006-06-07 19:50   ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2006-06-07 19:50 UTC (permalink / raw)
  To: u-boot

Michel,

in message <1485.131-1515-35152903-1149704429@seznam.cz> you wrote:
> UHJvYmxlbSBpcyBzdGlsbCBzYW1lLiBZb3UgbXVzdCBjaGFuZ2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DpgZMgCj4gIAo+ICAKCgpfX19fX19f
> X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpVLUJvb3QtVXNlcnMgbWFp
> bGluZyBsaXN0ClUtQm9vdC1Vc2Vyc0BsaXN0cy5zb3VyY2Vmb3JnZS5uZXQKaHR0cHM6Ly9saXN0
> cy5zb3VyY2Vmb3JnZS5uZXQvbGlzdHMvbGlzdGluZm8vdS1ib290LXVzZXJzCg==

You really should fix your mailer.

> Problem is still same. You must change one parameter in /net/tftp.c
> Broadcast is defined with MAC address ff:ff:ff:ff:ff:ff, but now is
> defined as 00:00:00:00:00:00.

You claimed this before. Can you  pelase  point  out  which  official
standard  says  that  00:00:00:00:00:00  should  be used as broadcast
ethernet address? All information  available  to  me  says  that  the
boradcast MAC address is all bit ones; see for example
http://en.wikipedia.org/wiki/MAC_address :

        The broadcast address, all one bits, is received by all
        stations on a local area network. In hexadecimal this would
        be "FF:FF:FF:FF:FF:FF".


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
"Love is an ideal thing, marriage a real thing; a  confusion  of  the
real with the ideal never goes unpunished."                  - Goethe

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

* [U-Boot-Users] problem with net?
  2006-06-07  1:39 [U-Boot-Users] problem with net? yadog
  2006-06-07 18:20 ` mONStR
@ 2006-06-07 21:47 ` Tolunay Orkun
  1 sibling, 0 replies; 4+ messages in thread
From: Tolunay Orkun @ 2006-06-07 21:47 UTC (permalink / raw)
  To: u-boot

yadog wrote:
>   My board use RTL8019,when i use tftp ,there are some problems.
>   when start tftp?my hyperterminal always display "Loading: T T T T T T 
> T T T T T T T T T T T T T T"
> the whole information as follows?
>  
> U-Boot 1.1.4_XT (Jun  6 2006 - 17:36:18)
> U-Boot code: 0C300000 -> 0C31AD70  BSS: -> 0C31EF98
> RAM Configuration:
> Bank #0: 0c000000  8 MB
> Bank #1: 0c800000  8 MB
> Flash:  2 MB
> *** Warning - bad CRC, using default environment

You are using default environment. I doubt you have a default MAC
address in default environment. You must setup your board specific MAC
address in environment for network to work on most boards.

> In:    serial
> Out:   serial
> Err:   serial
> Hit any key to stop autoboot:  0
> XT=>  help tftp
> tftpboot [loadAddress] [bootfilename]
> XT=>  tftpboot 0x0c700000 image.bin
> TFTP from server 192.168.0.23; our IP address is 192.168.0.70
> Filename 'image.bin'.
> Load address: 0xc700000
> Loading: T T T T T T T T T T T T T T T T T T T T
> Retry count exceeded; starting again
> TFTP from server 192.168.0.23; our IP address is 192.168.0.70
>  
> would someone give me some suggestions?

Check your MAC address. You might want to sniff some network traffic to
see if your board is using correct MAC address as well.

Best regards,
Tolunay

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

end of thread, other threads:[~2006-06-07 21:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-07  1:39 [U-Boot-Users] problem with net? yadog
2006-06-07 18:20 ` mONStR
2006-06-07 19:50   ` Wolfgang Denk
2006-06-07 21:47 ` Tolunay Orkun

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