Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-15-2015, 09:22 PM   #1
Registered: Jun 2013
Location: California
Distribution: Ubuntu, Fedora
Posts: 75

Rep: Reputation: Disabled
file transfer through UART between Linux host and embedded Linux target


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,
Old 01-15-2015, 10:44 PM   #2
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,713

Rep: Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279
Not sure if this will help, but there is SLIP (

And the old standby kermit (
Old 01-15-2015, 11:02 PM   #3
Registered: Aug 2002
Posts: 16,349

Rep: Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908
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.

Last edited by michaelk; 01-15-2015 at 11:03 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: AMD APUs target high-end embedded Linux LXer Syndicated Linux News 0 05-24-2014 10:51 AM
How to support MTP-Responder (Media Transfer Protocol) on an embedded linux? thehadar Linux - Embedded & Single-board computer 5 03-15-2013 01:20 AM
Embedded Linux Host target Interface with Eclipse tools munagapati Linux - Embedded & Single-board computer 0 11-12-2007 10:19 PM
Required to achieve host to host communication via USB file transfer cable may1284 Linux - General 1 03-14-2007 05:02 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration