From: Lukasz Majewski Date: Fri, 14 Aug 2015 01:02:24 +0200 Subject: [U-Boot] [PATCH v3 0/9] dfu: tftp: update: Support for DFU upgrades via ETH (TFTP) Message-ID: <1439506953-23090-1-git-send-email-l.majewski@majess.pl> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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: 0741701acf00749672f75f4c196dabd8b235f741 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 | 51 +++++++++++------ configs/am335x_boneblack_defconfig | 1 + doc/README.dfutftp | 113 +++++++++++++++++++++++++++++++++++++ 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 | 28 +++++++++ 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, 336 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