[oe] [meta-handheld][PATCH] collie.conf: provide a custom EXTRA_IMAGECMD_sum.jffs2
Andrea Adami
andrea.adami at gmail.com
Wed Oct 30 21:27:43 UTC 2013
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 at gmail.com>
---
conf/machine/collie.conf | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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
--
1.8.1.5
More information about the Openembedded-devel
mailing list