[maemo-developers] qemu 0.10

From: Cornelius Hald hald at icandy.de
Date: Mon Mar 9 16:52:06 EET 2009
----- "Juha Kallioinen" <juha.kallioinen at nokia.com> wrote:

> unfortunately you can't use the upstream qemu sources directly to
> build a functional qemu for Scratchbox1. There are a few patches that need to
> be applied and you'll need to link it with libsb too.
> 
> If you'd like, take a look at the patches and sources of the latest 
> cputransp devkit that's available in scratchbox.org:
> 
> http://scratchbox.org/download/files/sbox-releases/apophis/src/scratchbox-devkit-cputransp-qemu-arm-cvs-m-1.0.9/
> 
> You'll also need to copy the support for the -sbox-call command line 
> parameter from the source tarball (for some reason there's not a patch for 
> that). This will take care of the argument passing for you.
> 
> Qemu for Scratchbox1 has been statically built in a debian etch chroot
> 
> environment because the host-compiler side of Scratchbox1 is too
> ancient to build it.
> 
> There will be a cputransp devkit release with the 0.10 based qemu at
> some point.

Thanks Juha,
I had a look at the patches, but unfortunately they don't apply to 0.10 anymore. At least not in a clean way...
However I could apply 99_sbox_callhack.patch to get the "--sbox-call" parameter. After that I compiled again and was able to run a simple ARM binary inside scratchbox using the 0.10 version. Then I compiled Leafpad for ARM and it also worked fine.
Now I tried to start af-sb-init.sh which failed with the following error:
maemo-launcher: error accepting connections (Bad address)

My original goal was to compile Mono without the use of a mono-devkit, but I failed on that too (same outcome as with old qemu). So for now I'm giving up on the qemu stuff - my head really feels dizzy ;) Maybe I'll give scratchbox2 a try or find another way.

Thanks again for all your help!
Conny

More information about the maemo-developers mailing list