cfi_cmdset_0002 -- erase suspends broken.

Thayne Harbaugh tharbaugh at lnxi.com
Fri Dec 12 12:05:08 EST 2003


On Fri, 2003-12-12 at 03:31, David Vrabel wrote:
> Hi,
> 
> The latest cfi_cmdset_0002.c (AMD chips) in CVS has broken erase-suspends.

I knew there was a possibility of this, but didn't have hardware and
software for a good test.

> 1. Erase suspend command must be written to the block to be resumed.
> 2. When erasing DQ2 must a) be read from the erase in progress block b) 
> doesn't indicate that an erase has been suspended.  DQ6 is the toggle 
> bit to check.
> 
> There's a patch attached that fixes these issues.

Wonderful.  I need to look through it a bit more.

>   It's a 
> work-in-progress as there's still an issue remaining -- JFFS2 reports 
> (for example):
> 
> "Newly-erased block contained word 0xff7fffff at offset 0x00ca4540
> Newly-erased block contained word 0xffefffff at offset 0x00c90a14
> Newly-erased block contained word 0xffffffbf at offset 0x00c82ef4
> Newly-erased block contained word 0xfffffbff at offset 0x00df0e20
> Newly-erased block contained word 0xfffffffe at offset 0x00de0010"
> 
> My 1st thought was that some toggle/status bit were still active but it 
> doesn't really make sense.

I'll be looking for another patch, then. 8^)

-- 
Thayne Harbaugh
Linux Networx




More information about the linux-mtd mailing list