[U-Boot] [PATCH v4 0/9] dfu: tftp: update: Support for DFU upgrades via ETH (TFTP)

Lukasz Majewski l.majewski at majess.pl
Mon Aug 24 00:21:41 CEST 2015


This commit series enables DFU subsystem to use ETH and TFTP protocol as 
a medium for downloading data, which should bring substantial speedup
for writing large files (like rootfs).

Please read provided ./doc/README.dfutftp documentation entry for more
information.

Those patches should be applied on the u-boot/master branch:
SHA1: 8d77576371381ade83de475bb639949b44941e8c

Lukasz Majewski (9):
  doc: dfu: tftp: README entry for TFTP extension of DFU
  net: tftp: Move tftp.h file from ./net to ./include/net
  tftp: update: Allow some parts of the code to be reused when
    CONFIG_SYS_NO_FLASH is set
  dfu: tftp: update: Provide tftp support for the DFU subsystem
  dfu: tftp: update: Add dfu_write_from_mem_addr() function
  update: tftp: dfu: Extend update_tftp() function to support DFU
  dfu: command: Extend "dfu" command to handle receiving data via TFTP
  dfu: tftp: Kconfig: Add Kconfig entry for dfu tftp feature
  dfu: tftp: Kconfig: Enable DFU_TFTP support on the
    am335x_boneblack_defconfig

 common/Makefile                    |   1 +
 common/cmd_dfu.c                   |  20 +++++++
 common/cmd_fitupd.c                |   2 +-
 common/main.c                      |   2 +-
 common/update.c                    |  58 +++++++++++++------
 configs/am335x_boneblack_defconfig |   1 +
 doc/README.dfutftp                 | 114 +++++++++++++++++++++++++++++++++++++
 doc/README.update                  |   7 +++
 drivers/dfu/Kconfig                |  10 ++++
 drivers/dfu/Makefile               |   1 +
 drivers/dfu/dfu.c                  |  37 ++++++++++++
 drivers/dfu/dfu_tftp.c             |  65 +++++++++++++++++++++
 include/dfu.h                      |  41 +++++++++++++
 include/net.h                      |  14 ++++-
 {net => include/net}/tftp.h        |   0
 net/bootp.c                        |   2 +-
 net/net.c                          |   2 +-
 net/rarp.c                         |   2 +-
 net/tftp.c                         |   2 +-
 19 files changed, 357 insertions(+), 24 deletions(-)
 create mode 100644 doc/README.dfutftp
 create mode 100644 drivers/dfu/dfu_tftp.c
 rename {net => include/net}/tftp.h (100%)

-- 
2.1.4



More information about the U-Boot mailing list