[oe] [meta-handheld][PATCH] spitz.conf: reorder and add full example for SL-C3000
Andrea Adami
andrea.adami at gmail.com
Mon Oct 14 20:59:04 UTC 2013
This device has different eraseblock size.
Explain it clearly with example ready to un-comment.
Signed-off-by: Andrea Adami <andrea.adami at gmail.com>
---
conf/machine/spitz.conf | 16 ++++++++--------
1 file 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 at 0k(smf),32768k at 7168k(root),-(home)
# SL-C3200 (terrier) mtdparts=sharpsl-nand:7168k at 0k(smf),44032k at 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}"
--
1.8.1.5
More information about the Openembedded-devel
mailing list