Skip to contentSkip to conversation

spitz.conf: reorder and add full example for SL-C3000

PATCH New Andrea Adami 1 participant 1 message Oct 14, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 conf/machine/spitz.conf | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
conf/machine/spitz.conf +8 -8
index d4243fa..6a74165 100644
@@ -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}"
 
Signature · 1 line
1.8.1.5