RZ and SX commands

Source: Internet
Author: User

There are no Super Terminal commands in the new Linux source code to be transplanted. You need to add them yourself. After adding it, the Development Board can transmit files through the serial port on the PC.

Steps:

1. Download Software rzsz-3.48.tar.gz. Http://freeware.sgi.com/source/rzsz/rzsz-3.48.tar.gzdownload.

2. Decompress tar zxvf rzsz-3.48.tar.gz 3. Install cd src vi makefile modify cc = arm-Linux-GCC save and exit make POSIX. Note: The installation of this software is different from the conventional GNU software-No configure or make install (installation process ). I use the cross compiler of S3c2410. different platforms only have different cross compilers. After the command make POSIX is input, if the compilation is successful, after the LS command is entered, you will find that many more files are copying GZ minirb. c rc Rz. c SZ undos.doc zmodem. h CRC. c mailer. rz minirb.doc readme rz.doc Sz. c zcommand ZMR. c crc.doc makefile rb rx Sb sz.doc zcommandi zupl. t crctl. c makefile ~ Rbsb. c rz sx undos. c ZM. c copy RB, RX, RC, Rz, Sb, Sx, SZ, zcommand zcommandi to the bin directory of the root file system you have created, then in the ld-2.5.so libc-2.5.so libcrypt under the cross compiler. so.1 libgcc_s.so.1 libm. so.6 ld-linux.so.3 libcrypt-2.5.so libc. so.6 libm-2.5.so and other libraries (may be different versions, corresponding numbers, but as long as these files) copy to the root file system lib directory, and then re-create the root file system, download to the Development Board and restart it. You can try the RZ and Sz commands. Command usage: sz/file name, open the Super Terminal in windows, right-click to select the Receiving File, set the directory of the Receiving File, OK. Rz, right-click on the Super Terminal and select the file to be sent. In my specific operations, I used the LDD command to view the dynamic file library that RZ and other commands depend on. I found that they are not dependent on any dynamic library. Here I only checked the RZ and SX commands, I don't know about the others, so when I made a file system, I didn't transplant the dynamic library mentioned above to Lib, and finally I could use it in RZ command testing. Note: If the command cannot be used, you should use the LDD command to check whether it depends on the dynamic file library and then port it to the file system. In this way, you can use ~~ Haha ~~

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.