Squeak for WinCE/x86?

Ken Causey ken at ineffable.com
Wed Aug 7 19:58:53 UTC 2002


On Wed, 2002-08-07 at 13:42, Cees de Groot wrote:
>  <reic0024 at d.umn.edu> said:
> >It would be less work to get a purely functional for Squeak system, very
> >small, but with everything you need.  Maybe it's possible, but you get
> >with this WinCE x86 image a fully functional browser w/ JavaScript and
> >128 bit SSL, a bunch of 'office' apps, PIM apps, drivers and windowing
> >system in about 16 MB. 
> >
> Ok, I thought you were talking about just using WinCE as the glue between
> Squeak and the metal, so I didn't look at apps. Linux-as-glue would probably
> fit in 16Mb (1Mb kernel, 1.5Mb libs, you could probably get the X server down
> to 2Mb but the standard one is 3Mb, the X libs account for 1.1Mb, and then
> you'd need one or two executables - ifconfig for example and a couple of kB in
> /etc, say another 512k; that's around 7Mb. My Squeak executable is around a
> megabyte, so you'd even have some 8Mb left for the image (probably more,
> because I'm quoting SuSE figures; the executables on distributions like Toms
> RTBT etcetera are usually quite a bit smaller).
> 

Some real numbers, just for fun.  This is from the current stable
Familiar distribution for the Compaq iPaq series of handhelds, and for
what it's worth no one considers it fully optimized for space because
its been decided that its really not worth the time since flash space
follows Moore's law just like the rest:

Kernel: ~850KB

kernel-2.4.7-rmk3-np1-devfs_hh12_arm.ipk  575 KB
kernel-modules-2.4.7-rmk3-np1-devfs_hh12_arm.ipk  260 KB
sound-modules-2.4.7-rmk3-np1-devfs_hh12_arm.ipk  12 KB
(might be some other modules you would want, but I don't think others
are necessary)

Libs: ~1MB

libc6_2.2.3-1_arm.ipk  1085 KB
(what else do you need?)

X Server: ~350KB

xserver-tiny-h3600_4.1-13_arm.ipk  345 KB

X Libs: ~600KB

xlibs_4.1-4_arm.ipk  590 KB

Let's budget another 2MB for what I've missed.  That's about 5.5 to 6
MB.  A little custom packaging could probably reduce this by a megabyte.

(Oh and just in case someone asks:  Yes these are compressed package
files, but you are going to use JFFS2 for your file system that provides
automatic zlib compression right?  Works out to about the same total
then.)

Ken

> -- 
> Cees de Groot               http://www.cdegroot.com     <cg at cdegroot.com>
> GnuPG 1024D/E0989E8B 0016 F679 F38D 5946 4ECD  1986 F303 937F E098 9E8B
> Cogito ergo evigilo
> 





More information about the Squeak-dev mailing list