<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [U-Boot-Users] tftp server for Windows</TITLE>
</HEAD>
<BODY>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Rune,</FONT>
</P>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">I have been using TFTPD32 without any problems in</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">a Windows 2000 environment:</FONT>
</P>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><A HREF="http://tftpd32.jounin.net" TARGET="_blank">http://tftpd32.jounin.net</A></FONT>
</P>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Regards,</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">--Scott</FONT>
</P>
<BR>

<P><FONT SIZE=1 FACE="Arial">-----Original Message-----</FONT>
<BR><B><FONT SIZE=1 FACE="Arial">From:&nbsp;&nbsp;</FONT></B> <FONT SIZE=1 FACE="Arial">Rune Raknerud [SMTP:rune.raknerud@cargoscan.com]</FONT>
<BR><B><FONT SIZE=1 FACE="Arial">Sent:&nbsp;&nbsp;</FONT></B> <FONT SIZE=1 FACE="Arial">Monday, July 21, 2003 4:44 AM</FONT>
<BR><B><FONT SIZE=1 FACE="Arial">To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=1 FACE="Arial">U-Boot (E-mail)</FONT>
<BR><B><FONT SIZE=1 FACE="Arial">Cc:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=1 FACE="Arial">Wolgang Denk (E-mail)</FONT>
<BR><B><FONT SIZE=1 FACE="Arial">Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=1 FACE="Arial">[U-Boot-Users] tftp server for Windows</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Hi</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I need to setup a tftp server on a Windows machine, and I tried to use</FONT>
<BR><FONT SIZE=2 FACE="Arial">tftpsrv that is provided by Abatron. This works fine with my BDI2000,</FONT>
<BR><FONT SIZE=2 FACE="Arial">but not with my custom MPC8245 board running u-boot. Both the BDI2000</FONT>
<BR><FONT SIZE=2 FACE="Arial">and the MPC8245 board work fine when connected to a tftp server on a</FONT>
<BR><FONT SIZE=2 FACE="Arial">RedHat 7.3 machine.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I use the following command for starting tftpsrv: tftpsrv w p</FONT>
<BR><FONT SIZE=2 FACE="Arial">dc:\tftpboot\</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">The following is a screen capture of the console output from the MPC8245</FONT>
<BR><FONT SIZE=2 FACE="Arial">board. 172.23.151.225 is a PC running&nbsp; RedHat 7.3 and 172.23.151.232 is</FONT>
<BR><FONT SIZE=2 FACE="Arial">a PC running Windows 2000 Prof and tftpserv from Abatron. I have enabled</FONT>
<BR><FONT SIZE=2 FACE="Arial">debug output from u-boot.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">=&gt;setenv serverip 172.23.151.225</FONT>
<BR><FONT SIZE=2 FACE="Arial">=&gt;tftp 100000 8245.cfg </FONT>
<BR><FONT SIZE=2 FACE="Arial">ARP broadcast 1</FONT>
<BR><FONT SIZE=2 FACE="Arial">Receive from protocol 0x806</FONT>
<BR><FONT SIZE=2 FACE="Arial">Got ARP</FONT>
<BR><FONT SIZE=2 FACE="Arial">Got ARP REPLY, set server/gtwy eth addr</FONT>
<BR><FONT SIZE=2 FACE="Arial">Got good ARP - start TFTP</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Server ethernet address 00:01:02:99:91:26</FONT>
<BR><FONT SIZE=2 FACE="Arial">TFTP from server 172.23.151.225; our IP address is 172.23.151.236</FONT>
<BR><FONT SIZE=2 FACE="Arial">Filename '8245.cfg'.</FONT>
<BR><FONT SIZE=2 FACE="Arial">Load address: 0x100000</FONT>
<BR><FONT SIZE=2 FACE="Arial">Loading: *Receive from protocol 0x800</FONT>
<BR><FONT SIZE=2 FACE="Arial">Got IP</FONT>
<BR><FONT SIZE=2 FACE="Arial">len=544, v=45</FONT>
<BR><FONT SIZE=2 FACE="Arial">#Receive from protocol 0x800</FONT>
<BR><FONT SIZE=2 FACE="Arial">Got IP</FONT>
<BR><FONT SIZE=2 FACE="Arial">len=544, v=45</FONT>
<BR><FONT SIZE=2 FACE="Arial">Receive from protocol 0x800</FONT>
<BR><FONT SIZE=2 FACE="Arial">Got IP</FONT>
<BR><FONT SIZE=2 FACE="Arial">len=544, v=45</FONT>
<BR><FONT SIZE=2 FACE="Arial">Receive from protocol 0x800</FONT>
<BR><FONT SIZE=2 FACE="Arial">Got IP</FONT>
<BR><FONT SIZE=2 FACE="Arial">len=544, v=45</FONT>
<BR><FONT SIZE=2 FACE="Arial">Receive from protocol 0x800</FONT>
<BR><FONT SIZE=2 FACE="Arial">Got IP</FONT>
<BR><FONT SIZE=2 FACE="Arial">len=544, v=45</FONT>
<BR><FONT SIZE=2 FACE="Arial">Receive from protocol 0x800</FONT>
<BR><FONT SIZE=2 FACE="Arial">Got IP</FONT>
<BR><FONT SIZE=2 FACE="Arial">len=544, v=45</FONT>
<BR><FONT SIZE=2 FACE="Arial">Receive from protocol 0x800</FONT>
<BR><FONT SIZE=2 FACE="Arial">Got IP</FONT>
<BR><FONT SIZE=2 FACE="Arial">len=544, v=45</FONT>
<BR><FONT SIZE=2 FACE="Arial">Receive from protocol 0x800</FONT>
<BR><FONT SIZE=2 FACE="Arial">Got IP</FONT>
<BR><FONT SIZE=2 FACE="Arial">len=544, v=45</FONT>
<BR><FONT SIZE=2 FACE="Arial">Receive from protocol 0x800</FONT>
<BR><FONT SIZE=2 FACE="Arial">Got IP</FONT>
<BR><FONT SIZE=2 FACE="Arial">len=544, v=45</FONT>
<BR><FONT SIZE=2 FACE="Arial">Receive from protocol 0x800</FONT>
<BR><FONT SIZE=2 FACE="Arial">Got IP</FONT>
<BR><FONT SIZE=2 FACE="Arial">len=544, v=45</FONT>
<BR><FONT SIZE=2 FACE="Arial">Receive from protocol 0x800</FONT>
<BR><FONT SIZE=2 FACE="Arial">Got IP</FONT>
<BR><FONT SIZE=2 FACE="Arial">len=544, v=45</FONT>
<BR><FONT SIZE=2 FACE="Arial">#Receive from protocol 0x800</FONT>
<BR><FONT SIZE=2 FACE="Arial">Got IP</FONT>
<BR><FONT SIZE=2 FACE="Arial">len=544, v=45</FONT>
<BR><FONT SIZE=2 FACE="Arial">Receive from protocol 0x800</FONT>
<BR><FONT SIZE=2 FACE="Arial">Got IP</FONT>
<BR><FONT SIZE=2 FACE="Arial">len=544, v=45</FONT>
<BR><FONT SIZE=2 FACE="Arial">Receive from protocol 0x800</FONT>
<BR><FONT SIZE=2 FACE="Arial">Got IP</FONT>
<BR><FONT SIZE=2 FACE="Arial">len=544, v=45</FONT>
<BR><FONT SIZE=2 FACE="Arial">Receive from protocol 0x800</FONT>
<BR><FONT SIZE=2 FACE="Arial">Got IP</FONT>
<BR><FONT SIZE=2 FACE="Arial">len=347, v=45</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">done</FONT>
<BR><FONT SIZE=2 FACE="Arial">Bytes transferred = 7483 (1d3b hex)</FONT>
<BR><FONT SIZE=2 FACE="Arial">=&gt; reset </FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">U-Boot 0.2.0 (Jul 18 2003 - 09:10:38)</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">CPU:&nbsp;&nbsp; MPC8245 Revision 1.2 at 299.999 MHz: 16 kB I-Cache 16 kB D-Cache</FONT>
<BR><FONT SIZE=2 FACE="Arial">Board: Cargoscan CS0045 CPU/RF PowerPC MPC8245 </FONT>
<BR><FONT SIZE=2 FACE="Arial">I2C:&nbsp;&nbsp; ready</FONT>
<BR><FONT SIZE=2 FACE="Arial">DRAM:&nbsp; 64 MB</FONT>
<BR><FONT SIZE=2 FACE="Arial">Altera 1k10 ,,,,,,,,,,,,,,,,,,,</FONT>
<BR><FONT SIZE=2 FACE="Arial">Altera 1k50</FONT>
<BR><FONT SIZE=2 FACE="Arial">........................................................................</FONT>
<BR><FONT SIZE=2 FACE="Arial">.........................</FONT>
<BR><FONT SIZE=2 FACE="Arial">FPGA:&nbsp; ready on 1 atempt.</FONT>
<BR><FONT SIZE=2 FACE="Arial">FLASH:&nbsp; 8 MB</FONT>
<BR><FONT SIZE=2 FACE="Arial">In:&nbsp;&nbsp;&nbsp; serial</FONT>
<BR><FONT SIZE=2 FACE="Arial">Out:&nbsp;&nbsp; serial</FONT>
<BR><FONT SIZE=2 FACE="Arial">Err:&nbsp;&nbsp; serial</FONT>
<BR><FONT SIZE=2 FACE="Arial">Net:&nbsp;&nbsp; i82559#0, i82559#1</FONT>
<BR><FONT SIZE=2 FACE="Arial">IDE:&nbsp;&nbsp; Bus 0: OK </FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; Device 0: Model: SanDisk SDCFB-64 Firm: vde 1.10 Ser#: 20312131908</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Type: Removable Hard Disk</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Capacity: 61.2 MB = 0.0 GB (125440 x 512)</FONT>
<BR><FONT SIZE=2 FACE="Arial">=&gt; printenv baudrate=38400</FONT>
<BR><FONT SIZE=2 FACE="Arial">serial#=AO031245612346</FONT>
<BR><FONT SIZE=2 FACE="Arial">filesize=9fdf1</FONT>
<BR><FONT SIZE=2 FACE="Arial">sereverip=172.23.151.231</FONT>
<BR><FONT SIZE=2 FACE="Arial">serverip=172.23.151.232</FONT>
<BR><FONT SIZE=2 FACE="Arial">ipaddr=172.23.151.236</FONT>
<BR><FONT SIZE=2 FACE="Arial">bootargs=console=ttyS0,38400 root=/dev/nfs rw</FONT>
<BR><FONT SIZE=2 FACE="Arial">nfsroot=/home/filesystems/mvl30</FONT>
<BR><FONT SIZE=2 FACE="Arial">ip=172.23.151.233:172.23.151.232:172.23.151.40:255.255.255.0:io:eth0</FONT>
<BR><FONT SIZE=2 FACE="Arial">ide0=0xfe0001f0,0xfe0003f6,19</FONT>
<BR><FONT SIZE=2 FACE="Arial">stdin=serial</FONT>
<BR><FONT SIZE=2 FACE="Arial">stdout=serial</FONT>
<BR><FONT SIZE=2 FACE="Arial">stderr=serial</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Environment size: 342/131068 bytes</FONT>
<BR><FONT SIZE=2 FACE="Arial">=&gt; tftp 100000 8245.cfg </FONT>
<BR><FONT SIZE=2 FACE="Arial">ARP broadcast 1</FONT>
<BR><FONT SIZE=2 FACE="Arial">Receive from protocol 0x806</FONT>
<BR><FONT SIZE=2 FACE="Arial">Got ARP</FONT>
<BR><FONT SIZE=2 FACE="Arial">Got ARP REPLY, set server/gtwy eth addr</FONT>
<BR><FONT SIZE=2 FACE="Arial">Got good ARP - start TFTP</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Server ethernet address 00:08:74:3b:61:58</FONT>
<BR><FONT SIZE=2 FACE="Arial">TFTP from server 172.23.151.232; our IP address is 172.23.151.236</FONT>
<BR><FONT SIZE=2 FACE="Arial">Filename '8245.cfg'.</FONT>
<BR><FONT SIZE=2 FACE="Arial">Load address: 0x100000</FONT>
<BR><FONT SIZE=2 FACE="Arial">Loading: *Receive from protocol 0x800</FONT>
<BR><FONT SIZE=2 FACE="Arial">Got IP</FONT>
<BR><FONT SIZE=2 FACE="Arial">len=56, v=45</FONT>
<BR><FONT SIZE=2 FACE="Arial">Receive from protocol 0x800</FONT>
<BR><FONT SIZE=2 FACE="Arial">Got IP</FONT>
<BR><FONT SIZE=2 FACE="Arial">len=128, v=45</FONT>
<BR><FONT SIZE=2 FACE="Arial">T Receive from protocol 0x800</FONT>
<BR><FONT SIZE=2 FACE="Arial">Got IP</FONT>
<BR><FONT SIZE=2 FACE="Arial">len=56, v=45</FONT>
<BR><FONT SIZE=2 FACE="Arial">Receive from protocol 0x806</FONT>
<BR><FONT SIZE=2 FACE="Arial">Got ARP</FONT>
<BR><FONT SIZE=2 FACE="Arial">T Receive from protocol 0x800</FONT>
<BR><FONT SIZE=2 FACE="Arial">Got IP</FONT>
<BR><FONT SIZE=2 FACE="Arial">len=56, v=45</FONT>
<BR><FONT SIZE=2 FACE="Arial">Receive from protocol 0x8137</FONT>
<BR><FONT SIZE=2 FACE="Arial">Receive from protocol 0x806</FONT>
<BR><FONT SIZE=2 FACE="Arial">Got ARP</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Abort</FONT>
<BR><FONT SIZE=2 FACE="Arial">=&gt; </FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">From the u-boot output, it looks like the packet lengths is to short. </FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Have any of you got the Abatron tftpsrv to work with u-boot. If yes, how</FONT>
<BR><FONT SIZE=2 FACE="Arial">did you do it? If no, do you know of any other tftp servers that run</FONT>
<BR><FONT SIZE=2 FACE="Arial">under Windows and work with u-boot?</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Best regards</FONT>
<BR><FONT SIZE=2 FACE="Arial">Rune Raknerud</FONT>
<BR><FONT SIZE=2 FACE="Arial">Cargoscan AS</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Arial">-------------------------------------------------------</FONT>
<BR><FONT SIZE=2 FACE="Arial">This SF.net email is sponsored by: VM Ware</FONT>
<BR><FONT SIZE=2 FACE="Arial">With VMware you can run multiple operating systems on a single machine.</FONT>
<BR><FONT SIZE=2 FACE="Arial">WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the</FONT>
<BR><FONT SIZE=2 FACE="Arial">same time. Free trial click here: <A HREF="http://www.vmware.com/wl/offer/345/0" TARGET="_blank">http://www.vmware.com/wl/offer/345/0</A></FONT>
<BR><FONT SIZE=2 FACE="Arial">_______________________________________________</FONT>
<BR><FONT SIZE=2 FACE="Arial">U-Boot-Users mailing list</FONT>
<BR><FONT SIZE=2 FACE="Arial">U-Boot-Users@lists.sourceforge.net</FONT>
<BR><FONT SIZE=2 FACE="Arial"><A HREF="https://lists.sourceforge.net/lists/listinfo/u-boot-users" TARGET="_blank">https://lists.sourceforge.net/lists/listinfo/u-boot-users</A></FONT>
</P>

</BODY>
</HTML>