All of lore.kernel.org
 help / color / mirror / Atom feed
* NAND ECC in linux-omap
@ 2010-08-17 21:56 Cliff Brake
  2010-08-18  4:14 ` Ghorai, Sukumar
  0 siblings, 1 reply; 11+ messages in thread
From: Cliff Brake @ 2010-08-17 21:56 UTC (permalink / raw)
  To: Linux OMAP Users, Sukumar Ghorai

Hi,

I'm using the latest pm branch (based on linux-omap I think), and
running into the following problems.

The first is my x-loader uses software ECC.  Looking in the omap nand
driver, I made the following change which gets x-loader/u-boot working
again:

diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c
index 133d515..1593c60 100644
--- a/drivers/mtd/nand/omap2.c
+++ b/drivers/mtd/nand/omap2.c
@@ -7,7 +7,7 @@
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  */
-#define CONFIG_MTD_NAND_OMAP_HWECC
+//#define CONFIG_MTD_NAND_OMAP_HWECC

 #include <linux/platform_device.h>
 #include <linux/dma-mapping.h>

But, I'm still getting a ton of ECC errors in JFFS2 flash filesystem.
Does anyone have any suggestions as to where to go from here?  I see
some patches on the mail lists from Sukumar Ghorai that make HW/SW ECC
selectable from the board file.

Thanks,
Cliff

-- 
=================
http://bec-systems.com

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-08-28 20:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-17 21:56 NAND ECC in linux-omap Cliff Brake
2010-08-18  4:14 ` Ghorai, Sukumar
2010-08-18 15:45   ` Cliff Brake
2010-08-20  0:27     ` Kevin Hilman
2010-08-24 13:51     ` Ghorai, Sukumar
2010-08-24 14:34       ` Cliff Brake
2010-08-24 17:10         ` Vimal Singh
     [not found]           ` <2A3DCF3DA181AD40BDE86A3150B27B6B031584E052@dbde02.ent.ti.com>
     [not found]             ` <AANLkTi=n_ojiG=BY0AskW-AhTX1mt2hxauLxDSvyfh4b@mail.gmail.com>
     [not found]               ` <AANLkTik3MADx8Vvp2z_KqqEG=oJEV8AQENMELCbAchBY@mail.gmail.com>
     [not found]                 ` <AANLkTinr_0iX9RyJ=S_0c7YL84LJX3q1anqWp16DMW_K@mail.gmail.com>
2010-08-27 20:36                   ` Vimal Singh
2010-08-27 20:36                     ` Vimal Singh
2010-08-28 20:09                     ` Ghorai, Sukumar
2010-08-28 20:09                       ` Ghorai, Sukumar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.