Author: Charles Manning Date: To: yaffs Subject: Re: [Yaffs] Concerned about partially written block detected
On Thursday 17 March 2011 03:33:32 David Peverley wrote: > Hi,
>
> I know this is a VERY old thread but I thought I'd resurrect it as it
> had something interesting in...!
>
> On 04/25/2010 04:34 PM, Charles Manning wrote:
> > This gets really heavy testing in one of my test harnesses which fakes
> > power failures. It tests millions of power failures and runs for the
> > whole week end.
>
> Is this test harness available anywhere? My gut tells me that I may be
> seeing an error related to power failure and I reckon replicating your
> test against both the NAND simulator and the actual MTD driver would
> be a great place to start.
>
> Cheers,
>
> ~Pev
The test harness code is in yaffs2/direct/tests. Read the README which should
be reasonably up to date.
NB It is expected that the NOR tests, as configured, will fail after many
cycles. The NAND tests should not fail.