[Yaffs] Yaffs Packed Tags and bad block markings

Thomas Gleixner tglx@linutronix.de
Wed, 23 Mar 2005 23:46:40 +0100


On Wed, 2005-03-23 at 16:55 -0500, Lance Ware wrote:
> I am using yaffs2 and i am looking at the arrangement of the extended
> tags areas.  My question is i have a Samsung chip which uses bad block
> markers at the 0 byte of the 64-byte spare area.  But when i pass the
> extended tags parameter to my nand_write function, the bad block maker
> is overwritten with the tag information. 

What is your nand_write function ? Userspace application ?

>  I was wondering was their a way to change the arrangement of the bad
> block marker. 

No

> Or should i handle this in the mtd-layer.  I was wondering what the
> layout of the extended tag area supposed to be in the nand spare area.

The mtd layer uses a autoplacement scheme, which respects the reserved
bytes in the oob area (bad block marker, ECC)

tglx