<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.3806.1700" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Arial size=2>TFTP server in the host (Mandrake 9.2 ) is 
configured like this:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <P><FONT face=Arial size=2>service tftp</FONT></P>
  <P><FONT face=Arial size=2>{</FONT></P>
  <P><FONT face=Arial size=2>disable = no</FONT></P>
  <P><FONT face=Arial size=2>socket_type = dgram</FONT></P>
  <P><FONT face=Arial size=2>protocol = udp</FONT></P>
  <P><FONT face=Arial size=2>wait = yes</FONT></P>
  <P><FONT face=Arial size=2>user = root</FONT></P>
  <P><FONT face=Arial size=2>server = /usr/sbin/in.tftpd</FONT></P>
  <P><FONT face=Arial size=2>server_args = -s /tftpboot</FONT></P>
  <P><FONT face=Arial size=2>#per_source = 11</FONT></P>
  <P><FONT face=Arial size=2>#cps = 100 2</FONT></P>
  <P><FONT face=Arial size=2>#flags = IPv4</FONT></P>
  <P><FONT face=Arial size=2>}</FONT></P></BLOCKQUOTE>
<P><FONT face=Arial size=2>The environment variables are:</FONT></P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <P><FONT size=2>$ printenv</FONT></P>
  <P><FONT size=2>bootargs=root=/dev/mtdblock2 devfs=mount 
  console=ttyS0,115200</FONT></P>
  <P><FONT size=2>bootcmd=bootm 40000</FONT></P>
  <P><FONT size=2>bootdelay=3</FONT></P>
  <P><FONT size=2>baudrate=115200</FONT></P>
  <P><FONT size=2>ethaddr=00:08:33:33:00:01</FONT></P>
  <P><FONT size=2>stdin=serial</FONT></P>
  <P><FONT size=2>stdout=serial</FONT></P>
  <P><FONT size=2>stderr=serial</FONT></P>
  <P><FONT size=2>filesize=4a6</FONT></P>
  <P><FONT size=2>netmask=255.255.0.0</FONT></P>
  <P><FONT size=2>ipaddr=172.16.16.220</FONT></P>
  <P><FONT size=2>serverip=172.16.16.70</FONT></P></BLOCKQUOTE>
<P><FONT face=Arial size=2>Output&nbsp;with minicom:</FONT></P><FONT size=2>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <P>$ tftp a1000000 little</P>
  <P>TFTP from server 172.16.16.70; our IP address is 172.16.16.220</P>
  <P>Filename 'little'.</P>
  <P>Load address: 0xa1000000</P>
  <P>Loading: T T #T #</P>
  <P>done</P>
  <P>Bytes transferred = 1190 (4a6 hex)</P>
  <P>$ tftp a1000000 hello.img</P>
  <P>TFTP from server 172.16.16.70; our IP address is 172.16.16.220</P>
  <P>Filename 'hello.img'.</P>
  <P>Load address: 0xa1000000</P>
  <P>Loading: T T invalid RARP header</P>
  <P>invalid RARP header</P>
  <P>#T T #T T T #T T T</P>
  <P>Retry count exceeded; starting again</P>
  <P>TFTP from server 172.16.16.70; our IP address is 172.16.16.220</P>
  <P>Filename 'hello.img'.</P>
  <P>Load address: 0xa1000000</P>
  <P>Loading: #T T T T T T #T T T #T</P>
  <P>Retry count exceeded; starting again</FONT></P></BLOCKQUOTE>
<P>&nbsp;</P>
<P>&nbsp;</P></DIV>
<DIV><FONT face=Arial size=2>----- Original Message ----- </FONT>
<DIV><FONT face=Arial size=2>From: "Masami Komiya" &lt;</FONT><A 
href="mailto:mkomiya@sonare.it"><FONT face=Arial 
size=2>mkomiya@sonare.it</FONT></A><FONT face=Arial size=2>&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2>To: "Sonia Martinez" &lt;</FONT><A 
href="mailto:anexwarrior@hotmail.com"><FONT face=Arial 
size=2>anexwarrior@hotmail.com</FONT></A><FONT face=Arial 
size=2>&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2>Cc: &lt;</FONT><A 
href="mailto:u-boot-users@lists.sourceforge.net"><FONT face=Arial 
size=2>u-boot-users@lists.sourceforge.net</FONT></A><FONT face=Arial 
size=2>&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2>Sent: Monday, May 10, 2004 11:08 AM</FONT></DIV>
<DIV><FONT face=Arial size=2>Subject: Re: [U-Boot-Users] TFTP 
PROBLEM</FONT></DIV></DIV>
<DIV><BR></DIV><FONT face=Arial size=2>&gt; TFTP can work fine in 1.0.0, but be 
affected by network environment.<BR>&gt; What's kind of the server do you use 
for the host configuration, DHCP, BOOTP ?<BR>&gt; <BR>&gt; Could you show the 
console messages ?<BR>&gt; Also I want to know your environment 
variables.<BR>&gt; That is shown by "printenv" command.<BR>&gt; <BR>&gt; Masami 
Komiya<BR>&gt; <BR>&gt; Sonia Martinez wrote:<BR>&gt; &gt; Hi all,<BR>&gt; &gt; 
<BR>&gt; &gt; We're using u-boot 1.0.0 to boot Linux on a Lubbock based 
platform. We've<BR>&gt; &gt; been able to boot Linux from RAM, with JFFS2 and 
nfsroot too. But we've a<BR>&gt; &gt; problem with tftp.<BR>&gt; &gt; <BR>&gt; 
&gt; We know that the tftp server works because we've tested it with 
other<BR>&gt; &gt; clients. But with tftp in u-boot we're only able to transfer 
little files<BR>&gt; &gt; (1, 2 Kb)..<BR>&gt; &gt; <BR>&gt; &gt; Which can be 
the problem?? Newer versions work fine??<BR>&gt; &gt; <BR>&gt; &gt; Thanks in 
advance<BR>&gt; &gt; <BR>&gt; &gt; Regards,<BR>&gt; &gt; <BR>&gt; &gt; 
Sonia<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; 
-------------------------------------------------------<BR>&gt; &gt; This SF.Net 
email is sponsored by Sleepycat Software<BR>&gt; &gt; Learn developer strategies 
Cisco, Motorola, Ericsson &amp; Lucent use to <BR>&gt; &gt; deliver higher 
performing products faster, at low TCO.<BR>&gt; &gt; </FONT><A 
href="http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3"><FONT face=Arial 
size=2>http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3</FONT></A><BR><FONT 
face=Arial size=2>&gt; &gt; 
_______________________________________________<BR>&gt; &gt; U-Boot-Users 
mailing list<BR>&gt; &gt; </FONT><A 
href="mailto:U-Boot-Users@lists.sourceforge.net"><FONT face=Arial 
size=2>U-Boot-Users@lists.sourceforge.net</FONT></A><BR><FONT face=Arial 
size=2>&gt; &gt; </FONT><A 
href="https://lists.sourceforge.net/lists/listinfo/u-boot-users"><FONT 
face=Arial 
size=2>https://lists.sourceforge.net/lists/listinfo/u-boot-users</FONT></A><BR><FONT 
face=Arial size=2>&gt; &gt; <BR>&gt; &gt; <BR>&gt; <BR>&gt; <BR>&gt; 
</FONT></BODY></HTML>