[Top] [All Lists]

Re: Ramdisk image on flash.

To: Tibor Polgar <>
Subject: Re: Ramdisk image on flash.
From: Alan Cox <>
Date: 20 Feb 2003 21:12:21 +0000
Cc: Mark Salter <>,,
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <> <20030220194115.2A21378A6D@deneb.localdomain> <>
On Thu, 2003-02-20 at 20:01, Tibor Polgar wrote:
> The original poster wanted a setup where the initrd was NOT part of the
> kernel, which begs the question of how/where it would be put into flash so
> something could load/uncompress it.   I'd love to have a way to decouple the
> two so i wouldn't have to recompile the kernel when i change the root image,
> but still not waste any space in flash.   I guess they could be written one
> after the other and the loader is just given a "load map" of where each one
> resides.   Would this satisfy Krishnakumar's requirements?

You probably also want them aligned to 256Kbyte after or similar so that you
can drop the initrd into a seperate erase block on the flash. There are
people doing this. Its actually not hard to hardwire an address into the
initrd code.

Red Boot knows how to do this nicely and it may be a good approach. It does
all the work for this on the ipaq for example.

You can also run some kernels out of flash, I've helped someone get the x86
kernels running from flash for example.

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