[PATCH] OneNAND: Simple Bad Block handling support
Kyungmin Park
kyungmin.park at samsung.com
Thu Sep 1 06:03:52 EDT 2005
Hi
>
> please let me bother you with another question.
> It's about scanning for bad blocks during reading/writing
> flash (/* TODO
> handling oob */...)
'TODO handling oob' is for YAFFS filesystem
In JFFS2, they only use erase mark at oob area
But YAFFS use some many files,
We needs to test YAFFS. currently not yet run and tested.
> What's the possibility of having a bad block at r/w?
OneNAND spec isn't
> very extensive regarding handling bad blocks beside the initial scan.
> Which things must/should be done by the flash driver, which
> ones by the
> file system in this case?
I don't know the exactly but I heard that JFFS2 handles runtime badblock
internally.
So OneNAND MTD don't care badblock handling in read/write function.
MTD only care the initial bad block at erase operation.
> I would be very grateful if you could give me a brief outline, I'm
> afraid BBM is a bit "too new" for us because we are used to
> operate on
> plain NOR... :-)
In our commercial software, we use another bad block handling, known as Bad
Block Management (BBM) based on replace instead of skip as BBT
So we don't care the intial bad and runtime bad.
Now we are trying to implement our scheme and will be released at open
source. But not yet available in this time.
If do you have any question. please let me know :)
Regards.
Kyungmin Park
More information about the linux-mtd
mailing list