[meta-ti] [PATCH 4/4] am335x-evm.conf: Add 'ubi' to IMAGE_FSTYPES

Tom Rini trini at ti.com
Thu Mar 8 11:34:04 PST 2012


We also change to using '+=' not '?=' with IMAGE_FSTYPES and add the
required MKUBIFS_ARGS / UBINIZE_ARGS.  These are placed next to the
line that sets us to use the PSP kernel tree and reference the TI wiki
for the source of our info.

Signed-off-by: Tom Rini <trini at ti.com>
---
 conf/machine/am335x-evm.conf |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/conf/machine/am335x-evm.conf b/conf/machine/am335x-evm.conf
index eedf072..624f386 100644
--- a/conf/machine/am335x-evm.conf
+++ b/conf/machine/am335x-evm.conf
@@ -12,11 +12,15 @@ GUI_MACHINE_CLASS = "smallscreen"
 
 require conf/machine/include/ti33x.inc
 
-IMAGE_FSTYPES ?= "tar.bz2"
+IMAGE_FSTYPES += "ubi tar.bz2"
 
 SERIAL_CONSOLE = "115200 ttyO0"
 
 PREFERRED_PROVIDER_virtual/kernel = "linux-ti33x-psp"
+# UBI information, for more details see
+# http://processors.wiki.ti.com/index.php/UBIFS_Support
+MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 1580"
+UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
 
 PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
 
-- 
1.7.0.4




More information about the meta-ti mailing list