[oe-commits] Ilya Petrov : motorola-ezx-base.inc: Add support for ubifs

git version control git at git.openembedded.org
Fri Jun 4 14:00:01 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 2db851158401c2cccb56a1f8fb88b659f5258019
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2db851158401c2cccb56a1f8fb88b659f5258019

Author: Ilya Petrov <ilya.muromec at gmail.com>
Date:   Fri May  7 08:34:14 2010 +0200

motorola-ezx-base.inc: Add support for ubifs

Signed-off-by: Ilya Petrov <ilya.muromec at gmail.com>
Signed-off-by: Antonio Ospite <ospite at studenti.unina.it>
Acked-by: Koen Kooi <koen at openembedded.org>

---

 conf/machine/include/motorola-ezx-base.inc |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/conf/machine/include/motorola-ezx-base.inc b/conf/machine/include/motorola-ezx-base.inc
index 76aa02b..a478041 100644
--- a/conf/machine/include/motorola-ezx-base.inc
+++ b/conf/machine/include/motorola-ezx-base.inc
@@ -39,6 +39,23 @@ PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
 IMAGE_FSTYPES ?= "jffs2"
 EXTRA_IMAGECMD_jffs2 = "--pad=14680064 --little-endian --eraseblock=0x20000 -n"
 
+# In order to enable UIBIFS add "uibi and ubifs"
+#IMAGE_FSTYPES += "ubi ubifs"
+
+# From dmesg:
+# UBI: smallest flash I/O unit:    1
+# UBI: logical eraseblock size:    131072 bytes
+# from ubiattach stdout:
+# UBI device number 0, total 1996 LEBs
+MKUBIFS_ARGS = "-m 1 -e 130944 -c 487"
+
+# from dmesg:
+# UBI: smallest flash I/O unit:    1
+# UBI: physical eraseblock size:   131072 bytes (128 KiB)
+# UBI: sub-page size:              512
+UBINIZE_ARGS = "-m 1 -p 128KiB "
+
+
 EXTRA_IMAGEDEPENDS += "ezx-boot-usb-native ezx-gen-blob"
 
 IMAGE_INSTALL_append += "\





More information about the Openembedded-commits mailing list