Wednesday, November 10, 2010

SCP&SSH to the Qemu runtime

MADDE stands for Maemo Application Development and Debugging Environment and offers the following features:


Command-line cross-compiling
Multi-platform support (Linux (32-bit/64-bit), Windows, Mac OS X)
Configurable for different targets & toolchains
Client for the device to simplify the development process


Mad is frontend to madde execution environment. 
Usage: mad [-t TARGET] COMMAND [args]
 COMMAND may be one of the internals listed below
 or system command (such as 'make')


  remote     command set to handle runtime
  info       print madde configuration in xml format
  query      query variables
  list       list components in cross-compilation environment
  set        set default target
  pscreate   create project skeleton


you can scp to the Qemu runtime using the following commands
The ssh port for Qemu is 6666.


"scp -P 6666 filename developer@localhost:/home/developer/ "
 (or) you can do 
"mad remote send  "filename"  "for copying files into Qemu
"mad remote remove "filename" " for deleting files from Qemu
"mad remote install" will install DEBIAN_PACKAGE on runtime
"mad remote uninstall" will uninstall DEBIAN_PACKAGE on runtime   


"ssh -p 6666 developer@localhost"  for logging into Qemu


Here notice the difference, 
for ssh use "-p" (lowercase)for scp use "-P"(highercase)


"mad remote poweron" , "mad remote poweroff "
will turn qemu on and off 


"mad remote shell" opens a login shell on Qemu runtime
"mad ping shell"  checks if Qemu runtime is up and connectable


"mad info"
Prints madde configuration to stdout. The output is in xml format based on schema documented in madinfo.xsd.


"mad list"  will list the components i.e all the targets and runtimes in cross-compilation environment
"mad set"  will set default target.

No comments:

Post a Comment