My system was based on PXA270£¬consists of linux2.6.9 + intel patches + cramfs +¡¡yaffs, nandflash was samsung K9F1208, 64M. and this chip was mounted as 3 yaffs partitions, After a period of usage of this system, there may appear a lot of badblocks,we can see the badblock messages in the kernel booting messages, and sometime one of the 3 partitions could be damaged entirely. the partitons which marked as badblocks cannot be erased by the 'mkyaffs' tool.when this occurs, the worst way is that the nandflash chip could be changed to another nandflash chip. somebody suggests me that I need to modify the 'mkyaffs' tool,and use 'mkyaffs' tool to erase the partition which ignoring the marked badblocks, because he doubts that the marked badblocks was not real phisical badblocks. Another suggestion is that I should tune the yaffs and mtd drivers cooperation, but I donnot know how to begin, the drivers inner schematics is not firmiliar to me, can anybody give me some further suggestion? I need all you to help me! --------------------------------- ÇÀ×¢ÑÅ»¢Ãâ·ÑÓÊÏä-3.5GÈÝÁ¿£¬20M¸½¼þ£¡