Re: Smallest Initrd (ram disk)
flat view
From: Wolfgang Denk <hidden>
Date: 2002-12-27 00:22:39
In message [ref] 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@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/