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 | |
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)
-rw-r--r-- | conf/machine/akita.conf | 2 | ||||
-rw-r--r-- | conf/machine/c7x0.conf | 2 | ||||
-rw-r--r-- | conf/machine/include/zaurus-2.6.inc | 26 | ||||
-rw-r--r-- | conf/machine/include/zaurus-clamshell.inc | 15 | ||||
-rw-r--r-- | conf/machine/spitz.conf | 2 |
5 files changed, 19 insertions, 28 deletions
diff --git a/conf/machine/akita.conf b/conf/machine/akita.conf index 9930c89c6a..4afa515c32 100644 --- a/conf/machine/akita.conf +++ b/conf/machine/akita.conf @@ -3,7 +3,7 @@ #@DESCRIPTION: Machine configuration for the Sharp Zaurus SL-C1000 device require conf/machine/include/zaurus-2.6.inc -require conf/machine/include/zaurus-clamshell.inc +require conf/machine/include/tune-xscale.inc PACKAGE_EXTRA_ARCHS += "iwmmxt" MACHINE_FEATURES += "iwmmxt" diff --git a/conf/machine/c7x0.conf b/conf/machine/c7x0.conf index 4daedde482..68c9ba4263 100644 --- a/conf/machine/c7x0.conf +++ b/conf/machine/c7x0.conf @@ -3,7 +3,7 @@ #@DESCRIPTION: Machine configuration for the Sharp Zaurus SL-C700, Sharp Zaurus SL-C750, Sharp Zaurus SL-C760, Sharp Zaurus SL-C860 devices require conf/machine/include/zaurus-2.6.inc -require conf/machine/include/zaurus-clamshell.inc +require conf/machine/include/tune-xscale.inc # NAND factory-default # SL-C700 (corgi) mtdparts=sharpsl-nand:7168k@0k(smf),25600k@7168k(root),-(home) 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) diff --git a/conf/machine/include/zaurus-clamshell.inc b/conf/machine/include/zaurus-clamshell.inc deleted file mode 100644 index 4fa9f75eb3..0000000000 --- a/conf/machine/include/zaurus-clamshell.inc +++ /dev/null @@ -1,15 +0,0 @@ -include conf/machine/include/tune-xscale.inc - -EXTRA_IMAGEDEPENDS += "sharp-flash-header-c700" - -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 ${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; \ - cat ${STAGING_LIBDIR}/sharp-flash-header/header-c700.bin \ - ${T}/${IMAGE_NAME}.rootfs.jffs2.summary > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.summary.jffs2; \ - rm ${T}/${IMAGE_NAME}.rootfs.jffs2.summary;" diff --git a/conf/machine/spitz.conf b/conf/machine/spitz.conf index 4fe62b5f43..0b5331eb44 100644 --- a/conf/machine/spitz.conf +++ b/conf/machine/spitz.conf @@ -3,7 +3,7 @@ #@DESCRIPTION: Machine configuration for the Sharp Zaurus SL-C3000 device require conf/machine/include/zaurus-2.6.inc -require conf/machine/include/zaurus-clamshell.inc +require conf/machine/include/tune-xscale.inc MACHINE_FEATURES += "iwmmxt" PACKAGE_EXTRA_ARCHS += "iwmmxt" |