From 2db851158401c2cccb56a1f8fb88b659f5258019 Mon Sep 17 00:00:00 2001 From: Ilya Petrov Date: Fri, 7 May 2010 08:34:14 +0200 Subject: motorola-ezx-base.inc: Add support for ubifs Signed-off-by: Ilya Petrov Signed-off-by: Antonio Ospite Acked-by: Koen Kooi --- conf/machine/include/motorola-ezx-base.inc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'conf/machine/include/motorola-ezx-base.inc') 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 += "\ -- cgit 1.2.3-korg