summaryrefslogtreecommitdiff
path: root/conf/machine
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-07-29 17:42:35 +0000
committerKoen Kooi <koen@openembedded.org>2006-07-29 17:42:35 +0000
commitb38ef584b041214e046153d9c979f86256dd7457 (patch)
tree1ef0982d86cd815d6a229a9e40a7e57815b4b09e /conf/machine
parentaa543faf919c0340961dfafd4bdc3d3067adea68 (diff)
zaurus-clamshell.conf: add working jffs2 summary support. (contributed by o-hand.com)
Diffstat (limited to 'conf/machine')
-rw-r--r--conf/machine/include/zaurus-clamshell.conf9
1 files changed, 6 insertions, 3 deletions
diff --git a/conf/machine/include/zaurus-clamshell.conf b/conf/machine/include/zaurus-clamshell.conf
index da6c28c6e2..f85c2a1221 100644
--- a/conf/machine/include/zaurus-clamshell.conf
+++ b/conf/machine/include/zaurus-clamshell.conf
@@ -12,9 +12,12 @@ IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime \
${T}/${IMAGE_NAME}.rootfs.jffs2 > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.img"
# add a summary to the jffs2 file to make it mount a lot faster
-#EXTRA_IMAGECMD_jffs2 += "&& sumtool -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.img \
-# -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs-summary.img \
-# --eraseblock=0x4000"
+EXTRA_IMAGECMD_jffs2 += "&& sumtool -i ${T}/${IMAGE_NAME}.rootfs.jffs2 \
+ -o ${T}/${IMAGE_NAME}.rootfs.jffs2.summary \
+ --eraseblock=0x4000 -l -p"
+IMAGE_CMD_jffs2 += "; cat ${STAGING_LIBDIR}/sharp-flash-header/header-c700.bin \
+ ${T}/${IMAGE_NAME}.rootfs.jffs2.summary > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.summary.img"
+
GUI_MACHINE_CLASS = "bigscreen"
GPE_EXTRA_INSTALL += "gaim sylpheed"