Hi,
we are using YAFFS2 on 256 MB ST Micro Nand Flash.
Few times we have seen when the unit is powered up and tries to mount the
YAFFS2 files system, most of the blocks are marked bad and then every time
on mount it displays the messages
"Partially written block XXXX being set for retirement".
And all of these blocks are now MARKED BAD in NAND BBT.
we are usinh a mix of JFFS2 on small "ROOT FS" partition and YAFFS2 on
larger (200MB+) partition
All other partitions are fine at this point.
The Configuration we are using is
PXA255
ST Micro 256MB large page NAND Flash
Linux 2.6.20.3
YAFFS2 - Yaffs_checkptrw.c, v 1.13 2007/02/14
YAFFS_CHECKPOINT_VERSION 2
yaffs_guts.c, v 1.48 2007/03/12
yaffs_ecc.c v 1.9 2007/02/14
NAND Flash is partitioned as
0000 - 0x20000 ---> System Area
0x20000 - 0x100000 ---> Control
0x100000-0x300000 ----> kernel
0x300000-0x1300000 ---> Root File system ---- JFFS2
0x1300000-0xEE00000 ---> User File System ---- YAFFS2
Any Ideas? Does anybody else has seen similar issues
Any help is greatly appreciated.
thanks,
Arvind