[maemo-developers] Scratchbox and maemo development

From: Acadia Secure Networks acadiasecurenets at aol.com
Date: Thu Apr 12 18:13:26 EEST 2007

another example of a very good ARM emulator is the one that Microsoft 
has created for Windows Mobile SW developers. This emulator has already 
been updated to support WM 6.0 and it can be obtained either as a part 
of the Windows Mobile SDK or, stand alone.  Here is the url to the 
download for the latest version  (2.0) which will run Windows Mobile 6.0 


which of course is compiled to run on Windows not Linux.

Here is the url to version 1.0 which will run Windows Mobile 5.0 images 
but not Windows Mobile 5.0 images:


Here, in case you want to familiarize yourself with this emulator  is 
the url to  Windows mobile 5.0 images for the pocket pc version of 
Windows Mobile 5.0:


One nice feature of this emulator is that it even reproduces the skins 
of the various mobile devices that utilize Windows Mobile. Furthermore 
it has a plug-in to emulate a network interface stack which is 
implemented with a memory-memory transfer to the TCP/IP stack of the 
Windows XP or Windows Server 2003 host OS. Thus it is possible to 
test/debug network connected applications.

To my way of thinking, and to the extent it is not already doing so, 
Nokia itself should make the investment to produce/maintain an emulator 
at least for its own Internet Tablet hardware and make this available to 
this community.  For sure they must already have such emulators for 
their own in house mobile handset sw development staff.

Best Regards,


John Holmblad


Acadia Secure Networks

mfc at acm.org wrote:
>>> Said that, the main elements to consider are:
>>> - Development via Scratchbox vs development models bypassing SB
>>> - SB vs SB2
>> <snip>
>>> Several pieces moving around, we need to consider all those and come up
>>> with a sensible strategy, and results. All this work is for you guys.
>>> Developers, please have your say.
> >From this developer's experience, Scratchbox has not been a joy of my life.
> I'm in the progress of porting a relatively small application from Windows
> (originally OS/2) to the N800 -- a webserver (GoServe) running a Wiki.
> First I had to port it to Linux (I used ubuntu because the maemo VMware
> image uses that).  That had problems -- but not unexpected (I first used
> Unix in 1978, and have used several flavours of Unix and Linux on and off
> since then).
> Then I had to port it again to Scratchbox X86.  A whole set of new problems;
> different levels of libraries, pthreads just didn't work so I had to make my
> webserver single-threaded, and several build scripts had to be rewritten
> Then I had to port it again to Scratchbox ARMEL.  Here I had to duplicate
> all my build and run scripts in bash, because Rexx scripts (which run fine
> in Scratchbox X86 and on the real N800 device!) cannot call commands or
> other Rexx scripts in the Scratchbox ARMEL environment.  I cannot run the
> server to test in the Scratchbox environment but instead have to use the
> real device (hence my interest in x11vnc recently :-).
> - - -
> This is a *big* contrast to when I last programmed for a portable device (an
> early Palm, about 8 years ago).  The SDK for that came with a complete
> emulator for the device, which ran as an application (under Windows, but the
> host is not important) -- what you saw on the Windows screen was *exactly*
> what you saw on the actual device.  After using it for a few months, I was
> happy to put out code for others to use without even trying it on the real
> device.  And, later, I could add features for others to use on their more
> advanced (newer) devices without having to go out and buy each and every
> hardware variation.
> - - -
> So that's my feedback: please provide an emulator that runs on some host (a
> Debian Linux is fine) for which one can cross-compile and run the resulting
> binaries such that what you'll see on the emulator screen is what you'll see
> on the actual device.
> [Yes, inputs might be a bit different -- the pressure sensor is an
> interesting case -- but at least the stylus and hardware keyboard input
> should be possible.]
> Hope that helps!
> Mfc  (google: Mike Cowlishaw)
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20070412/23dbb76a/attachment.htm 
More information about the maemo-developers mailing list