aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2013-10-14 22:59:04 +0200
committerPaul Eggleton <paul.eggleton@linux.intel.com>2013-10-15 23:47:04 +0100
commit40c9882923f2a5f056a4d56acd9261cae9e8af96 (patch)
tree0b765ff679feaf8e9e7962eb2241ff4e412759c8
parent595eb8e3314384cf60e343d54c6046860a62327c (diff)
downloadmeta-handheld-40c9882923f2a5f056a4d56acd9261cae9e8af96.tar.gz
spitz.conf: reorder and add full example for SL-C3000
This device has different eraseblock size. Explain it clearly with example ready to un-comment. Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
-rw-r--r--conf/machine/spitz.conf16
1 files changed, 8 insertions, 8 deletions
diff --git a/conf/machine/spitz.conf b/conf/machine/spitz.conf
index d4243fa..6a74165 100644
--- a/conf/machine/spitz.conf
+++ b/conf/machine/spitz.conf
@@ -7,21 +7,21 @@
# 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"
-
-# Warning! SL-C3000 has "0x4000" (16MiB NAND)
+# Warning! SL-C3000 has "0x4000" eraseblock size (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"
+# EXTRA_IMAGECMD_jffs2 = "-p -l -e 0x4000"
# MKUBIFS_ARGS = "-m 512 -e 15872 -c 576 -x zlib"
# UBINIZE_ARGS = "-m 512 -p 16384 -s 256"
+require conf/machine/include/zaurus.inc
+require conf/machine/include/tune-xscale.inc
+
+MACHINE_FEATURES += "iwmmxt"
+PACKAGE_EXTRA_ARCHS_tune-xscale += "iwmmxt"
+
EXTRA_IMAGECMD_jffs2 = "-p -l -e 0x20000"
EXTRA_IMAGECMD_sum.jffs2 = "${EXTRA_IMAGECMD_jffs2}"