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 /meta/conf | |
parent | 7b7f440346485307be1ce567119cf9c9aabde221 (diff) | |
download | poky-fe7eb79225aa51bc919357f395564eb4f5e0e6a6.tar.gz |
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
Diffstat (limited to 'meta/conf')
-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 | |||
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 | ||
20 | IMAGE_DEPENDS_jffs2 += " genext2fs-native " | ||
20 | ROOT_FLASH_SIZE = "128" | 21 | ROOT_FLASH_SIZE = "128" |
21 | IMAGE_CMD_jffs2 = " \ | 22 | IMAGE_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" |