It is still the question: my yaffs partition can't work at the second booting.
At the first booting, I can see lots of information, such as "page 1828 in gc has no object: 0 0 0 ".
I have taked an experiment:
1. Changed the "gcOk = yaffs_GarbageCollectBlock(dev, block);" to "gcOk = YAFFS_OK;",
in yaffs_CheckGarbageCollection of yaffs_guts.c,
2. re-burn the yaffs image
3. boot the system: it is ok
4. reboot the system: it is ok too.
Does yaffs_GarbageCollectBlock have some mistakes?