Interest in DOC and YAFFS? --> YAFFS bootloading

Russ Dill Russ.Dill at asu.edu
Wed Sep 25 12:34:13 EDT 2002


On Wed, 2002-09-25 at 06:34, Henrik Nordström wrote:
> 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").

the block size needs to be changed to 4k, there are patches floating
around
 
> As the ramdisk is living within the buffer cache a ext2 image most likely 
> will do XIP.

I don't know about that, the data would need to be aligned to 4k, I
would think that the first part of most 4k pages would have fs
information or some such, someone can call me on this though





More information about the linux-mtd mailing list