NAND ECC in linux-omap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux