Interest in DOC and YAFFS? --> YAFFS bootloading

Henrik Nordström hno at marasystems.com
Wed Sep 25 09:34:11 EDT 2002


On 25 Sep 2002, Russ Dill wrote:

> the compressed cramfs image will be loaded into ram, and then, from
> there, as pages are needed, they will be decompressed again and put into
> ram (but again, if memory is in a pinch, these pages can be dropped). I
> don't know if an ext2 initrd will do XIP (execute in place), but I
> somehow doubt that anyone has worked on that, meaning that the pages
> would need to be copied again, in which case, a cramfs would use less
> ram.

I have never succeded in getting cramfs to work from a ramdisk.. it does 
something magic with blocksizes that seems to srew up the ramdisk data 
(first blocks get "forgotten").

As the ramdisk is living within the buffer cache a ext2 image most likely 
will do XIP.

Regards
Henrik






More information about the linux-mtd mailing list