aboutsummaryrefslogtreecommitdiffstats
path: root/conf/machine/c7x0.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf/machine/c7x0.conf')
-rw-r--r--conf/machine/c7x0.conf16
1 files changed, 13 insertions, 3 deletions
diff --git a/conf/machine/c7x0.conf b/conf/machine/c7x0.conf
index 2f228a0..3c8e69a 100644
--- a/conf/machine/c7x0.conf
+++ b/conf/machine/c7x0.conf
@@ -2,11 +2,21 @@
#@NAME: Sharp Zaurus SL-C7x0
#@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.inc
-require conf/machine/include/tune-xscale.inc
-
# NAND factory-default
# SL-C700 (corgi) mtdparts=sharpsl-nand:7168k@0k(smf),25600k@7168k(root),-(home)
# SL-C750 (Shepherd) mtdparts=sharpsl-nand:7168k@0k(smf),25600k@7168k(root),-(home)
# SL-C760 (Husky) mtdparts=sharpsl-nand:7168k@0k(smf),54272k@7168k(root),-(home)
# SL-C860 (Boxer) mtdparts=sharpsl-nand:7168k@0k(smf),54272k@7168k(root),-(home)
+
+require conf/machine/include/zaurus.inc
+require conf/machine/include/tune-xscale.inc
+
+ERASEBLOCKSIZE = "0x4000"
+
+EXTRA_IMAGECMD_jffs2 = "-p -l --eraseblock=${ERASEBLOCKSIZE}"
+EXTRA_IMAGECMD_sum.jffs2 = "${EXTRA_IMAGECMD_jffs2}"
+
+# UBI: max c7x0 (128-7 MiB = 7744 PEBs)
+# 121 x 1024 : 16 = 7744 PEBs
+MKUBIFS_ARGS = "-m 512 -e 15872 -c 7744 -x zlib"
+UBINIZE_ARGS = "-m 512 -p ${ERASEBLOCKSIZE} -s 256"