From: Robert Schwebel Date: Mon, 2 Feb 2004 16:31:51 +0100 Subject: [U-Boot-Users] Is ramdisk a must or not? In-Reply-To: <20040202150228.41627.qmail@web15203.mail.bjs.yahoo.com> References: <20040202150228.41627.qmail@web15203.mail.bjs.yahoo.com> Message-ID: <20040202153150.GI23652@pengutronix.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Feb 02, 2004 at 11:02:28PM +0800, Sam Song wrote: > 1.Is ramdisk a must or not for embedded application? No, you don't need a RAM-disk. U-Boot can directly boot from a flash partition (for example a cramfs or JFFS2 partition). > and some web pages,they say an initrd image is needed > for loading your SCSI module at boot time.So if I > didn't use SCSI module,I would save the initrd > image.Is that so? In embedded applications you normally _know_ which hardware you have, so either compile it directly into the kernel or load your module from a script while starting. > 2.What advantage does ramdisk have?In which situation > should we use it? Initrds were invented for distributors; they normally don't know which hardware the user boots on, but have to supply drivers for every possible device. Robert -- Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Hornemannstra?e 12, 31137 Hildesheim, Germany Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4