aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2013-10-30 22:27:43 +0100
committerPaul Eggleton <paul.eggleton@linux.intel.com>2013-10-30 23:33:16 +0000
commit55a310666b543e6beca47fa3c197492d5a6cf8ff (patch)
treec8708affe42a5d9dfacb7b5829b4d90c4e9530ab /conf
parentc8394df41aab66b6f7ef4a4f65711e24a7cbbc5a (diff)
downloadmeta-handheld-55a310666b543e6beca47fa3c197492d5a6cf8ff.tar.gz
meta-handheld-55a310666b543e6beca47fa3c197492d5a6cf8ff.tar.bz2
meta-handheld-55a310666b543e6beca47fa3c197492d5a6cf8ff.zip
collie.conf: provide a custom EXTRA_IMAGECMD_sum.jffs2
Match the changes to image_types.bbclass in oe-core. REMARKS: Q: the sum.jffs2 image is really smaller than the .jffs2 A: If you run sumtool with --pad parameter then it pads the OUTPUT file with 0xFF to the end of the last used eraseblock. If you have empty eraseblocks at the end of your INPUT image then the sumtool skips those. Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/collie.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/conf/machine/collie.conf b/conf/machine/collie.conf
index bec8842..c98d2f4 100644
--- a/conf/machine/collie.conf
+++ b/conf/machine/collie.conf
@@ -6,8 +6,10 @@ require conf/machine/include/zaurus.inc
require conf/machine/include/tune-strongarm1100.inc
JFFS2_ERASEBLOCK = "0x20000"
-
+# For NOR flash we need the cleanmarkers so override the defaults
EXTRA_IMAGECMD_jffs2 = "--pad=14680064 -l -e ${JFFS2_ERASEBLOCK}"
+# sumtool does not accept the argument for --pad
+EXTRA_IMAGECMD_sum.jffs2 = "-p -l -e ${JFFS2_ERASEBLOCK}"
# UBI: max collie (14.125 = 113 PEBs)
# 14.125 x 1024 : 128 = 113 PEBs