Subject: Re: Small Kernel Help
To: Matthew Orgass <email@example.com>
From: Ignatios Souvatzis <firstname.lastname@example.org>
Date: 01/06/2000 19:57:03
On Thu, Jan 06, 2000 at 04:32:12AM -0500, Matthew Orgass wrote:
> On Wed, 5 Jan 2000, Grant Stockly wrote:
> > Would anyone mind helping me isolate the most important parts of the NetBSD
> > kernel? I want to attempt to take out most support (all networking, all
> > peripheral support...) and get it down to 120k.
> > I want to make this ROMable with support for a custom flash file system.
> Hmm... this may be difficult. 120k is very small... with a 1 block
> memory disk, isa bus, npx, pccons, EXEC_ELF, I386_CPU, and -Os I can get
> an i386 kernel down to about 540k (I believe this is the minimum for an
> i386 using config). The 68k ports might be smaller then this to start
> out. It looks like little bits and pieces of quite a few other things
> were pulled in because something depended on them, so rototilling this
> should save you some space. And you will save more space by having just
> your fs code. But you will probably need quite a bit of effort to get it
> to 120k (just UVM probably takes up most of that).
uhm, for small code size, port to a exxxxxxtreme CISC cpu, like VAX.