From 55a310666b543e6beca47fa3c197492d5a6cf8ff Mon Sep 17 00:00:00 2001 From: Andrea Adami Date: Wed, 30 Oct 2013 22:27:43 +0100 Subject: 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 --- conf/machine/collie.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'conf') 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 -- cgit 1.2.3-korg