diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2010-04-20 20:43:59 +0200 |
---|---|---|
committer | Andrea Adami <andrea.adami@gmail.com> | 2010-04-21 00:03:42 +0200 |
commit | e9ec37937e84b112ab219104faf6d21f02bcd277 (patch) | |
tree | 41606ccfd537f7b9c127b47b41dc09dc38ff0a10 /conf/machine/include/zaurus-2.6.inc | |
parent | de4a5bc6f2468bbb65d362eddb372226463d66e3 (diff) |
zaurus-2.6.inc: merge the jffs2 bits from zaurus-clamshells.inc.
* remove the legacy headers needed for vanilla Sharp images.
* (the checksum was anyway broken)
Diffstat (limited to 'conf/machine/include/zaurus-2.6.inc')
-rw-r--r-- | conf/machine/include/zaurus-2.6.inc | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/conf/machine/include/zaurus-2.6.inc b/conf/machine/include/zaurus-2.6.inc index 1b5599b55c..d713883d71 100644 --- a/conf/machine/include/zaurus-2.6.inc +++ b/conf/machine/include/zaurus-2.6.inc @@ -2,16 +2,6 @@ # Zaurus common settings ######################## -IMAGE_FSTYPES += "jffs2 tar.gz" -EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=${ERASEBLOCKSIZE} --pad --faketime -n" - -EXTRA_IMAGEDEPENDS += "zaurus-installer" - - -###### -# nand -###### - ERASEBLOCKSIZE = "0x4000" ERASEBLOCKSIZE_akita = "0x20000" @@ -19,6 +9,22 @@ ERASEBLOCKSIZE_akita = "0x20000" # C3100 and C3200 have same 128MiB NAND device as akita ERASEBLOCKSIZE_spitz = "0x20000" +IMAGE_FSTYPES += "jffs2 tar.gz" + +# kernel now supports favourlzo +IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime -m favourlzo \ + --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=${ERASEBLOCKSIZE} -l -p; \ + cat ${T}/${IMAGE_NAME}.rootfs.jffs2 > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2; \ + rm ${T}/${IMAGE_NAME}.rootfs.jffs2; \ +# cat ${T}/${IMAGE_NAME}.rootfs.jffs2.summary > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.summary.jffs2; \ +# rm ${T}/${IMAGE_NAME}.rootfs.jffs2.summary;" + + +EXTRA_IMAGEDEPENDS += "zaurus-installer" + ######### # xserver (FIXME: xserver-xorg is in testing on spitz) |