summaryrefslogtreecommitdiff
path: root/recipes/linux
diff options
context:
space:
mode:
authorRoger Monk <r-monk@ti.com>2010-08-27 17:25:53 +0100
committerKoen Kooi <k-kooi@ti.com>2010-08-30 09:32:35 +0200
commit8dd16b11ebf4056881b69c9545dff0d367004890 (patch)
tree4e08acfea2063264e983058fce2b0357bc601d86 /recipes/linux
parentd8d7662d2774747dc3011927121bd771e87c180f (diff)
linux-davinci: Add patches to disable NAND SUBPAGE on da850-omapl138-evm/hawkboard
* NAND SUBPAGE seen to give problems with UBIFS * Workaround identified by Caglar * Applied configuration locally here to board files * Add Initial UBI settings to da850-omapl138 machine * Bump PR Signed-off-by: Roger Monk <r-monk@ti.com> Signed-off-by: Koen Kooi <k-kooi@ti.com>
Diffstat (limited to 'recipes/linux')
-rw-r--r--recipes/linux/linux-davinci/da850-omapl138-evm/0001-board-da850-evm-Disable-NAND-SUBPAGE.patch29
-rw-r--r--recipes/linux/linux-davinci/hawkboard/0001-board-da850-hawk-Disable-NAND-SUBPAGE.patch27
-rw-r--r--recipes/linux/linux-davinci_git.bb5
3 files changed, 60 insertions, 1 deletions
diff --git a/recipes/linux/linux-davinci/da850-omapl138-evm/0001-board-da850-evm-Disable-NAND-SUBPAGE.patch b/recipes/linux/linux-davinci/da850-omapl138-evm/0001-board-da850-evm-Disable-NAND-SUBPAGE.patch
new file mode 100644
index 0000000000..3653bdf747
--- /dev/null
+++ b/recipes/linux/linux-davinci/da850-omapl138-evm/0001-board-da850-evm-Disable-NAND-SUBPAGE.patch
@@ -0,0 +1,29 @@
+From 2ee9f2c655710d9e60a5a9b49871edc316e5363d Mon Sep 17 00:00:00 2001
+From: Roger Monk <r-monk@ti.com>
+Date: Wed, 25 Aug 2010 17:29:14 +0100
+Subject: [PATCH] board-da850-evm: Disable NAND SUBPAGE
+
+ * This was causing issues with UBI
+ * Solution/Workaround identified by Caglar Akyuz - now applied locally to board file
+
+Signed-off-by: Roger Monk <r-monk@ti.com>
+---
+ arch/arm/mach-davinci/board-da850-evm.c | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c
+index cfed439..502b914 100755
+--- a/arch/arm/mach-davinci/board-da850-evm.c
++++ b/arch/arm/mach-davinci/board-da850-evm.c
+@@ -187,7 +187,7 @@ static struct davinci_nand_pdata da850_evm_nandflash_data = {
+ .nr_parts = ARRAY_SIZE(da850_evm_nandflash_partition),
+ .ecc_mode = NAND_ECC_HW,
+ .ecc_bits = 4,
+- .options = NAND_USE_FLASH_BBT,
++ .options = NAND_USE_FLASH_BBT | NAND_NO_SUBPAGE_WRITE,
+ .timing = &da850_evm_nandflash_timing,
+ };
+
+--
+1.6.0.4
+
diff --git a/recipes/linux/linux-davinci/hawkboard/0001-board-da850-hawk-Disable-NAND-SUBPAGE.patch b/recipes/linux/linux-davinci/hawkboard/0001-board-da850-hawk-Disable-NAND-SUBPAGE.patch
new file mode 100644
index 0000000000..4ffe0e13da
--- /dev/null
+++ b/recipes/linux/linux-davinci/hawkboard/0001-board-da850-hawk-Disable-NAND-SUBPAGE.patch
@@ -0,0 +1,27 @@
+From 69600e5a42512204bc4eb83a3a459496b049107f Mon Sep 17 00:00:00 2001
+From: Roger Monk <r-monk@ti.com>
+Date: Wed, 25 Aug 2010 17:47:16 +0100
+Subject: [PATCH] board-da850-hawk: Disable NAND SUBPAGE
+
+ * This was causing issues with UBI
+ * Solution/Workaround identified by Caglar Akyuz - now applied locally to board file
+---
+ arch/arm/mach-davinci/board-da850-hawk.c | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/arch/arm/mach-davinci/board-da850-hawk.c b/arch/arm/mach-davinci/board-da850-hawk.c
+index 87ed017..bbfe32a 100644
+--- a/arch/arm/mach-davinci/board-da850-hawk.c
++++ b/arch/arm/mach-davinci/board-da850-hawk.c
+@@ -118,7 +118,7 @@ static struct davinci_nand_pdata da850_hawk_nandflash_data = {
+ .nr_parts = ARRAY_SIZE(da850_hawk_nandflash_partition),
+ .ecc_mode = NAND_ECC_HW,
+ .ecc_bits = 4,
+- .options = NAND_USE_FLASH_BBT,
++ .options = NAND_USE_FLASH_BBT | NAND_NO_SUBPAGE_WRITE,
+ .timing = &da850_hawk_nandflash_timing,
+ };
+
+--
+1.6.0.4
+
diff --git a/recipes/linux/linux-davinci_git.bb b/recipes/linux/linux-davinci_git.bb
index 01259d9edb..3f28a537d4 100644
--- a/recipes/linux/linux-davinci_git.bb
+++ b/recipes/linux/linux-davinci_git.bb
@@ -68,10 +68,13 @@ SRC_URI_append_da850-omapl138-evm = ${ARAGO_L1_URI}
SRC_URI_append_hawkboard = ${ARAGO_L1_URI}
SRC_URI_append_da850-omapl138-evm = "file://logo_linux_clut224.ppm \
+ file://0001-board-da850-evm-Disable-NAND-SUBPAGE.patch \
"
SRC_URI_append_hawkboard = "file://logo_linux_clut224.ppm \
- file://patch-2.6.33rc4-psp-to-hawkboard.patch "
+ file://patch-2.6.33rc4-psp-to-hawkboard.patch \
+ file://0001-board-da850-hawk-Disable-NAND-SUBPAGE.patch \
+ "
do_configure_prepend_dm355-leopard() {
sed -i s:2138:1381:g ${S}/arch/arm/tools/mach-types