[SPAM] Re: P30 flash left in read status mode after a write

Nicolas Pitre nico at cam.org
Wed Feb 14 15:57:46 EST 2007


On Wed, 14 Feb 2007, Jon Ringle wrote:

> > And how do you determine that you have a read failure?
> >
> > Because the flash doesn't necessarily always have 0x00800080 to show 
> > when outside of the read mode.
> >   
> True. However, the data that is being read has magic values and a 
> checksum for validity, so the likelihood of a false positive on passing 
> these tests is extremely unlikely.
> > Of course, since you have an unusual setup you can have an unusual patch 
> > in your own kernel tree for this issue.  But this isn't entirely safe 
> > since the Pentium code might be fooled by some other flash status output 
> > that doesn,t look like a read failure.
> >   
> I was intending for just patching my own kernel tree for this issue, 
> since this issue is unlikely to be of wider audience appeal. I just 
> wanted to present my problem to people that are more knowledgeable with 
> the mtd code as a sanity check for my solution.

Your solution looked sane.


Nicolas




More information about the linux-mtd mailing list