[oe-commits] Koen Kooi : hawkboard, da850-omapl138-evm: change UBI parameters after kernel patch

git version control git at git.openembedded.org
Mon Aug 30 13:47:04 UTC 2010


Module: openembedded.git
Branch: testing-next
Commit: f4de7c054a17fed30ad358edad1f0b2e14e29e7d
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=f4de7c054a17fed30ad358edad1f0b2e14e29e7d

Author: Koen Kooi <k-kooi at ti.com>
Date:   Mon Aug 30 09:49:28 2010 +0200

hawkboard, da850-omapl138-evm: change UBI parameters after kernel patch

* sub-page size needs some looking at

---

 conf/machine/da850-omapl138-evm.conf |   26 +++++++++++++-------------
 conf/machine/hawkboard.conf          |    6 +++---
 2 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/conf/machine/da850-omapl138-evm.conf b/conf/machine/da850-omapl138-evm.conf
index 85a4ba0..64eace2 100644
--- a/conf/machine/da850-omapl138-evm.conf
+++ b/conf/machine/da850-omapl138-evm.conf
@@ -12,18 +12,18 @@ 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"
+# # From dmesg:
+# # UBI: smallest flash I/O unit:    2048
+# # UBI: logical eraseblock size:    126976 bytes
+# # from ubiattach stdout:
+# # UBI device number 0, total 971 LEBs (123293696 bytes, 117.6 MiB), available 958 LEBs (121643008 bytes, 116.0 MiB), LEB size 126976 bytes (124.0 KiB)
+# MKUBIFS_ARGS = "-m 2048 -e 126976 -c 948"
+#
+# # 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/hawkboard.conf b/conf/machine/hawkboard.conf
index 9a1443f..b6e7f2d 100644
--- a/conf/machine/hawkboard.conf
+++ b/conf/machine/hawkboard.conf
@@ -14,10 +14,10 @@ MACHINE_FEATURES = "kernel26 serial ethernet ide screen"
 # do ubiattach /dev/ubi_ctrl -m 4
 # From dmesg:
 # UBI: smallest flash I/O unit:    2048
-# UBI: logical eraseblock size:    129024 bytes
+# UBI: logical eraseblock size:    126976 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"
+# UBI device number 0, total 971 LEBs (123293696 bytes, 117.6 MiB), available 958 LEBs (121643008 bytes, 116.0 MiB), LEB size 126976 bytes (124.0 KiB)
+MKUBIFS_ARGS = "-m 2048 -e 126976 -c 948"
 
 # do ubiattach /dev/ubi_ctrl -m 4
 # from dmesg:





More information about the Openembedded-commits mailing list