[maemo-developers] Is Ubuntu 64 bit compatible with Scratchbox and Maemo SDK?

From: tz thomas at mich.com
Date: Wed Dec 3 18:38:29 EET 2008
That was the problem.  It is documented under "maintenance" in the
scratchbox install near the bottom (after all those things which would
break the maemo/nokia install).

I filed a documentation bug report so they add that to the manual/64
bit install section of INSTALL.txt.  Apparently the debs will do it
automatically, but they are i386 so get a wrong architecture message I
did not want to override, and the tarballs worked fine - at least
until you reboot.  I knew about the mounts, and binfmt_misc.ko was
being loaded, but I didn't know about the script, so I just did the
mount-all.

On Mon, Dec 1, 2008 at 2:15 PM, Graham Cobb <g+770 at cobb.uk.net> wrote:
> On Friday 28 November 2008 00:40:17 tz wrote:
>> I'm running Intrepid and Scratchbox.
>>
>> I needed to add vdso32=0 to the kernel command line (in grub's menu.lst
>> file)
>>
>> I had to download the right versions (in the install.txt, manual
>> install) of the scratchbox tarballs and unarchive them manually (and
>> add the sb_mount_all to /etc/rc.local).  But it works.
>
> Could this be the root of your problem using scratchbox for running ARM
> programs?
>
> I do not believe you should need to run sb_mount_all -- I certainly don't.  I
> use:
>
> /scratchbox/sbin/sbox_ctl start
>
> to start scratchbox.
>
> If you just use sbox_mount_all you are missing the invocation of
> register_misc_runner, which would explain why you can't run ARM programs as
> that sets up the QEMU interpreter for binfmt_misc.
>
> Graham
>

More information about the maemo-developers mailing list