[PATCH v4 0/6] FWU: Add support for mtd backed feature on DeveloperBox
jassisinghbrar at gmail.com
jassisinghbrar at gmail.com
Mon Mar 27 23:14:58 CEST 2023
From: Jassi Brar <jaswinder.singh at linaro.org>
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/20230306231747.1888513-1-jassisinghbrar@gmail.com/
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
--
2.34.1
More information about the U-Boot
mailing list