[U-Boot] [RFC] Another DFU implementation

Stefan Schmidt stefan at datenfreihafen.org
Thu Nov 3 16:56:35 CET 2011


Hello.

This patch is not meant for merging yet. I'm sending it here to allow
Andrzej and other having a look at this implementation. The end goal would be to
merge both DFU implementations with a split between DFU implementation and
different flashing backends.

Architectural comments are really welcome here. Coding style and implementation
details are likely to change.

regards
Stefan Schmidt

Stefan Schmidt (1):
  usb/gadget: Add Device Firmware Upgrade (DFU) support.

 drivers/serial/usbtty.c       |   22 +-
 drivers/serial/usbtty.h       |    6 +
 drivers/usb/gadget/Makefile   |    1 +
 drivers/usb/gadget/core.c     |   19 +
 drivers/usb/gadget/dfu.c      | 1007 +++++++++++++++++++++++++++++++++++++++++
 drivers/usb/gadget/ep0.c      |   50 ++-
 include/usb_dfu.h             |   95 ++++
 include/usb_dfu_descriptors.h |   94 ++++
 include/usbdevice.h           |   13 +
 9 files changed, 1303 insertions(+), 4 deletions(-)
 create mode 100644 drivers/usb/gadget/dfu.c
 create mode 100644 include/usb_dfu.h
 create mode 100644 include/usb_dfu_descriptors.h

-- 
1.7.7.1



More information about the U-Boot mailing list