On Thursday 31 August 2006 22:08,
gopher@singnet.com.sg 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