aboutsummaryrefslogtreecommitdiffstats
path: root/conf/machine/include/motorola-ezx-base.inc
diff options
context:
space:
mode:
authorIlya Petrov <ilya.muromec@gmail.com>2010-05-07 08:34:14 +0200
committerAntonio Ospite <ospite@studenti.unina.it>2010-06-04 15:56:06 +0200
commit2db851158401c2cccb56a1f8fb88b659f5258019 (patch)
treee5e9a5b29c00da2ea37ff25aba93d299a142330c /conf/machine/include/motorola-ezx-base.inc
parent526917e269b7b4376ed3940f87d3a9f848f3f9d4 (diff)
downloadopenembedded-2db851158401c2cccb56a1f8fb88b659f5258019.tar.gz
motorola-ezx-base.inc: Add support for ubifs
Signed-off-by: Ilya Petrov <ilya.muromec@gmail.com> Signed-off-by: Antonio Ospite <ospite@studenti.unina.it> Acked-by: Koen Kooi <koen@openembedded.org>
Diffstat (limited to 'conf/machine/include/motorola-ezx-base.inc')
-rw-r--r--conf/machine/include/motorola-ezx-base.inc17
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 76aa02bbeb..a4780412d4 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 += "\