JFFS2 images: bugfixes and enhancements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | image_types.bbclass: do not force --no-cleanmarkers for jffs2meta/ | +2 | 0 replies | |
| 2/5 | image_types.bbclass: fix endiannes for sumtool (jffs2 summary)meta/ | +1 | 0 replies | |
| 3/5 | image_types.bbclass: fix EXTRA_IMAGECMD_sum.jffs2meta/ | +3 | 6 replies | |
| 4/5 | image_types.bbclass: add JFFS2_NOCLEANMARKERS variablemeta/ | +3 | 0 replies | |
| 5/5 | image_types.bbclass: add JFFS2_PADDING variablemeta/ | +2 | 0 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Andrea Adami |
|---|---|
| 1/5 | |
| 2/5 | |
| 3/5 | A-b |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] JFFS2 images: bugfixes and enhancements
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(-)
Signature · 1 line
1.8.1.5