summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/conf/machine/em-x270.conf17
1 files changed, 11 insertions, 6 deletions
diff --git a/meta/conf/machine/em-x270.conf b/meta/conf/machine/em-x270.conf
index b36c03ecd3..c45b9fb6b2 100644
--- a/meta/conf/machine/em-x270.conf
+++ b/meta/conf/machine/em-x270.conf
@@ -17,18 +17,23 @@ require conf/machine/include/tune-xscale.inc
17# Uncomment this to use iwmmxt optimizations. Remove the above xscale stuff first 17# Uncomment this to use iwmmxt optimizations. Remove the above xscale stuff first
18# require conf/machine/include/tune-iwmmxt.inc 18# require conf/machine/include/tune-iwmmxt.inc
19 19
20IMAGE_DEPENDS_jffs2 += " genext2fs-native "
20ROOT_FLASH_SIZE = "128" 21ROOT_FLASH_SIZE = "128"
21IMAGE_CMD_jffs2 = " \ 22IMAGE_CMD_jffs2 = " \
22 mkfs.jffs2 --root=${IMAGE_ROOTFS} \ 23 mkfs.jffs2 --root=${IMAGE_ROOTFS} \
23 --output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \ 24 --output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
24 --eraseblock=0x20000 --pad --faketime -n; \ 25 --eraseblock=0x20000 --pad --faketime -n; \
25 sumtool -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \ 26 sumtool -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
26 -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs-summary.jffs2 \ 27 -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs-summary.jffs2 \
27 -e 0x20000 -p; \ 28 -e 0x20000 -p; \
28 cd ${DEPLOY_DIR_IMAGE}; \ 29 cd ${DEPLOY_DIR_IMAGE}; \
29 rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2; \ 30 ln -fs ${IMAGE_NAME}.rootfs-summary.jffs2 ${IMAGE_LINK_NAME}.rootfs-summary.jffs2; \
30 ln -fs ${IMAGE_NAME}.rootfs-summary.jffs2 \ 31 mkdir -p ${WORKDIR}/img; \
31 ${IMAGE_LINK_NAME}.rootfs-summary.jffs2 \ 32 install -m 0644 ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.rootfs-summary.jffs2 \
33 ${WORKDIR}/img/em-x270-angstrom.jffs2; \
34 install -m 0644 ${DEPLOY_DIR_IMAGE}/uImage-em-x270.jffs2 ${WORKDIR}/img/em-x270-kernel.jffs2; \
35 size=`du -sk ${WORKDIR}/img | cut -f 1` ; ((size *= 120)) ; ((size /= 100)) ; \
36 genext2fs -d ${WORKDIR}/img -b $size ${DEPLOY_DIR_IMAGE}/updater-em-x270.ext2 \
32" 37"
33 38
34#VOLATILE_STORAGE_SIZE = "128" 39#VOLATILE_STORAGE_SIZE = "128"