Hi,

 

I am working with yaffs2 with “direct” approach (no linux).

During development of my system, there could be a case where some of the blocks on NAND which should be dedicated for yaffs partition were written previously by some other layer.

Sometimes, yaffs mount succeeds, but those several blocks are kept in NEEDS_SCANNING state and yaffs can’t use them.

Is there a way for me to know (i.e. during or after yaffs mount) that there are blocks that yaffs can’t handle, so I will erase them?

 

Thanks

 

-------------------------------------------------------------------------
Amir Comforti

Zoran Microelectronics Ltd
Phone:  +972 4 8546310

Email:   amir.comforti@zoran.com

Web:   
www.zoran.com
-------------------------------------------------------------------------