[Om2009] Python application development
openmoko at mazikeen.demon.co.uk
Mon Jun 15 18:29:27 CEST 2009
On Monday 15 June 2009, David Fokkema wrote:
> Hi list,
> I've been browsing the wiki, but not really 'getting' it, I suppose.
> Apart from running on my device, what are the options for application
> development in python for Om2009? I'm really asking how to develop
> applications on my laptop and to test paroli / illume integration and
> such. I want to run it inside something like Xephyr, but I can't figure
> out how to do that correctly. MokoMakefile says not to use MokoMakefile
> for application development but to use a toolchain, but that's not
> really necessary, right? Should I use MokoMakefile to build a qemu
> emulator and then flash the latest Om2009 images? Or should I really
> just run on the device?
MokoMakefile is a convenience wrapper for setting up OpenEmbedded to build for
Om2009, and to do the builds. There are similar makefiles for FSO and SHR. If
you want to target these images in future then it's probably worth the effort
to find out how this works as it makes packaging and possible inclusion in
default images and/or feeds _much_ easier. You could just ignore it until you
want to package though.
For basic python development I usually edit on the laptop or desktop and run
on the phone via an ssh session or two. If you replace dropbear with openssh
you can use fish:// or the gnome equivalent to edit on the laptop while the
files are on the phone. Display redirection works too, but often gives odd
scaling because of the different dpi settings on each display.
> (It's a shame that a lot of info on the wiki seems to be outdated)
More information about the support