linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/10] ARM MTD AFS v2 partition support
@ 2015-10-15 13:08 Linus Walleij
  2015-10-15 13:08 ` [PATCH 01/10] mtd: afs: rename structs and functions for v1 Linus Walleij
                   ` (11 more replies)
  0 siblings, 12 replies; 22+ messages in thread
From: Linus Walleij @ 2015-10-15 13:08 UTC (permalink / raw)
  To: linux-arm-kernel

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.

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.

Linus Walleij (10):
  mtd: afs: rename structs and functions for v1
  mtd: enable AFS selection for ARM64
  mtd: afs: break out v1 footer magic to a define
  mtd: afs: refactor v1 partition parsing
  mtd: afs: simplify partition parsing
  mtd: afs: simplify partition detection
  mtd: factor out v1 partition parsing
  mtd: afs: factor footer parsing into the v1 part parsing
  mtd: afs: factor the IIS read into partition parser
  mtd: afs: add v2 partition parsing

 drivers/mtd/Kconfig |   2 +-
 drivers/mtd/afs.c   | 388 +++++++++++++++++++++++++++++++++++-----------------
 2 files changed, 263 insertions(+), 127 deletions(-)

-- 
2.4.3

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

end of thread, other threads:[~2015-11-11 18:46 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-15 13:08 [PATCH 00/10] ARM MTD AFS v2 partition support Linus Walleij
2015-10-15 13:08 ` [PATCH 01/10] mtd: afs: rename structs and functions for v1 Linus Walleij
2015-10-15 13:08 ` [PATCH 02/10] mtd: enable AFS selection for ARM64 Linus Walleij
2015-10-15 13:08 ` [PATCH 03/10] mtd: afs: break out v1 footer magic to a define Linus Walleij
2015-10-15 13:08 ` [PATCH 04/10] mtd: afs: refactor v1 partition parsing Linus Walleij
2015-10-15 13:08 ` [PATCH 05/10] mtd: afs: simplify " Linus Walleij
2015-11-11  2:28   ` Brian Norris
2015-10-15 13:08 ` [PATCH 06/10] mtd: afs: simplify partition detection Linus Walleij
2015-11-11  3:09   ` Brian Norris
2015-10-15 13:08 ` [PATCH 07/10] mtd: factor out v1 partition parsing Linus Walleij
2015-11-11  3:15   ` Brian Norris
2015-10-15 13:08 ` [PATCH 08/10] mtd: afs: factor footer parsing into the v1 part parsing Linus Walleij
2015-11-11  3:17   ` Brian Norris
2015-10-15 13:08 ` [PATCH 09/10] mtd: afs: factor the IIS read into partition parser Linus Walleij
2015-11-11 18:09   ` Brian Norris
2015-10-15 13:08 ` [PATCH 10/10] mtd: afs: add v2 partition parsing Linus Walleij
2015-11-11  3:20   ` Brian Norris
2015-11-11 18:46   ` Brian Norris
2015-10-26 13:10 ` [PATCH 00/10] ARM MTD AFS v2 partition support Linus Walleij
2015-11-11  2:15 ` Brian Norris
2015-11-11 15:13   ` Linus Walleij
2015-11-11 18:01     ` Brian Norris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).