diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2013-10-30 22:27:43 +0100 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-10-30 23:33:16 +0000 |
commit | 55a310666b543e6beca47fa3c197492d5a6cf8ff (patch) | |
tree | c8708affe42a5d9dfacb7b5829b4d90c4e9530ab /conf | |
parent | c8394df41aab66b6f7ef4a4f65711e24a7cbbc5a (diff) | |
download | meta-handheld-55a310666b543e6beca47fa3c197492d5a6cf8ff.tar.gz |
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.conf | 4 |
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 |