copy filesystem to nand flash without ecc

Charles Manning manningc2 at actrix.gen.nz
Mon Feb 17 17:30:50 EST 2003


On Tue, 18 Feb 2003 05:02, kokseng choo wrote:
> tglx at linutronix.de wrote:
> >On Monday 17 February 2003 13:36, kokseng choo wrote:
> >
> >
> >Yep, but you still do not write fs-specific information in the OOB-area,
> >except the ecc.
> >This still solves not the problem to write a fs-image to the chip.

For YAFFS you should use

mkyaffs dev_name image_name

This formats and writes the image in one step. I do not suggest you use cp or 
erase.

-- CHarles




More information about the linux-mtd mailing list