Linux: How to download the program after cross-compiling

Source: Internet
Author: User
Tags ftp login
1. Connect the Development Board serial line, network mouth line, power cord;
2. Start the minicom (Serial communication tool) in PC Linux.
3. Start the Development Board power supply, the Development Board load Linux, loading information through the serial port printing to the minicom, such as minicom do not output information, check minicom detection port is correct, usually set the monitoring port is/DEV/TTYS0, if not with "minicom- S "to set;
4. Cross-compile download, the PC Terminal program through the ARM-LINUX-GCC compilation, the compilation of the generated arm executable program download to the Development Board side execution; there are three common methods, the first, the file from the PC to the SD card, the SD card into the Development Board, restart, Linux in the Development Board realizes the reading and writing of the SD card. The second type, FTP download, host configuration FTP service, Development board this side FTP login download file. Third, NFS system, host download Nfs-kernel-server service, configure/etc/exports file, add "/home/xwp/nfs * (Rw,sync,no_root_squash)", restart "/etc/init.d/ Nfs-kernel-server Restart ", board this end execution hangs on NFS network File system" Mount-o Nolock-o tcp-t NFS Ip:/home/xwp/nfs/mnt ", hangs in the/MNT directory to the Development Board;

Linux: How to download the program after cross-compiling

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.