aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/machine/tx27.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/conf/machine/tx27.conf b/conf/machine/tx27.conf
index fd04a6319a..ef7742ef01 100644
--- a/conf/machine/tx27.conf
+++ b/conf/machine/tx27.conf
@@ -17,3 +17,11 @@ require conf/machine/include/tune-arm926ejs.inc
SERIAL_CONSOLE = "115200 ttymxc0"
ROOT_FLASH_SIZE = "128"
+
+IMAGE_FSTYPES ?= "jffs2"
+
+EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 \
+ --pad ; sumtool --eraseblock=0x20000 \
+ --littleendian --pad \
+ -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
+ -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2.summary"