ARM MTD AFS v2 partition support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 of 10 patches 0 repliesNew
5 of 10 patches are in this archive. The cover letter announces 10.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 5/10 | mtd: afs: simplify partition parsing | +0 | 0 replies | |
| 6/10 | mtd: afs: simplify partition detection | +0 | 0 replies | |
| 7/10 | mtd: factor out v1 partition parsing | +0 | 0 replies | |
| 8/10 | mtd: afs: factor footer parsing into the v1 part parsing | +0 | 0 replies | |
| 10/10 | mtd: afs: add v2 partition parsing | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/10] ARM MTD AFS v2 partition support
Hi Linus,
Quoted 11 lines · Linus Walleij
Years ago, the ARM reference platforms moved away from the footer format parsed by the current AFS code in MTD. As far as I can tell this begun with the RealView reference designs (mach-realview) and the new format has been used in RealView, Versatile Express and recently the Juno Development platform (64bit).
The code has not been working for newer designs for a long time. Proper parsing of the flash image partitions is very helpful when you want to replace firmware when running full Linux and none of the boot monitors or boot loaders.
Quoted 7 lines
After this, AFS parsing will work on all ARM reference designs, or well, all I could test. I tested the Integrator/AP, RealView PB11MPCore and Juno Development Platform.
The first 9 patches basically refactors the current code to make the old partition format more encapsulated, while the last patch adds the new v2 format.
Pushed the first 4 to l2-mtd.git/next (for 4.5). I'll move them to /master when the merge window closes.
I'm reviewing the rest, but I have some comments on patch 5.
Also, do you have a pointer that documents the v2 format? I can probably find something myself, but I'm a bit lazy, and if you have something easy to point me to, that'd save me some time :)
Regards,
Brian