Setting Up the TFTP server
$ sudo apt-get install xinetd tftpd tftp
service tftp
{
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = nobody
server = /usr/sbin/in.tftpd
server_args = /tftpboot
disable = no
}
$ sudo mkdir /tftpboot/boot
$ sudo chmod -R 777 /tftpboot
$ sudo chown -R nobody /tftpboot
$ sudo service xinetd restart
Testing the TFTP server
$ ls / > /tftpboot/tftp_test
$ sudo chmod -R 777 /tftpboot
$ tftp 192.168.1.2
tftp> get tftp_test
Sent 159 bytes in 0.0 seconds
tftp> quit
$ ls tftp_test -lh
Copy the Kerner image file into /tftpboot
$ cp $HOME/yocto/gateway/tmp/deploy/images/uImage-3.0.35-r32.11-cpu-3xx-20141022133149.bin /tftpboot/boot/uImage
NOTE: The name of the generated kernel image file will be different in your build. Also, the name given to the file while copying into /tftpboot/boot/ should match that given in U-Boot settings.