Re: [Yaffs] function nandmtd1_ReadChunkWithTagsFromNAND inya…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: thisway.diy
Date:  
To: yaffs
Subject: Re: [Yaffs] function nandmtd1_ReadChunkWithTagsFromNAND inyaffs_mtdif1.c can't recognise the bad block?
    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?