From 02aa1079f87f11951ce83e7f698014ed7910635f Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 27 Jan 2007 13:13:23 +0000 Subject: zaurus-clamshell.conf: Fix empty flash space messages on akita by setting eraseblock size correctly git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1209 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/conf/machine/include/zaurus-clamshell.conf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'meta/conf') diff --git a/meta/conf/machine/include/zaurus-clamshell.conf b/meta/conf/machine/include/zaurus-clamshell.conf index fb27197174..432161d7fe 100644 --- a/meta/conf/machine/include/zaurus-clamshell.conf +++ b/meta/conf/machine/include/zaurus-clamshell.conf @@ -5,11 +5,14 @@ PREFERRED_PROVIDER_xserver = "xserver-kdrive" EXTRA_IMAGEDEPENDS += "sharp-flash-header-c700 zaurus-updater" +ERASEBLOCKSIZE = "0x4000" +ERASEBLOCKSIZE_akita = "0x20000" + IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime \ - --output=${T}/${IMAGE_NAME}.rootfs.jffs2 --pad --little-endian --eraseblock=0x4000 -n \ + --output=${T}/${IMAGE_NAME}.rootfs.jffs2 --pad --little-endian --eraseblock=${ERASEBLOCKSIZE} -n \ && sumtool -i ${T}/${IMAGE_NAME}.rootfs.jffs2 \ -o ${T}/${IMAGE_NAME}.rootfs.jffs2.summary \ - --eraseblock=0x4000 -l -p; \ + --eraseblock=${ERASEBLOCKSIZE} -l -p; \ cat ${STAGING_LIBDIR}/sharp-flash-header/header-c700.bin \ ${T}/${IMAGE_NAME}.rootfs.jffs2 > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2; \ rm ${T}/${IMAGE_NAME}.rootfs.jffs2; \ -- cgit v1.2.3