
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.
Lukasz Majewski (8): doc: dfu: tftp: README entry for TFTP extension of DFU net: tftp: Move tftp.h file from ./net to ./include 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: Provide support for 'dfutftp' command to handle receiving data via TFTP config: bbb: Configs necessary for running update via TFTP on Beagle Bone Black
common/Makefile | 1 + common/cmd_dfutftp.c | 43 ++++++++++++ common/update.c | 54 ++++++++++----- doc/README.dfutftp | 153 +++++++++++++++++++++++++++++++++++++++++++ drivers/dfu/Makefile | 1 + drivers/dfu/dfu.c | 48 ++++++++++++++ drivers/dfu/dfu_tftp.c | 76 +++++++++++++++++++++ include/configs/am335x_evm.h | 10 +++ include/dfu.h | 12 ++++ include/tftp.h | 30 +++++++++ net/bootp.c | 2 +- net/net.c | 2 +- net/rarp.c | 2 +- net/tftp.c | 2 +- net/tftp.h | 30 --------- 15 files changed, 414 insertions(+), 52 deletions(-) create mode 100644 common/cmd_dfutftp.c create mode 100644 doc/README.dfutftp create mode 100644 drivers/dfu/dfu_tftp.c create mode 100644 include/tftp.h delete mode 100644 net/tftp.h