[U-Boot-Users] TFTP PROBLEM
Sonia Martinez
anexwarrior at hotmail.com
Mon May 10 15:21:26 CEST 2004
TFTP server in the host (Mandrake 9.2 ) is configured like this:
service tftp
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
#per_source = 11
#cps = 100 2
#flags = IPv4
}
The environment variables are:
$ printenv
bootargs=root=/dev/mtdblock2 devfs=mount console=ttyS0,115200
bootcmd=bootm 40000
bootdelay=3
baudrate=115200
ethaddr=00:08:33:33:00:01
stdin=serial
stdout=serial
stderr=serial
filesize=4a6
netmask=255.255.0.0
ipaddr=172.16.16.220
serverip=172.16.16.70
Output with minicom:
$ tftp a1000000 little
TFTP from server 172.16.16.70; our IP address is 172.16.16.220
Filename 'little'.
Load address: 0xa1000000
Loading: T T #T #
done
Bytes transferred = 1190 (4a6 hex)
$ tftp a1000000 hello.img
TFTP from server 172.16.16.70; our IP address is 172.16.16.220
Filename 'hello.img'.
Load address: 0xa1000000
Loading: T T invalid RARP header
invalid RARP header
#T T #T T T #T T T
Retry count exceeded; starting again
TFTP from server 172.16.16.70; our IP address is 172.16.16.220
Filename 'hello.img'.
Load address: 0xa1000000
Loading: #T T T T T T #T T T #T
Retry count exceeded; starting again
----- Original Message -----
From: "Masami Komiya" <mkomiya at sonare.it>
To: "Sonia Martinez" <anexwarrior at hotmail.com>
Cc: <u-boot-users at lists.sourceforge.net>
Sent: Monday, May 10, 2004 11:08 AM
Subject: Re: [U-Boot-Users] TFTP PROBLEM
> TFTP can work fine in 1.0.0, but be affected by network environment.
> What's kind of the server do you use for the host configuration, DHCP, BOOTP ?
>
> Could you show the console messages ?
> Also I want to know your environment variables.
> That is shown by "printenv" command.
>
> Masami Komiya
>
> Sonia Martinez wrote:
> > Hi all,
> >
> > We're using u-boot 1.0.0 to boot Linux on a Lubbock based platform. We've
> > been able to boot Linux from RAM, with JFFS2 and nfsroot too. But we've a
> > problem with tftp.
> >
> > We know that the tftp server works because we've tested it with other
> > clients. But with tftp in u-boot we're only able to transfer little files
> > (1, 2 Kb)..
> >
> > Which can be the problem?? Newer versions work fine??
> >
> > Thanks in advance
> >
> > Regards,
> >
> > Sonia
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by Sleepycat Software
> > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to
> > deliver higher performing products faster, at low TCO.
> > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
> > _______________________________________________
> > U-Boot-Users mailing list
> > U-Boot-Users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/u-boot-users
> >
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20040510/1b3f416a/attachment.htm
More information about the U-Boot
mailing list