From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from if04-mail-sr02-mia.mta.terra.com ([208.84.243.49]) by bombadil.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1Oyl0X-0007Au-7T for linux-mtd@lists.infradead.org; Thu, 23 Sep 2010 12:34:38 +0000 Message-ID: <5CF3F2DC51EE44339A376A026CA04E36@THOR> From: =?UTF-8?Q?Fl=C3=A1vio_Silveira?= To: "Guillaume LECERF" , "Wolfram Sang" References: <74A5BE60138147F696E151AACD52EDEE@THOR><20100923120534.GD2994@pengutronix.de> In-Reply-To: Subject: Re: [Help] SST39VF6401B Support Date: Thu, 23 Sep 2010 09:34:12 -0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 8bit Cc: linux-mtd@lists.infradead.org, Yegor Yefremov List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Guillaume, I know you asked for Wolfram logs but just for you to know, I tried enabling DEBUG_CFI but no new output than before. Never tried DEBUG_CFI_FEATURES though. What output should I expect from both? The only thing I see is "pflash: cfi_probe failed" Regards, Flavio ----- Original Message ----- From: "Guillaume LECERF" To: "Wolfram Sang" Cc: "Flávio Silveira" ; ; "Yegor Yefremov" Sent: Thursday, September 23, 2010 9:23 AM Subject: Re: [Help] SST39VF6401B Support 2010/9/23 Wolfram Sang : > >> Thanks for your response. Does this mean this chip isn't CFI >> compliant? Like, datasheet says it is, but not really. > > SST? Broken CFI happened to me, too :( > http://patchwork.ozlabs.org/patch/51027/ This patch [1] (tried to) add support for your chip. According to the datasheet [2], it uses addr_unlock1 = 0x555 and addr_unlock2 = 0x2AA, and has no extended query table. So this chip must be handled by the fixup_sst39vf_rev_b() fixup function. Could you provide us with a more detailed log, i.e. with DEBUG_CFI_FEATURES enabled in cfi_cmdset_0002.c and DEBUG_CFI in cfi_probe.c ? [1] http://patchwork.ozlabs.org/patch/50906/ [2] http://www.sst.com/dotAsset/40661.pdf -- Guillaume LECERF GeeXboX developer - www.geexbox.org