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

Lukasz Majewski l.majewski at majess.pl
Sat Jul 25 10:11:08 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-dfu tree:
SHA1: 09e46b733a9b02d10d3d29001c316dc937fe6b44

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
  config: bbb: Configs necessary for running update via TFTP on Beagle
    Bone Black
  dfu:tests: Modify dfu_gadget_test.sh to accept USB device major:minor
    number

 common/Makefile              |   1 +
 common/cmd_dfu.c             |  25 ++++++++++
 common/cmd_fitupd.c          |   2 +-
 common/main.c                |   2 +-
 common/update.c              |  51 +++++++++++++------
 doc/README.dfutftp           | 113 +++++++++++++++++++++++++++++++++++++++++++
 drivers/dfu/Makefile         |   1 +
 drivers/dfu/dfu.c            |  48 ++++++++++++++++++
 drivers/dfu/dfu_tftp.c       |  65 +++++++++++++++++++++++++
 include/configs/am335x_evm.h |   8 +++
 include/dfu.h                |  14 ++++++
 include/net.h                |   2 +-
 include/net/tftp.h           |  30 ++++++++++++
 net/bootp.c                  |   2 +-
 net/net.c                    |   2 +-
 net/rarp.c                   |   2 +-
 net/tftp.c                   |   2 +-
 net/tftp.h                   |  30 ------------
 test/dfu/README              |   9 +++-
 test/dfu/dfu_gadget_test.sh  |  18 ++++---
 20 files changed, 366 insertions(+), 61 deletions(-)
 create mode 100644 doc/README.dfutftp
 create mode 100644 drivers/dfu/dfu_tftp.c
 create mode 100644 include/net/tftp.h
 delete mode 100644 net/tftp.h

-- 
2.1.4



More information about the U-Boot mailing list