mbox series

[v2,0/5] DFU: new entity types and minor improvements

Message ID 20201222103224.9018-1-m.szyprowski@samsung.com
Headers show
Series DFU: new entity types and minor improvements | expand

Message

Marek Szyprowski Dec. 22, 2020, 10:32 a.m. UTC
Hi All,

This patchset adds support for SKIP and SCRIPT entity types to the DFU
subsystem. They significantly extends the flexibility of the storage
flashing commands. Together with the recently posted 'Add MBR partition
table creation and verify command' patchset and proper script it allows
to create the whole partition table during the board flashing. It also
easies the flashing by allowing to use the same images for different
board variants/types, as each board can now use only the relevant images
and skip the other ones without returning a failure.

Best regards
Marek Szyprowski
Samsung R&D Institute Poland


Changelog:
v2:
- updated the "dfu: add 'SKIP' entity" patch to the latest version
- added 'SCRIPT' DFU entity docs

v1: https://lists.denx.de/pipermail/u-boot/2020-December/435214.html
- initial version


Patch summary:

Jaehoon Chung (1):
  dfu: add 'SKIP' entity

Marek Szyprowski (4):
  dfu: mmc: use the default MMC device if entity specifies it as -1
  dfu: add 'SCRIPT' entity
  dfu: add support for the dfu_alt_info reintialization from the flashed
    script
  thor: add support for the dfu_alt_info reintialization from the
    flashed script

 cmd/dfu.c                   | 14 ++++++++++++-
 cmd/thordown.c              | 19 +++++++++++-------
 common/dfu.c                |  3 +++
 doc/README.dfu              | 30 +++++++++++++++++++++++++++-
 drivers/dfu/dfu.c           |  7 ++++++-
 drivers/dfu/dfu_mmc.c       | 39 ++++++++++++++++++++++++++++++++-----
 drivers/usb/gadget/f_thor.c |  3 +++
 include/dfu.h               |  4 ++++
 include/thor.h              |  2 ++
 9 files changed, 106 insertions(+), 15 deletions(-)

-- 
2.17.1