From mboxrd@z Thu Jan 1 00:00:00 1970 From: Orjan Friberg Subject: Re: Spurious ECC errors with mtd_subpagetest (OMAP3, NAND) Date: Mon, 5 Mar 2012 10:09:44 +0100 Message-ID: <4F5482D8.4040901@flatfrog.com> References: <4F50F2AB.10209@flatfrog.com> <4F5475A8.3050600@flatfrog.com> <4F547FBE.4030805@parrot.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from hd5b91d02.k46641.sta.perspektivbredband.net ([213.185.29.2]:29942 "EHLO fg-dc1.flatfrog.local" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751998Ab2CEJJr (ORCPT ); Mon, 5 Mar 2012 04:09:47 -0500 In-Reply-To: <4F547FBE.4030805@parrot.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Matthieu CASTET Cc: Grazvydas Ignotas , "linux-mtd@lists.infradead.org" , "linux-omap@vger.kernel.org" On 03/05/2012 09:56 AM, Matthieu CASTET wrote: > Note that the omap driver is still broken : > http://article.gmane.org/gmane.linux.drivers.mtd/36079/match= > > We detected this when stressing a board. > > Because all of these bugs in omap driver, I wonder how many people really use > the mainline version. Do you know any repo where this is working correctly (linux-omap, or one of the vendor trees etc)? > Also if you use a nand that need 4-bit ECC, you need a better ecc than hamming. > You can use the bch code ( > http://article.gmane.org/gmane.linux.drivers.mtd/37864/match=omap ) Yes, I've been looking at the BCH 4-bit code (both generic implementations and the OMAP GPMC-enabled one) in u-boot and linux. -- Orjan Friberg FlatFrog Laboratories AB