summaryrefslogtreecommitdiff
path: root/meta/conf/machine
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-01-27 13:13:23 +0000
committerRichard Purdie <richard@openedhand.com>2007-01-27 13:13:23 +0000
commit02aa1079f87f11951ce83e7f698014ed7910635f (patch)
treeb0d472e55559af53cdb07e7f66d4a1c3fb0393e3 /meta/conf/machine
parent9055091c986a735c1c862653a0d92d807fea57a5 (diff)
downloadopenembedded-core-02aa1079f87f11951ce83e7f698014ed7910635f.tar.gz
openembedded-core-02aa1079f87f11951ce83e7f698014ed7910635f.tar.bz2
openembedded-core-02aa1079f87f11951ce83e7f698014ed7910635f.tar.xz
openembedded-core-02aa1079f87f11951ce83e7f698014ed7910635f.zip
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
Diffstat (limited to 'meta/conf/machine')
-rw-r--r--meta/conf/machine/include/zaurus-clamshell.conf7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/conf/machine/include/zaurus-clamshell.conf b/meta/conf/machine/include/zaurus-clamshell.conf
index fb2719717..432161d7f 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; \