Found a potential bug in MTD

Frederic Giasson fgiasson at mediatrix.com
Tue May 29 15:37:36 EDT 2001


----Original Message-----
From: David Woodhouse [mailto:dwmw2 at infradead.org]
Sent: Tuesday, May 29, 2001 3:13 PM
To: Frederic Giasson
Cc: linux-mtd at lists.infradead.org
Subject: Re: Found a potential bug in MTD 



fgiasson at mediatrix.com said:
> 
> 	Maybe but the actual code does not work if you specify a 1x16
> geometry with an actual single 16 bits chip on the memory bus.

For CFI chips, I believe it works. The Compaq iPAQ 31xx series have 
precisely this arrangement.

I'm interested to know whether it's the CFI probe or the JEDEC probe which 
is working on your device. Please could you make it print the contents of 
cfi->cfi_mode after detecting the chip?



--
dwmw2
 

cfi->mode = 1 which means that MTD detects in JEDEC mode.  This result is
obtained by compiling the kernel with 1x16 geometry specification, and the
modification to cfi_qry_mode I talked about in a previous mail.

But Atmel chips are CFI, right?  Correct me if I am wrong. 

Frédéric Giasson







More information about the linux-mtd mailing list