Active Topics

 


Reply
Thread Tools
Posts: 46 | Thanked: 392 times | Joined on Apr 2010 @ Stanford University
#1
I just set up the new MADDE release, and I'm trying out the QEMU runtime, with a simple test program that creates a few files (image processing test code). Now, the program runs fine, and creates the files. But how do I copy them off the QEMU runtime? On the N900, I usually just scp them over, since there's a real network connection.

I tried using mad remote mount, and then copying the files to mnt in mad remote shell, but I get a string of errors:
/home/developer $ cp madde/*tmp mnt/
cp: cannot create 'mnt/circle.tmp': State not recoverable
cp: cannot create 'mnt/circle_canvas_in.tmp': State not recoverable
cp: cannot create 'mnt/circle_in.tmp': State not recoverable
cp: cannot create 'mnt/circle_out.tmp': State not recoverable
cp: cannot create 'mnt/circle_sub.tmp': State not recoverable
cp: cannot create 'mnt/circle_sub_in.tmp': State not recoverable
cp: cannot create 'mnt/thumb_in.tmp': State not recoverable
cp: cannot create 'mnt/thumb_out.tmp': State not recoverable

Any suggestions are welcome!
 
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#2
Hi,

are you using linux? Then you can simply login via ssh, like:

Code:
ssh -p 6666 developer@localhost
Daniel
 
Posts: 60 | Thanked: 73 times | Joined on Oct 2009 @ troll cave
#3
you can scp to the Qemu instance. The ssh port is IIRC 6666.

so just

Code:
scp -P 6666 madde/*tmp  developer@localhost:/home/developer/
notice that for ssh one uses "-p" while for scp "-P".
 
too's Avatar
Posts: 122 | Thanked: 135 times | Joined on Dec 2009 @ Helsinki
#4
Hmm, I have to check the copying over mount problems.

with mad remote commands there are 2 ways to copy files:

host -> device (the supported one):

mad remote send <filename>

device -> host (unsupported one

mad remote cmd cat /path/to/filename > local_filename
 
Posts: 46 | Thanked: 392 times | Joined on Apr 2010 @ Stanford University
#5
Great, I figured there was a virtual network somewhere (just not obviously documented, at least that I can find). Not on Linux, but Cygwin works well enough for ssh/scp.

Although, if I use scp/ssh outside the MADDE terminal, it asks me for a password, and AFAIK, none was ever asked for during the setup of the runtime. Inside the terminal there's no problem, so it's not really an issue, just curious about what the PW might be.

And I suppose the 'cat' option is also feasible, in an emergency. Thanks!
 
Reply


 
Forum Jump


All times are GMT. The time now is 02:12.