LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   file transfer through UART between Linux host and embedded Linux target (https://www.linuxquestions.org/questions/linux-newbie-8/file-transfer-through-uart-between-linux-host-and-embedded-linux-target-4175531157/)

david_8274 01-15-2015 08:22 PM

file transfer through UART between Linux host and embedded Linux target
 
Hi,

I have a target board running embedded Linux, and a host PC that runs Ubuntu. I want to be able to transfer files from the host PC to the target board through serial interface, (something like I have a terminal program on the host side that talks to the target, and I issue some command from the terminal to transfer a file to the target, the target receive the file and store it in some RAM location for later), How can I do it?
I know how to do this using ymodem on the host terminal and loady on target's u-boot command prompt, but how can I do it when target is running Linux?

Thank you all,
Wei

jpollard 01-15-2015 09:44 PM

Not sure if this will help, but there is SLIP (http://www.oreilly.com/openbook/linag2/book/ch07.html)

And the old standby kermit (http://www.kermitproject.org/ck90.html)

michaelk 01-15-2015 10:02 PM

Without knowing anything about the the SBC, it's linux OS it is a bit difficult to provide help. There might be programs called rx, rb, rz, sx, sb, sz. They are xyz modem receive and send. You would initiate a rz then using the PCs terminal program like minicom send the file via zmodem protocol.

I assume you are connecting to the SBC serial console port.


All times are GMT -5. The time now is 10:53 AM.