[Top] [All Lists]

Re: Building a stand-alone FS on a very limited flash (newbie question)

Subject: Re: Building a stand-alone FS on a very limited flash (newbie question)
From: Johannes Stezenbach <>
Date: Tue, 10 Jun 2003 14:26:09 +0200
In-reply-to: <>
Mail-followup-to: Johannes Stezenbach <>,
Original-recipient: rfc822;
References: <> <> <> <> <>
User-agent: Mutt/1.5.4i
Thiemo Seufer wrote:
> Baruch Chaikin wrote:
> > 
> > I'm using MIPS kernel 2.4.18 with NFS file system mounted on a RedHat 
> > machine. This works fine, but is unsuitable for system deployment. Do 
> > you have hints for me where to start, in order to put the file system on 
> > flash? The platform I'm using is very limited - only one MTD block of 
> > 2.5 MB is available for the file system, out of a 4 MB flash:
> >    0.5 MB is allocated for the firmware code
> >    1.0 MB for the compressed kernel image
> >    2.5 MB for the (compressed?) file system
> > 
> > For example, I've noticed LibC itself is ~5 MB !
> You'll need a smaller libc, dietlibc comes to mind.

The diet libc is the first choice when you want it lean and mean.
Best used in combination with Busybox (patch necessary because the
Busybox uses GNU extensions and BSD cruft which the diet libc maintainer
refuses to implement) or embutils (

OTOH, if you want shared library support, stable/working threads or iconv()
you must look elsewhere...


<Prev in Thread] Current Thread [Next in Thread>