All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] JFFS2 images: bugfixes and enhancements
@ 2013-10-20 22:34 Andrea Adami
  2013-10-20 22:34 ` [PATCH 1/5] image_types.bbclass: do not force --no-cleanmarkers for jffs2 Andrea Adami
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Andrea Adami @ 2013-10-20 22:34 UTC (permalink / raw)
  To: openembedded-core

The first patch is a bugfix allowing the creation of images with cleanmarkers
for devices with NOR flash.
The second and the third ones are fixes for the options passed to sumtool.

After those first patches it is possible to customize again i.e.

 EXTRA_IMAGECMD_JFFS2 = "--pad=14680064 -l --erase-block=${JFFS2_ERASEBLOCK}"

In the normal case (NAND flash) only JFFS2_ERASEBLOCK is necessary and
having to redeclare the full EXTRA_IMAGECMD_jffs2 seems counter-intuitive
and has revealed to be error-prone.

So, the fourth and fifth patches are proposed enhancements to further parametrize
for both jffs2 and sum.jffs2 images by using two new optional vars like done for
JFFS2_ERASEBLOCK:

JFFS2_ERASEBLOCK = "0x20000"
JFFS2_NOCLEANMARKERS = ""
JFFS2_PADDING = "--pad=14680064"

Andrea Adami (5):
  image_types.bbclass: do not force --no-cleanmarkers for jffs2
  image_types.bbclass: fix endiannes for sumtool (jffs2 summary)
  image_types.bbclass: fix EXTRA_IMAGECMD_sum.jffs2
  image_types.bbclass: add JFFS2_NOCLEANMARKERS variable
  image_types.bbclass: add JFFS2_PADDING variable

 meta/classes/image_types.bbclass | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

-- 
1.8.1.5



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-10-30 21:38 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-20 22:34 [PATCH 0/5] JFFS2 images: bugfixes and enhancements Andrea Adami
2013-10-20 22:34 ` [PATCH 1/5] image_types.bbclass: do not force --no-cleanmarkers for jffs2 Andrea Adami
2013-10-20 22:34 ` [PATCH 2/5] image_types.bbclass: fix endiannes for sumtool (jffs2 summary) Andrea Adami
2013-10-20 22:34 ` [PATCH 3/5] image_types.bbclass: fix EXTRA_IMAGECMD_sum.jffs2 Andrea Adami
2013-10-29 10:26   ` Andrea Adami
2013-10-29 11:01   ` Richard Purdie
2013-10-29 11:17     ` Andrea Adami
2013-10-29 11:45       ` Richard Purdie
     [not found]         ` <CAAQYJAs91R1qH8nvTGG_rSUg_JYcZq-sZgX23tHteyqWfBF4iQ@mail.gmail.com>
2013-10-29 15:33           ` Richard Purdie
2013-10-30 21:38             ` Andrea Adami
2013-10-20 22:34 ` [PATCH 4/5] image_types.bbclass: add JFFS2_NOCLEANMARKERS variable Andrea Adami
2013-10-20 22:34 ` [PATCH 5/5] image_types.bbclass: add JFFS2_PADDING variable Andrea Adami

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.