diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2013-10-14 18:17:47 +0200 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-10-15 23:45:44 +0100 |
commit | 1872d64850270de5eb5c3ab43f922961741f7d3d (patch) | |
tree | e42be59991d4a7de5f9ce5d93c75b1aa024c277a /conf/machine/spitz.conf | |
parent | ab6a6c6fa59f65ab937f3d506136f11dce730e1d (diff) | |
download | meta-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/spitz.conf')
-rw-r--r-- | conf/machine/spitz.conf | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/conf/machine/spitz.conf b/conf/machine/spitz.conf index 0929029..e88462e 100644 --- a/conf/machine/spitz.conf +++ b/conf/machine/spitz.conf @@ -2,13 +2,32 @@ #@NAME: Sharp Zaurus SL-C3000 #@DESCRIPTION: Machine configuration for the Sharp Zaurus SL-C3000 device +# NAND factory-default +# SL-C3000 (spitz) mtdparts=sharpsl-nand:7168k@0k(smf),5120k@7168k(root),-(home) +# SL-C3100 (borzoi) mtdparts=sharpsl-nand:7168k@0k(smf),32768k@7168k(root),-(home) +# SL-C3200 (terrier) mtdparts=sharpsl-nand:7168k@0k(smf),44032k@7168k(root),-(home) + require conf/machine/include/zaurus.inc require conf/machine/include/tune-xscale.inc MACHINE_FEATURES += "iwmmxt" PACKAGE_EXTRA_ARCHS_tune-xscale += "iwmmxt" -# NAND factory-default -# SL-C3000 (spitz) mtdparts=sharpsl-nand:7168k@0k(smf),5120k@7168k(root),-(home) -# SL-C3100 (borzoi) mtdparts=sharpsl-nand:7168k@0k(smf),32768k@7168k(root),-(home) -# SL-C3200 (terrier) mtdparts=sharpsl-nand:7168k@0k(smf),44032k@7168k(root),-(home) +# Warning! SL-C3000 has "0x4000" (16MiB NAND) +# C3100 and C3200 have same 128MiB NAND device as akita +# +# SL-C3000 (16-7 MiB = 576 PEBs) +# 9 x 1024 : 16 = 576 PEBs +# ERASEBLOCKSIZE = "0x4000" +# MKUBIFS_ARGS = "-m 512 -e 15872 -c 576 -x zlib" +# UBINIZE_ARGS = "-m 512 -p 16384 -s 256" + +ERASEBLOCKSIZE = "0x20000" + +EXTRA_IMAGECMD_jffs2 = "-p -l --eraseblock=${ERASEBLOCKSIZE}" +EXTRA_IMAGECMD_sum.jffs2 = "${EXTRA_IMAGECMD_jffs2}" + +# UBI: max spitz (128-7 MiB = 968 PEBs) +# 121 x 1024 : 128 = 968 PEBs +MKUBIFS_ARGS = "-m 2048 -e 129024 -c 968 -x zlib" +UBINIZE_ARGS = "-m 2048 -p ${ERASEBLOCKSIZE} -s 512" |