Skip to content

FWU: Add support for mtd backed feature on DeveloperBox

[email protected] u-boot 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest6 patches 31 repliesIn review
  2. v30 of 5 patches 0 repliesSuperseded
  3. v25 patches 11 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v10 of 5 patches0 repliesSuperseded

Changes in v4 from the cover letter

* Fix and Update documentation to also build optee for FWU FIP image.
* Fixed checkpatch warnings
* Made local functions static.
* Split config changes to a separate patch
* Fix authorship of three patches.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6FWU: Add FWU metadata access driver for MTD storage regionsdrivers/fwu-mdata/Kconfig drivers/fwu-mdata/Makefile drivers/fwu-mdata/raw_mtd.c+288 -07 replies
2/6FWU: mtd: Add helper functions for accessing FWU metadatainclude/fwu.h lib/fwu_updates/Makefile lib/fwu_updates/fwu_mtd.c+199 -02 replies
3/6tools: Add mkfwumdata tool for FWU metadata imagetools/Kconfig tools/Makefile tools/mkfwumdata.c+347 -016 replies
4/6dt: fwu: developerbox: enable fwu banks and mdata regionsarch/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi+46 -31 reply
5/6configs: move to new flash layout and boot flowconfigs/synquacer_developerbox_defconfig+2 -20 replies
6/6fwu: DeveloperBox: add support for FWUboard/socionext/developerbox/Makefile board/socionext/developerbox/developerbox.c board/socionext/developerbox/fwu_plat.c +3 more+233 -63 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/6] FWU: Add support for mtd backed feature on DeveloperBox

From: Jassi Brar <[email protected]>

Introduce support for mtd backed storage for FWU feature and enable it on Synquacer platform based DeveloperBox.

This revision is rebased onto patchset that trims the FWU api
https://lore.kernel.org/u-boot/[email protected]/

Changes since v3:
* Fix and Update documentation to also build optee for FWU FIP image.
* Fixed checkpatch warnings
* Made local functions static.
* Split config changes to a separate patch
* Fix authorship of three patches.

Jassi Brar (3):
dt: fwu: developerbox: enable fwu banks and mdata regions
configs: move to new flash layout and boot flow
fwu: DeveloperBox: add support for FWU

Masami Hiramatsu (3):
FWU: Add FWU metadata access driver for MTD storage regions
FWU: mtd: Add helper functions for accessing FWU metadata
tools: Add mkfwumdata tool for FWU metadata image

 .../synquacer-sc2a11-developerbox-u-boot.dtsi |  49 ++-
 board/socionext/developerbox/Makefile         |   1 +
 board/socionext/developerbox/developerbox.c   |   8 +
 board/socionext/developerbox/fwu_plat.c       |  57 +++
 configs/synquacer_developerbox_defconfig      |  12 +-
 doc/board/socionext/developerbox.rst          | 155 +++++++-
 drivers/fwu-mdata/Kconfig                     |  15 +
 drivers/fwu-mdata/Makefile                    |   1 +
 drivers/fwu-mdata/raw_mtd.c                   | 272 ++++++++++++++
 include/configs/synquacer.h                   |  10 +
 include/fwu.h                                 |  34 ++
 lib/fwu_updates/Makefile                      |   1 +
 lib/fwu_updates/fwu_mtd.c                     | 164 +++++++++
 tools/Kconfig                                 |   9 +
 tools/Makefile                                |   4 +
 tools/mkfwumdata.c                            | 334 ++++++++++++++++++
 16 files changed, 1115 insertions(+), 11 deletions(-)
 create mode 100644 board/socionext/developerbox/fwu_plat.c
 create mode 100644 drivers/fwu-mdata/raw_mtd.c
 create mode 100644 lib/fwu_updates/fwu_mtd.c
 create mode 100644 tools/mkfwumdata.c
Signature · 1 line
2.34.1