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,