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
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.