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

Marek Szyprowski m.szyprowski at samsung.com
Thu Dec 17 13:10:25 CET 2020


Hi All,

This patchset adds support for SKIP and SCRIPT entity types to the DFU
subsystem. They significantly extends the flexibility of the DFU
subsystem. Together with the recently posted 'Add MBR partition table
creation and verify command' patchset it allows to create the whole
partition table during the board flashing when one prepares a proper
script. 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


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 +++
 drivers/dfu/dfu.c           |  6 +++++-
 drivers/dfu/dfu_mmc.c       | 39 ++++++++++++++++++++++++++++++++-----
 drivers/usb/gadget/f_thor.c |  3 +++
 include/dfu.h               |  4 ++++
 include/thor.h              |  2 ++
 8 files changed, 76 insertions(+), 14 deletions(-)

-- 
2.17.1



More information about the U-Boot mailing list