[U-Boot-Users] TFTP with U-Boot
Midhun Agnihotram
agnimidhun at gmail.com
Wed Jun 6 09:02:46 CEST 2007
Hi All,
I am still not able to do a tftp. I have checked and rechecked my
server settings according to the DULG manual.
** I am using a Fedora Core 6 as my host. My /etc/xinetd.d/tftp is as below:
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
}
** When I start xinetd :
# /etc/init.d/xinetd start
Starting xinetd: [ OK ]
** The netstat gives ;
# netstat -a | grep tftp
udp 0 0 *:tftp *:*
** The /etc/services file also contains the correct the port number too.
tftp 69/tcp
tftp 69/udp
** cAll seems to be fine. But still the tftp does not work.
=> printenv
bootargs=mem=32M console=ttyS0,115200 root=/dev/nfs rw init=/sbin/init ip=on
bootdelay=3
baudrate=115200
netmask=255.255.0.0
bootfile="uImage"
ethaddr=00:23:31:35:01:56
ipaddr=222.222.101.124
serverip=222.222.101.117
stdin=serial
stdout=serial
stderr=serial
Environment size: 258/131068 bytes
=> ping 222.222.101.117
host 222.222.101.117 is alive
=> tftp c0200000 firstimg
TFTP from server 222.222.101.117; our IP address is 222.222.101.124
Filename 'firstimg'.
Load address: 0xc0200000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
TFTP from server 222.222.101.117; our IP address is 222.222.101.124
Filename 'firstimg'.
Load address: 0xc0200000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
** When I connect the ethernet cable of the target to the host, the
/var/log/messages shows :
Jun 6 12:17:42 kernel: e100: eth0: e100_watchdog: link down
Jun 6 12:17:50 kernel: e100: eth0: e100_watchdog: link up, 10Mbps, half-duplex
Can anybody please let me know what could be the problem? Has
anybody used Fedora as their host for U-boot? Is it the problem with
the host or the target?
Thanks a lot,
Midhun Agnihotram
More information about the U-Boot
mailing list