<!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> </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 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> </P>
<P> </P></DIV>
<DIV><FONT face=Arial size=2>----- Original Message ----- </FONT>
<DIV><FONT face=Arial size=2>From: "Masami Komiya" <</FONT><A
href="mailto:mkomiya@sonare.it"><FONT face=Arial
size=2>mkomiya@sonare.it</FONT></A><FONT face=Arial size=2>></FONT></DIV>
<DIV><FONT face=Arial size=2>To: "Sonia Martinez" <</FONT><A
href="mailto:anexwarrior@hotmail.com"><FONT face=Arial
size=2>anexwarrior@hotmail.com</FONT></A><FONT face=Arial
size=2>></FONT></DIV>
<DIV><FONT face=Arial size=2>Cc: <</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>></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>> TFTP can work fine in 1.0.0, but be
affected by network environment.<BR>> What's kind of the server do you use
for the host configuration, DHCP, BOOTP ?<BR>> <BR>> Could you show the
console messages ?<BR>> Also I want to know your environment
variables.<BR>> That is shown by "printenv" command.<BR>> <BR>> Masami
Komiya<BR>> <BR>> Sonia Martinez wrote:<BR>> > Hi all,<BR>> >
<BR>> > We're using u-boot 1.0.0 to boot Linux on a Lubbock based
platform. We've<BR>> > been able to boot Linux from RAM, with JFFS2 and
nfsroot too. But we've a<BR>> > problem with tftp.<BR>> > <BR>>
> We know that the tftp server works because we've tested it with
other<BR>> > clients. But with tftp in u-boot we're only able to transfer
little files<BR>> > (1, 2 Kb)..<BR>> > <BR>> > Which can be
the problem?? Newer versions work fine??<BR>> > <BR>> > Thanks in
advance<BR>> > <BR>> > Regards,<BR>> > <BR>> >
Sonia<BR>> > <BR>> > <BR>> > <BR>> >
-------------------------------------------------------<BR>> > This SF.Net
email is sponsored by Sleepycat Software<BR>> > Learn developer strategies
Cisco, Motorola, Ericsson & Lucent use to <BR>> > deliver higher
performing products faster, at low TCO.<BR>> > </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>> >
_______________________________________________<BR>> > U-Boot-Users
mailing list<BR>> > </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>> > </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>> > <BR>> > <BR>> <BR>> <BR>>
</FONT></BODY></HTML>