aboutsummaryrefslogtreecommitdiffstats
path: root/conf/machine/tosa.conf
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2013-10-14 18:17:47 +0200
committerPaul Eggleton <paul.eggleton@linux.intel.com>2013-10-15 23:45:44 +0100
commit1872d64850270de5eb5c3ab43f922961741f7d3d (patch)
treee42be59991d4a7de5f9ce5d93c75b1aa024c277a /conf/machine/tosa.conf
parentab6a6c6fa59f65ab937f3d506136f11dce730e1d (diff)
downloadmeta-handheld-1872d64850270de5eb5c3ab43f922961741f7d3d.tar.gz
zaurus: readd specific bits to each machine
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Diffstat (limited to 'conf/machine/tosa.conf')
-rw-r--r--conf/machine/tosa.conf14
1 files changed, 12 insertions, 2 deletions
diff --git a/conf/machine/tosa.conf b/conf/machine/tosa.conf
index 70cfedd..dcfad04 100644
--- a/conf/machine/tosa.conf
+++ b/conf/machine/tosa.conf
@@ -2,8 +2,18 @@
#@NAME: Sharp Zaurus SL-6000
#@DESCRIPTION: Machine configuration for the PXA255 based Sharp Zaurus SL-6000 device
+# NAND factory-default
+# mtdparts=sharpsl-nand:7168k@0k(smf),28672k@7168k(root),-(home)
+
require conf/machine/include/zaurus.inc
require conf/machine/include/tune-xscale.inc
-# NAND factory-default
-# mtdparts=sharpsl-nand:7168k@0k(smf),28672k@7168k(root),-(home)
+ERASEBLOCKSIZE = "0x4000"
+
+EXTRA_IMAGECMD_jffs2 = "-p -l --eraseblock=${ERASEBLOCKSIZE}"
+EXTRA_IMAGECMD_sum.jffs2 = "${EXTRA_IMAGECMD_jffs2}"
+
+# UBI: max tosa (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"