Smallest Initrd (ram disk)

Wolfgang Denk wd at denx.de
Fri Dec 27 11:22:39 EST 2002


In message <20021226224730.21626.qmail at web41210.mail.yahoo.com> you wrote:
>
> If i want to build a smallest possible initrd, can you

The  smallest  possible  ramdisk  would  probably  contain  just  the
/dev/directory  with  an  entry  for  /dev/console,  and a statically
linked application program by the name of /sbin/init or so.

> suggest where i can get it from or how i can build it?

See  Documentation/initrd.txt  that  comes  with  your  Linux  kernel
sources.

> I am working with a custom made PPC405 based board
> with just 8MB RAM.

8 MB is a lot. You  can  run  pretty  complex  systems  there  -  for
example, the default ramdisk size for the SELF package is 4 MB, about
half  of  which  is  unused. See the ELF package as included with our
ELDK,  or  see  ftp://ftp.denx.de/pub/LinuxPPC/usr/src/SELF/  for  am
older (and smaller) version.

Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
"What is wanted is not the will to believe, but the will to find out,
which is the exact opposite." - Bertrand Russell, _Sceptical_Essays_,
1928

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list