Found a potential bug in MTD

Frederic Giasson fgiasson at mediatrix.com
Thu May 31 13:27:07 EDT 2001


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


----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

About my own last question, I just got the answer for someone at Atmel:
their chips are NOT CFI compliant.

Frédéric Giasson




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




More information about the linux-mtd mailing list