diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-01-04 12:59:28 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-01-04 12:59:28 +0000 |
commit | fe7eb79225aa51bc919357f395564eb4f5e0e6a6 (patch) | |
tree | 2974e3a0cefd3c4ab3f4a751b16a7ba868040fb3 | |
parent | 7b7f440346485307be1ce567119cf9c9aabde221 (diff) | |
download | openembedded-core-fe7eb79225aa51bc919357f395564eb4f5e0e6a6.tar.gz openembedded-core-fe7eb79225aa51bc919357f395564eb4f5e0e6a6.tar.bz2 openembedded-core-fe7eb79225aa51bc919357f395564eb4f5e0e6a6.zip |
em-x270: generate ext2 image for Compulab runtime updater
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3407 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | meta/conf/machine/em-x270.conf | 17 |
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" |