This article is reproduced from http://useless20.blog.163.com/blog/static/237409982010227127576/
Embedded Linux system and host transfer files via serial port
I think if you want to download from the PC to the board embedded Linux system, many people will first think of TFTP SFTP and other network tools to download from the network port. But if the network can not use, only through the serial port to download what to do? This time there are two tools to help you: One is Zmrx, ZMTX, the other is LSZ, Lrz. Personally feel zmrx/zmtx not lsz/lrz stable, suggest or use the latter. Here's how to use Lsz/lrz.
First, compile the Lrzsz and download to the Development Board
From http://download.chinaunix.net/download/0007000/6293.shtml the next Lrzsz tar package, unzip and enter the./configure, then enter the SRC folder, Modified the makefile file in the SRC folder to be configured as the cross compiler for the phone, running make,ok! Get two executables Sz,rz (or lsz,lrz) and download them to the/bin directory of the Development Board Linux system.
Second, the situation 1:pc machine with Windows operating system
If the PC is using a Windows operating system, the serial communication tool can be used with the system's own HyperTerminal. Here's how to transfer files.
1, Development Board-->PC Machine
Enter SZ filename on the development Board.
On the PC, click on the HyperTerminal Menu "transfer", "Receive Files", select the location of the download and Zmodem and Crash Recovery protocol, click on Receive.
2. PC---Development Board
Go to the/tmp directory on the Development Board and enter RZ.
On the PC, click on the HyperTerminal Menu "transfer", "Send File", select the target file and Zmodem and Crash Recovery protocol, click Send.
ARM Development Board embedded Linux system and host PC transfer files via serial port