NAND bbt build reads wrong oob data
Thomas Gleixner
tglx at linutronix.de
Fri Jul 15 09:57:48 EDT 2005
On Fri, 2005-07-15 at 00:58 -0700, Todd Poynor wrote:
> Thomas Gleixner wrote:
> > On Thu, 2005-07-14 at 20:19 -0700, Todd Poynor wrote:
> >
> > That's pretty strange. Which chip type are you using ?
>
> NAND device: Manufacturer ID: 0xec, Chip ID: 0x45 (Samsung NAND 32MiB
> 1,8V 16-bit)
I know whats the source of the problem.
The read_oob code is not handling 16 bit correctly. The nand_bbt code
wants to read 1 byte at an odd address which does not work for 16 bit
access.
I committed a similar workaround as you suggested, jst without the
builtin long read OOPS :)
tglx
More information about the linux-mtd
mailing list