Author: Charles Manning Date: To: yaffs Subject: Re: [Yaffs] Does Yaffs2 uses NAND Flash SPARE AREA at all?
On Friday 21 May 2010 12:46:37 subbarao mungara wrote: > Hi,
>
> When I traced the calls to a mtd nand flash device driver, while
> copying a big file to yaffs2 file system. I never saw the driver's
> ecc.writeoob routine being at all but the file contents get copied
> correctly.
> I am wondering if yaffs2 ever writes to NAND flash OOB area at all?
It depends on whether or not you're using inband tags.
If the inband tags are used then the tags are stored in the data area.
Otherwise the tags will be stored in the spare area.
Using the spare area is almost always considerably faster.