[PATCHv2 0/5] FWU: Add support for mtd backed feature on DeveloperBox

jassisinghbrar
2022-10-02T23:51:02Z

From: Jassi Brar <jaswinder.singh@linaro.org>

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

The patchset has been rebased on latest(v11) submission of FWU Multi Bank Update
feature by Sughosh[1].

[1] https://lore.kernel.org/u-boot/20220928092956.2535777-1-sughosh.ganu@linaro.org/

Masami Hiramatsu (3):
dt: fwu: developerbox: enable fwu banks and mdata regions
fwu: DeveloperBox: add support for FWU
tools: Add mkfwumdata tool for FWU metadata image

Sughosh Ganu (2):
FWU: Add FWU metadata access driver for MTD storage regions
FWU: mtd: Add helper functions for accessing FWU metadata

.../synquacer-sc2a11-developerbox-u-boot.dtsi | 22 +-
board/socionext/developerbox/Makefile | 1 +
board/socionext/developerbox/developerbox.c | 8 +
board/socionext/developerbox/fwu_plat.c | 68 ++++
configs/synquacer_developerbox_defconfig | 13 +-
doc/board/socionext/developerbox.rst | 96 ++++++
drivers/fwu-mdata/Kconfig | 17 +-
drivers/fwu-mdata/Makefile | 1 +
drivers/fwu-mdata/raw_mtd.c | 305 +++++++++++++++++
include/configs/synquacer.h | 10 +
include/fwu.h | 27 ++
lib/fwu_updates/Makefile | 1 +
lib/fwu_updates/fwu_mtd.c | 178 ++++++++++
tools/Kconfig | 9 +
tools/Makefile | 4 +
tools/mkfwumdata.c | 323 ++++++++++++++++++
16 files changed, 1079 insertions(+), 4 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

--
2.25.1