NAND fail testing

Artem B. Bityuckiy dedekind at infradead.org
Thu Jan 13 13:24:04 EST 2005


On Thu, 13 Jan 2005, Thomas Gleixner wrote:

> On Thu, 2005-01-13 at 18:56, David A. Marlin wrote:
> > Thomas Gleixner wrote:
> > 
> > > 
> > > We have blocked the access to short writes. You can do the following:
> > > 
> > > Erase a block from userspace with flash_erase
> > > Write a page of all 0xff except one byte to the first page using
> > > nandwrite
> > > 
> > > Repeat until you get an error
> > 
> > Would this not still 'write' all bytes in the page (even though they are 
> > 0xff and unchanged), causing them to also wear and possibly fail?
> 
> Since the write is only from 1 -> 0 the page write command always
> "writes" all bytes regardless of the number of bytes you have supplied
> before. 
Even with taking into account this, we can not just safely rewrite the 
same page lots of times. If we do so, we can not assume anything about its 
content, even if we write the same every time. Correct me if I'm wrong.

> 
> tglx
> 
> 
> 
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
> 

--
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.




More information about the linux-mtd mailing list