I was doing my own project using TMS320DM355 EVM with MontaVista realtime Linux is installed some months ago. At that time, I search in Google many times but I didn’t get success to install TFTP. Finally, I found out one great tutorial about that. In my system, I use TFTP protocol to download Linux kernel, U-boot bootloader to DM355 EVM kit.
What is TFTP ?
Trivial File Transfer Protocol (TFTP) is a file transfer protocol, with the functionality of a very basic form of File Transfer Protocol (FTP); it was first defined in 1980.
Due to its simple design, TFTP can be implemented in a very small amount of memory — an important consideration at that time. It was therefore useful for booting computers such as routers which did not have any data storage devices. It is still used to transfer small amounts of data between hosts on a network, such as IP phone firmware or operating system images when a remote X Window System terminal or any other thin client boots from a network host or server. The initial stages of some network based installation systems (such as Solaris Jumpstart, Red Hat Kickstart and Windows NT’s Remote Installation Services) use TFTP to load a basic kernel that performs the actual installation.
TFTP is based in part on the earlier protocol EFTP, which was part of the PUP protocol suite. In the early days of work on the TCP/IP protocol suite, TFTP was often the first protocol implemented on a new host type, because it was so simple.
See here for more information
Howto install and setup
In my system, I use Ubuntu 8.04 as Workstation computer to communicate with DM355EVM. You can also use these steps with Ubuntu 8.10 or Ubuntu 9.04.
1. Install tftpd and related packages.
$ sudo apt-get install xinetd tftpd tftp
2. Create /etc/xinetd.d/tftp and put this entry:
service tftp
{
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = nobody
server = /usr/sbin/in.tftpd
server_args = /tftpboot
disable = no
}
3. Make /tftpboot directory
$ sudo mkdir /tftpboot $ sudo chmod -R 777 /tftpboot $ sudo chown -R nobody /tftpboot
4. Start tftpd through xinetd
$ sudo /etc/init.d/xinetd start
5. Testing. Tranfering file hda.txt from 192.168.1.100 (Client using tftp) to 192.168.1.100 (Server 192.168.1.100). Get an example file to transfer (eg. hda.txt)
$ touch /tftpboot/hda.txt $ chmod 777 /tftpboot/hda.txt $ ls -l /tftpboot/ total 0 -rwxrwxrwx 1 davids davids 0 2006-03-27 23:04 hda.txt $ tftp 192.168.1.100 tftp> put hda.txt Sent 722 bytes in 0.0 seconds tftp> quit $ ls -l /tftpboot/ total 4 -rwxrwxrwx 1 davids davids 707 2006-03-27 23:07 hda.txt
Now we will be able to download new kernel file to my EVM board. Note that you have to configure the bootargs parameters correctly, otherwise you can’t download to your EVM board. I will introduce how to setup in Ubuntu in another post.
References
en.wikipedia.org
Related posts:
- Howto Install Vietnamese Input Method ibus-unikey in Ubuntu IBus (Intelligent Input Bus for Linux/Unix OS) become the main Language Input Method manager since Ubuntu 9.10. For Vietnamese people and ones who want to learn and type Vietnamese language, unikey is usually the best choice in Windows and Linux as well. This article is going to guide to install ibus-unikey in Ubuntu. Ibus-Unikey package [...]...
- Howto install Vietnamese Input Method Scim-Unikey on Ubuntu Today, I would like to introduce the Vietnamese input method in Ubuntu. Scim-Unikey is the most stable package for typing Vietnamese characters, by combining the advantages of Smart Character Input Method (SCIM) and the most famous Vietnam input method Unikey. Scim-Unikey now is maintained by Ubuntu-VN and Vietnamese Ubuntu Community. If you want to learn [...]...
- How to setup Video calls in Skype on 64-bit Ubuntu system Skype is a software to make free video and voice calls, send instant messages and share files with other Skype users. You can use Skype in almost famous platforms: Windows, Linux, Mac OS and for your mobiles as well. For Linux users, you can easily download and install Skype binary package from here. With the 32-bit [...]...
- How to setup Dual Monitor in Ubuntu 9.04 with ATI Driver I am working in my Lab with 2 19′ LCD Monitors. I have search Google about this issue when I finished installing Ubuntu 9.04 and I was unable to configure to use 2 monitors. My desktop computer’s configuration: Intel(R) Core(M) 2 Quad CPU Q6600 DDR3 4GB ATI Radeon HD2600XT After I try to install ATI [...]...
- How to install Picasa in Ubuntu Homepage: http://picasa.google.com Today, I am going to upload my pictures from last party, I suddenly remember a such powerful and great image management: Picasa from Google. Actually, I love Google products because of their simple characteristics. Picasa application can run cross-platform on Linux and Windows OS as well. In Windows, it use this one also. [...]...
- How to install RTAI, ComediLib in Ubuntu 8.10, Ubuntu 9.04 Last several months ago, I have done to install RTAI, ComediLib in Ubuntu 8.04. Actually, I have spent a lot of time to config Ubuntu system. It faces a lot of problems but finally it has finished. Now new RTAI package version 3.7 which supports Linux kernel 2.6.28 has been released with a lot of [...]...


