This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TFTP Server Settings in Ubuntu VMware 11.04 Latest version(LINUX)

Other Parts Discussed in Thread: AM1808

Hi all,
I am facing problem with TFTP booting. It is not loading the kernal(uImage) in my target. I have installed all the TFTP & XINETD packages in my Linux host machine.
My Host Machine Details : Ubuntu VMware 11.04 Latest version(LINUX). Target Details : AM1808(TI Sitara)
root@ubuntu:/etc/init.d# uname -r
2.6.38-8-generic
root@ubuntu:/etc/init.d# uname -a
Linux ubuntu 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux
root@ubuntu:/etc/init.d# cat /etc/issue
Ubuntu 11.04 \n \l
root@ubuntu:/etc/init.d# cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.04
DISTRIB_CODENAME=natty
DISTRIB_DESCRIPTION="Ubuntu 11.04"
 
I have started my trails with TFTP as follows:
 
1. Installed tftpd and related packages.
root@ubuntu: sudo apt-get install xinetd tftpd tftp
2. edit the file entry in /etc/xinetd.d/tftp
service tftp
{
protocol        = udp
port            = 69
socket_type     = dgram
wait            = yes
user            = nobody
server          = /usr/sbin/in.tftpd
server_args     = /tftpboot
disable         = no
}
3. I Made /tftpboot directory
root@ubuntusudo: mkdir -p /tftpboot
root@ubuntusudo: chmod 777 /tftpboot
root@ubuntusudo: chown nobody /tftpboot
4. Stop and Started tftpd through xinetd
root@ubuntu:/etc/init.d# sudo /etc/init.d/xinetd stop
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service xinetd stop
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) utility, e.g. stop xinetd
xinetd stop/waiting
$ sudo /etc/init.d/xinetd start
root@ubuntu:/etc/init.d# sudo /etc/init.d/xinetd start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service xinetd start
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start xinetd
5. Checked the Xinetd & tftp status
root@ubuntu:/etc/init.d# ps -e | grep xinetd
root@ubuntu:/etc/init.d# chkconfig | grep xinetd
tftp                        xinetd
xinetd                      off
root@ubuntu:/etc/init.d# chkconfig | grep tftp
atftpd                      on
tftp                        xinetd
6. I have copied my uImage in to /tftpboot directory
7. I have given my serverip as 192.168.1.100 with command ifconfig eth0 192.168.1.100 up
8. I setted all the environment variables in AM1808 as follows:
AM1808_EVM # setenv ethaddr 00:50:c2:XX:XX:XX (saw the sticker on EVM)
     AM1808_EVM # setenv ipaddr 192.168.1.10
     AM1808_EVM # setenv serverip 192.168.1.100 (TFTP server PC’s addr)
     AM1808_EVM # setenv netmask 255.255.255.0
     AM1808_EVM # setenv gatewayip 192.168.1.1
        AM1808_EVM # setenv dnsip 192.168.1.1
AM1808_EVM # setenv nfshost 192.168.1.100
AM1808_EVM # setenv rootpath /home/workdir/filesys
AM1808_EVM # setenv bootfile uImage
AM1808_EVM # setenv bootcmd 'static;tftp;bootm'
AM1808_EVM # setenv bootargs console=ttyS2,115200n8 noinitrd rw ip=static root=/dev/nfs nfsroot=192.168.1.100:/home/workdir/filesys,nolock mem=32M
        AM1808_EVM # saveenv
9 . I did in target side as ping 192.168.1.100(Server ip), It said Alive  
10. After "boot" or "tftp" It is giving time out signals. I am not able to boot my AM1808 with TFTP boot 
TFTP from server 192.168.1.100; our IP address is 192.168.1.10 
Filename 'uImage' 
Load address: 0xc0700000 
Loading: T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T

Please give me a suggestion to work TFTPBOOT in my target. any suggestions would be appreciated

Thanks
Kumar