Neil Williams: Embedded Debian still Debian?
The basic Debian debootstrap system is 180Mb or so. Embedded systems need a full GUI installation in 64Mb or less and a basic debootstrap-equivalent system of 10Mb or less.Such radical reductions in size mean radical changes to the structure of the the system itself. The question is, at what point does a modified Debian system become no longer Debian?
Main changes:
- Remove perl and reverse dependencies. There is simply no room for perl, let alone python or any other interpreted languages.
- Drop "Essential" - perl is classed as "Essential" for Debian so dropping perl means modifying "Essential", certainly. However, to give full flexibility for embedded systems, Emdebian is removing "Essential" completely. This means that all dependencies need to be specified in full but it also means that any workable package set can be used. (I'd like to have a configurable "Essential" that can be machine-specific so that a desktop can have a different "Essential" set to an iPAQ. If not, the iPAQ will simply have to do without "Essential" because the level of changes are not likely to be acceptable for the rest of Debian - and frankly, I'd be surprised if it was to be acceptable.)
- Modifying dependencies - cross building allows each package to be modified during the build, changing the options to ./configure to disable components that Debian enables. This can cause a few problems trying to mix-and-match Emdebian and Debian but customised Emdebian packages could help with that.
Main similarities:
- All packages are exclusively from Debian
- All packages buildable from source using packages in Debian Lenny.
- The majority of the Debian package set are available, within the constraints of the embedded device.
So the question is, lazyweb, how far do we go before you would regard Emdebian as no longer Debian?
I now have image tarballs for such a system - 18mb compressed with a full GPE GUI included, 48Mb installed. The scripts could, potentially, work with any debootstrap tarball.
Although based on debootstrap, the Emdebian set can be unpacked separately from debootstrap so that as much of the workload can be done on the build machine as possible. This allows the "installer" to simply copy the decompressed filesystem onto the device, run /sbin/ldconfig and dpkg --configure -a and it's ready to go.
I have a few issues to resolve within the packages themselves and within the available kernel for my test machine but the result is a full GUI installation that will fit on a 64Mb SD card (32Mb is a tad too small) with enough room to spare to add a Linux kernel zImage, modules.tgz, Windows executable/autorun runes and a bootloader. i.e. a possible method of installing Emdebian onto a handheld running Windows CE or Windows Mobile. The only issue is getting the right kernel and modules for the device.
These are important benefits, the cost is whether such an installation still qualifies as "Debian".
At what point does Debian cease to be Debian?
I don't think the first trip ever made a mention in either of our blogs.
Funny how an exhausting trip tends to stem the care factor to write about
it afterwards...
Anyway, Sarah was in a fair bit of pain last night when she went to bed,
and despite taking 800mg of Ibuprofen, some amount of Oxycodone, and some
sleeping tablets, she was up again under 2 hours later, in agony.
The main concern was that the staph infection she'd apparently had in the
incision a few weeks prior hadn't been kicked fully by the antibiotics, and
was coming back.
So off we trotted to Stanford's ER, getting there around 1am. Fortunately it
was very quiet (not that it matters when you mention the magic words "chest
pain") and Sarah got straight in.
They did the usual battery of tests and decided to keep her in for
observation, so I trundled off home for some sleep at about 5am.
They told her she could go home at about 1:30pm. Apparently the problem was
muscle spasms, which can happen in some people after having heart surgery
(even this long after the surgery). The solution? Valium. The poor girl's
going to rattle soon with all these pills.
They did some blood work and there's no sign of the staph infection.
Whatever pain medication they gave Sarah intravenously today made her
extremely nauseous, and she was still concerned about the state of the
incision around the area that had been weeping previously, so we trekked back
in to Stanford this afternoon to see the cardiologist, who wasn't concerned
about the incision at all. In fact, he said the surgical doctor had been a
bit generous with pronouncing a staph infection in the incision two weeks
previously, saying that the swab they took at the time probably just picked
it up off Sarah's skin, where it's quite common to be found. So she may
never have had a staph infection in the first place.
A few days ago, I asked
Long story short: I'm busy.
These days are quite busy. I'm working (you know, I need to eat so I've a job), to the point that I have many vacation days to take. So I'll be in holidays and offline from friday for 10 days.
I'm still working on
Bash, dash, posh, ksh, zsh, ... which one is the fastest one summing numbers?
Today I've been mostly unwell. Although I have managed to write some minor new code, and watch a little bit of Doctor Who on DVD.
Recently several people have been ranting about Ruby on Rails. I like it, but I wouldn't use it for personal development in a hurry. Deployment is fiddly, and upgrades are annoying.
But one thing that I utterly condemn Rails for is helping to spread bad paging throughout the online world.
So, what is "bad paging" and why is it important? Well cool URLs don't change, right? "Bad paging" is any user-interface which presents you with a limited view upon a changing list of items which is non-bookmarkable.
Consider the following "list". Assume it represents your view of a collection of items numbering 100+. You may only view ten items at a time; clicking "next", or "previous", to navigate your viewport:
mmap()/vmsplice() root exploit and fun with Xen: Today has been a very busy day. First of all, a new exploit was
Dear lazyweb,
... are still there, even if I don't blog about every single bit all the time. Most of the packages I care about are in good state, I even did jump on board of
We now have 30 complete languages in D-I:
bg cs de eo es eu fi fr gl gu it ja ko lt lv nb nl nn pl pt pt_BR ro
ru sk sl sv ta th vi zh_CN
Some progress was made for others, but I doubt we reach my unofficial target of
40 languages by Thursday February 14th which is the deadline set by Otavio, D-I release manager.
Incomplete languages: