summaryrefslogtreecommitdiff
path: root/conf
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 /conf
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 'conf')
-rw-r--r--conf/machine/da850-omapl138-evm.conf15
-rw-r--r--conf/machine/include/davinci.inc2
2 files changed, 16 insertions, 1 deletions
diff --git a/conf/machine/da850-omapl138-evm.conf b/conf/machine/da850-omapl138-evm.conf
index b61c00ca27..85a4ba0848 100644
--- a/conf/machine/da850-omapl138-evm.conf
+++ b/conf/machine/da850-omapl138-evm.conf
@@ -11,4 +11,19 @@ UBOOT_LOADADDRESS = "0xc0008000"
MACHINE_FEATURES = "kernel26 serial ethernet"
+# do ubiattach /dev/ubi_ctrl -m 4
+# From dmesg:
+# UBI: smallest flash I/O unit: 2048
+# UBI: logical eraseblock size: 129024 bytes
+# from ubiattach stdout:
+# UBI device number 0, total 971 LEBs (125282304 bytes, 119.5 MiB), available 958 LEBs
+MKUBIFS_ARGS = "-m 2048 -e 129024 -c 950"
+
+# do ubiattach /dev/ubi_ctrl -m 4
+# from dmesg:
+# UBI: smallest flash I/O unit: 2048
+# UBI: physical eraseblock size: 131072 bytes (128 KiB)
+# UBI: sub-page size: 512
+UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
+
SERIAL_CONSOLE = "115200 ttyS2"
diff --git a/conf/machine/include/davinci.inc b/conf/machine/include/davinci.inc
index 79c001f879..a9a137c647 100644
--- a/conf/machine/include/davinci.inc
+++ b/conf/machine/include/davinci.inc
@@ -1,7 +1,7 @@
require conf/machine/include/tune-arm926ejs.inc
# Increase this everytime you change something in the kernel
-MACHINE_KERNEL_PR = "r46"
+MACHINE_KERNEL_PR = "r47"
TARGET_ARCH = "arm"