On 9/13/06, Wookey <
wookey@aleph1.co.uk> wrote:
> [balloon people - this is from thread starting here:
> http://aleph1.co.uk/lurker/thread/20060913.132332.e9966350.en.html]
>
> > >Enabling the CONFIG_YAFFS_DOES_ECC option should still work though,
> > >shouldn't it? While I agree that using the MTD ECC is probably saner I'm
> > >guessing that if yaffs does things slightly differently that method
> > >still needs support - eg for other OSes that might use yaffs partitions
> > >that need mounted under Linux or bootloaders.
>
> Yes. Yaffs needs to be able to do it's own ECC for YAFFS/direct or
> indeed any other situation where there isn't something else like MTD
> to do the work for it.
Oh I see the problem now.
I think however that the best thing to do here is to use the same
'default' OOB layouts MTD uses so that the ECC bytes were placed in
OOB in the same way. If that solution is fine for you, YAFFS own ECC
can still be used on most flashes, with some precautions though.
Vitaly