Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => iMX233 => Topic started by: flavigny on October 01, 2012, 10:15:53 PM

Title: How to exchange file with OlinuXino-Micro
Post by: flavigny on October 01, 2012, 10:15:53 PM
Hello,
currently I work on a maxi board and I load files by wget. it is perfect.
Now I have ordered a micro and hesitate to the roadmap.
- Of course, it is possible to move le sd card, il will be fastidious (and need reboot)
- I am investigating on a "good way".

I remember Kermit used past millenary, but I do'nt find equivallent product today.

I am able to start a capture by:
cat > target_file
then I send raw data (by windows hyperterminal)
when finished I terminate hitting ^D

Of course, it is not reliable nor convenient for binary files.

I plan to produce a "dump" (by od) on the source computer,
transfert the hexa file

And I have to write a bit of code to build back the original file on the O-micro.

So, the question: does someone knows such a program.

Regards.
PO.
Title: Re: How to exchange file with OlinuXino-Micro
Post by: Niii on October 01, 2012, 10:28:39 PM
And why don't use an usb->ethernet adapter ?
Title: Re: How to exchange file with OlinuXino-Micro
Post by: dpwhittaker on October 01, 2012, 10:51:27 PM
ZModem fits the bill nicely.

https://www.olimex.com/forum/index.php?topic=94.msg385#msg385
Title: Re: How to exchange file with OlinuXino-Micro
Post by: flavigny on October 02, 2012, 09:50:07 AM
thanks for your replies,

for Niii:
could you give me some models (low cost, of course) usable with the original SdCard by olimex (I am not able to build a new one now).

for dpwhittaker:
I downloaded http://mirror.archlinuxarm.org/arm/community/lrzsz-0.12.20-4-arm.pkg.tar.xz
but it appears that pacman is unknown on my OlinuxIno.

Regards
PO.
Title: Re: How to exchange file with OlinuXino-Micro
Post by: Niii on October 02, 2012, 11:22:41 AM
It depends which drivers are embedded into factory kernel build by Jeroends.
Maybe .config for 2.6.35 is available somewhere ?
Title: Re: How to exchange file with OlinuXino-Micro
Post by: dpwhittaker on October 02, 2012, 01:22:11 PM
Quote from: flavigny on October 02, 2012, 09:50:07 AM
for dpwhittaker:
I downloaded http://mirror.archlinuxarm.org/arm/community/lrzsz-0.12.20-4-arm.pkg.tar.xz
but it appears that pacman is unknown on my OlinuxIno.

Regards
PO.

Ah, you are not on arch Linux distro.  I believe you can just unzip it with tar -xzvf and copy rz and sz into your /bin folder.  That should make it available.

Edit:  looks like tar -xJvf is the option if your tar supports it.  Otherwise you need a recent version of 7zip, the xz package from Ubuntu, any one of many built-in archive managers, etc.