summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-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
# Uncomment this to use iwmmxt optimizations. Remove the above xscale stuff first
# require conf/machine/include/tune-iwmmxt.inc
+IMAGE_DEPENDS_jffs2 += " genext2fs-native "
ROOT_FLASH_SIZE = "128"
IMAGE_CMD_jffs2 = " \
mkfs.jffs2 --root=${IMAGE_ROOTFS} \
--output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
--eraseblock=0x20000 --pad --faketime -n; \
sumtool -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
- -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs-summary.jffs2 \
- -e 0x20000 -p; \
- cd ${DEPLOY_DIR_IMAGE}; \
- rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2; \
- ln -fs ${IMAGE_NAME}.rootfs-summary.jffs2 \
- ${IMAGE_LINK_NAME}.rootfs-summary.jffs2 \
+ -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs-summary.jffs2 \
+ -e 0x20000 -p; \
+ cd ${DEPLOY_DIR_IMAGE}; \
+ ln -fs ${IMAGE_NAME}.rootfs-summary.jffs2 ${IMAGE_LINK_NAME}.rootfs-summary.jffs2; \
+ mkdir -p ${WORKDIR}/img; \
+ install -m 0644 ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.rootfs-summary.jffs2 \
+ ${WORKDIR}/img/em-x270-angstrom.jffs2; \
+ install -m 0644 ${DEPLOY_DIR_IMAGE}/uImage-em-x270.jffs2 ${WORKDIR}/img/em-x270-kernel.jffs2; \
+ size=`du -sk ${WORKDIR}/img | cut -f 1` ; ((size *= 120)) ; ((size /= 100)) ; \
+ genext2fs -d ${WORKDIR}/img -b $size ${DEPLOY_DIR_IMAGE}/updater-em-x270.ext2 \
"
#VOLATILE_STORAGE_SIZE = "128"