[U-Boot-Users] tftp server for Windows

Hi
I need to setup a tftp server on a Windows machine, and I tried to use tftpsrv that is provided by Abatron. This works fine with my BDI2000, but not with my custom MPC8245 board running u-boot. Both the BDI2000 and the MPC8245 board work fine when connected to a tftp server on a RedHat 7.3 machine.
I use the following command for starting tftpsrv: tftpsrv w p dc:\tftpboot\
The following is a screen capture of the console output from the MPC8245 board. 172.23.151.225 is a PC running RedHat 7.3 and 172.23.151.232 is a PC running Windows 2000 Prof and tftpserv from Abatron. I have enabled debug output from u-boot.
=>setenv serverip 172.23.151.225 =>tftp 100000 8245.cfg ARP broadcast 1 Receive from protocol 0x806 Got ARP Got ARP REPLY, set server/gtwy eth addr Got good ARP - start TFTP
Server ethernet address 00:01:02:99:91:26 TFTP from server 172.23.151.225; our IP address is 172.23.151.236 Filename '8245.cfg'. Load address: 0x100000 Loading: *Receive from protocol 0x800 Got IP len=544, v=45 #Receive from protocol 0x800 Got IP len=544, v=45 Receive from protocol 0x800 Got IP len=544, v=45 Receive from protocol 0x800 Got IP len=544, v=45 Receive from protocol 0x800 Got IP len=544, v=45 Receive from protocol 0x800 Got IP len=544, v=45 Receive from protocol 0x800 Got IP len=544, v=45 Receive from protocol 0x800 Got IP len=544, v=45 Receive from protocol 0x800 Got IP len=544, v=45 Receive from protocol 0x800 Got IP len=544, v=45 Receive from protocol 0x800 Got IP len=544, v=45 #Receive from protocol 0x800 Got IP len=544, v=45 Receive from protocol 0x800 Got IP len=544, v=45 Receive from protocol 0x800 Got IP len=544, v=45 Receive from protocol 0x800 Got IP len=347, v=45
done Bytes transferred = 7483 (1d3b hex) => reset
U-Boot 0.2.0 (Jul 18 2003 - 09:10:38)
CPU: MPC8245 Revision 1.2 at 299.999 MHz: 16 kB I-Cache 16 kB D-Cache Board: Cargoscan CS0045 CPU/RF PowerPC MPC8245 I2C: ready DRAM: 64 MB Altera 1k10 ,,,,,,,,,,,,,,,,,,, Altera 1k50 ........................................................................ ......................... FPGA: ready on 1 atempt. FLASH: 8 MB In: serial Out: serial Err: serial Net: i82559#0, i82559#1 IDE: Bus 0: OK Device 0: Model: SanDisk SDCFB-64 Firm: vde 1.10 Ser#: 20312131908 Type: Removable Hard Disk Capacity: 61.2 MB = 0.0 GB (125440 x 512) => printenv baudrate=38400 serial#=AO031245612346 filesize=9fdf1 sereverip=172.23.151.231 serverip=172.23.151.232 ipaddr=172.23.151.236 bootargs=console=ttyS0,38400 root=/dev/nfs rw nfsroot=/home/filesystems/mvl30 ip=172.23.151.233:172.23.151.232:172.23.151.40:255.255.255.0:io:eth0 ide0=0xfe0001f0,0xfe0003f6,19 stdin=serial stdout=serial stderr=serial
Environment size: 342/131068 bytes => tftp 100000 8245.cfg ARP broadcast 1 Receive from protocol 0x806 Got ARP Got ARP REPLY, set server/gtwy eth addr Got good ARP - start TFTP
Server ethernet address 00:08:74:3b:61:58 TFTP from server 172.23.151.232; our IP address is 172.23.151.236 Filename '8245.cfg'. Load address: 0x100000 Loading: *Receive from protocol 0x800 Got IP len=56, v=45 Receive from protocol 0x800 Got IP len=128, v=45 T Receive from protocol 0x800 Got IP len=56, v=45 Receive from protocol 0x806 Got ARP T Receive from protocol 0x800 Got IP len=56, v=45 Receive from protocol 0x8137 Receive from protocol 0x806 Got ARP
Abort =>
From the u-boot output, it looks like the packet lengths is to short.
Have any of you got the Abatron tftpsrv to work with u-boot. If yes, how did you do it? If no, do you know of any other tftp servers that run under Windows and work with u-boot?
Best regards Rune Raknerud Cargoscan AS
participants (1)
-
Rune Raknerud