It's hard to believe, but I can't seem to find an established method (or any easily usable one) for transferring files over the serial port between a DM6467T system running [Aragao] linux and another computer, such as a PC.
Is there any such utility anywhere?
More specifically, If I'm talking to my board from my PC using Tera Term or Hyperterminal, and my board has fully booted linux and I have logged in, I would like to type a command at the linux prompt which starts that side of a file transfer. I would then complement that with a command on the PC side, such as Tera Term's Kermit or XMODEM file transfer command. A file transfer of not-so-important speed would then occur, in either direction. On the linux side, the file resides in the file system, which in my case is [jffs2] in NAND. Note that there shouldn't be a file size limit, such as 4KiB. It shouldn't involve writing directly to NAND in any raw mode. It's not happening while running U-Boot.
My usage is that I have prototype hardware of which I need to send a second copy of the hardware to a remote group for testing. They don't have the full development environment that I have. All they have is a laptop with serial communication to our hardware. I need to compile new codec versions, email them to the remote group, and them install the codec on their copy of the hardware. Next, binary diagnostic information collected by the hardware needs to be pulled off of the hardware by the remote group and emailed back to me for analysis. So, a simple binary file transfer between a PC and a Linux box should do the job, where our hardware is the "Linux box".
Shy of any existing utility, I'll go searching for source code for some transfer. I discover Kermit seems tightly guarded and being cancelled. I haven't looked for XMODEM yet. I'll go through the list of Tera Term capabilities first, then Hyperterm. With such source code, I would then cram it into yet another derivation of the encodedecode demo, merely as a ready-to-go compile platform (stripping out all video I/O and using on the main.c, for example). PLEASE NOTE that I've tried downloading and cross-compiling a library before, for XML, and it was a ratsnest I was never able to complete. There were too many files, too many dependencies, and far too complex a make setup, to get the cross-compiling working. Instead, I need a single source file (with .h acceptable), that I can place into my cloned encodedecode demo folder, and thus very easily link main.c with this source. (Or even cut and paste source into main.c).
So, if you don't know of an existing utility, but you do know where to find some concise source code that fits the bill, I would greatly appreciate your assistance.
Thanks,
Helmut