Update on my problem

Russ Dill Russ.Dill at asu.edu
Thu Feb 21 14:27:35 EST 2002


On Thu, 2002-02-21 at 06:03, Chris Fowler wrote:
> Many of you guys lately has been halping overcome some issues I've been having during an initrd execution.  I appreciate the efforts.  I'm eamiling you to inform you what I did to fix it in case you ever run into the same problem. 
> 
> I have to compile my linuxrc.c program statically.  lib-c is just too big to place on a initrd image.  To keep the size down from 400k I used a program called diet.  It bacsically executes gcc and use some of its own libraries.  My loader 
> went from 400k to 22k using it.  This allowed me to stuff more program on the initrd image.  I ran into some major problems using zlib and this program so I wnet back to a normal static binary.  My loader is now 400k but seems to
> be working great.  I can download software packages form the network and use those as my roofs just as easy as the package on flash.  I can also restore a backup package that the user has the option to create at flash time.
> It appears to be working great.  

you probably want to check out uClibc at http://uclibc.org





More information about the linux-mtd mailing list