Re: [Yaffs] Bad Block handling on YAFFS

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: ian@brightstareng.com
Date:  
To: gopher
CC: yaffs
Subject: Re: [Yaffs] Bad Block handling on YAFFS
On Thursday 31 August 2006 22:08, wrote:
> Could someone please point me in the direction where bad block
> handling is performed on YAFFS (512 byte page) and YAFFS2
> (2048 byte page)?


See the do {} while loop in
yaffs_guts.c:yaffs_WriteNewChunkWithTagsToNAND().
The error code from MTD via yaffs_WriteChunkWithTagsToNAND()
indicates failed write (to bad block).

-imcd