On 31-jan-2007, at 13:04, Breton M. Saunders wrote: The final image should be quite small.
It's still big-ish, mostly because I'm not too intimate with Python's inte!
rnals; don't quite know what I can and cannot remove from the python libraries.
I found one very nice module/framework for Python: Twisted (twistedmatrix.com), it makes it real easy to create a "superserver" on your headless ts board, replacing a couple of stuff you'd normally run. I've got a server running that serves web stuff and allows me tcp/ip based control over the things running on my board as well as a generic broadcaster: everything that happens is optionally broadcast to multiple clients. It's also loading kernel modules should the things I'm running require them (i.e. I'm using a zd1211b based wifi usb stick in it that I'd like to be able to control from a java GUI running on a client, the server will take care of loading zd1211b.o).
Nice stuff. One disadvantage: it's quite big, out of the box. The advantages however outweigh that problem, in my case!
.
I m!
ay even
replace /sbin/init with my python-based server and take care of everything from there.
__._,_.___
__,_._,___
|