Download tftp in Linux-Linux general technology-Linux technology and application information. The following is a detailed description. The kernel download introduced in the experiment board tutorial is performed in a windows environment, which is inconvenient to use.
First, compile the kernel in linux, then switch to windows, and use a Super Terminal to access vivi. Use the load command of vivi, such as load flash kernel t, to download the kernel using tftp, at the same time, windows needs to run the corresponding tftp Command, such as: tftp-I 192.168.0.15 put zImage, (-I indicates that the binary format, this parameter cannot be small), write the zImage file to the flash kernel partition.
Considering that compiling in linux and returning to windows for download is inconvenient, it is much more convenient to implement tftp download in linux without switching the system.
Windows Super Terminal functions can be replaced by linux minicom. if tftp does not exist, you can download a file named tftp. xxxx. i386.rpm, install it, so that the tftp Command is available. Although this is only an ftp client tool, all we need here is a tftp client tool, the command format is a bit different from that in windows. The syntax is as follows: tftp-m binary 192.168.0.15-c put zImage,-m is the specified method, where binary is used. -c indicates the operation content, which is uploaded as put. it should be noted that the operation should be in the same directory as the uploaded file (zImage.
As for writing vivi through jtag, it can only be completed in windows, but once vivi is written through jtag, other parts can be quickly downloaded using tftp over the network cable in linux.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.