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