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

Heinrich Schuchardt xypron.glpk at gmx.de
Sun Aug 21 08:56:29 CEST 2022


On 7/22/22 19:42, jassisinghbrar at gmail.com wrote:
> From: Jassi Brar <jaswinder.singh at linaro.org>
>
> The mtd and synquacer (developerbox) support was dropped from v6[1]
> This patchset re-introduces the support over last v7[2] submission of the patchset.
>
> All the comments on this code over v5 submission have been addressed. Moving forward
> a changelog will be maintained.
>
> [1] https://lore.kernel.org/all/20220704051658.1085442-1-sughosh.ganu@linaro.org/
> [2] https://lore.kernel.org/all/20220714183913.118505-1-sughosh.ganu@linaro.org/

This new feature deserves a test that can executed in Gitlab.

Preferably we would test on the sandbox. But testing on QEMU using an
emulated flash would be another option.

Best regards

Heinrich

>
> Jassi Brar (2):
>    dt: fwu: developerbox: enable fwu banks and mdata regions
>    fwu: DeveloperBox: add support for FWU
>
> Sughosh Ganu (3):
>    dt/bindings: Add bindings for FWU Metadata mtd storage
>    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   |  13 +
>   board/socionext/developerbox/fwu_plat.c       |  95 ++++++
>   configs/synquacer_developerbox_defconfig      |  13 +-
>   doc/board/socionext/developerbox.rst          |  96 ++++++
>   .../firmware/fwu-mdata-mtd.yaml               |  38 +++
>   drivers/fwu-mdata/Kconfig                     |   8 +
>   drivers/fwu-mdata/Makefile                    |   1 +
>   drivers/fwu-mdata/fwu_mdata_mtd.c             | 308 ++++++++++++++++++
>   include/configs/synquacer.h                   |  10 +
>   lib/fwu_updates/Makefile                      |   1 +
>   lib/fwu_updates/fwu_mtd.c                     | 173 ++++++++++
>   13 files changed, 776 insertions(+), 3 deletions(-)
>   create mode 100644 board/socionext/developerbox/fwu_plat.c
>   create mode 100644 doc/device-tree-bindings/firmware/fwu-mdata-mtd.yaml
>   create mode 100644 drivers/fwu-mdata/fwu_mdata_mtd.c
>   create mode 100644 lib/fwu_updates/fwu_mtd.c
>



More information about the U-Boot mailing list