[U-Boot] [PATCH 0/6] usb:composite:download Composite download gadget

Lukasz Majewski l.majewski at samsung.com
Thu Apr 12 09:17:23 CEST 2012


This patch series provides a composite gadget for downloading code
to u-boot targets.

The Linux's composite gadget framework is used. For this series a 
special function (f_usbd_thor) has been added. It supports a THOR 
protocol for sending data.

Other functions and protocols backends can be easily added - for 
instance supporting DFU.

---
Dependences (commits):
- usb:udc: Remove duplicated USB definitions from include/linux/usb/ch9.h file
- usb:gadget:composite Composite framework (separate patch series)
- usb:udc:samsung Add functions for storing private gadget data in UDC driver


Lukasz Majewski (6):
  usb:composite:g_dnl: Composite gadget (g_dnl) for USB downloading
    functions
  usb:g_dnl:f_usbd_thor: USB Download function to support THOR protocol
  usb:g_dnl:thor: THOR protocol back end support for f_usbd_thor
    function
  usb:command: Support for USB Download command
  usb:g_dnl: Support for g_dnl download usb gadget for GONI board
  usb:g_dnl: Support for g_dnl download usb gadget for TRATS board

 board/samsung/goni/goni.c        |    8 +
 board/samsung/trats/trats.c      |    8 +
 common/Makefile                  |    1 +
 common/cmd_usbd.c                |  161 ++++++++
 drivers/usb/gadget/Makefile      |    2 +
 drivers/usb/gadget/f_usbd_thor.c |  808 ++++++++++++++++++++++++++++++++++++++
 drivers/usb/gadget/g_dnl.c       |  231 +++++++++++
 drivers/usb/gadget/prot_thor.c   |  247 ++++++++++++
 drivers/usb/gadget/prot_thor.h   |  112 ++++++
 include/configs/s5p_goni.h       |   33 ++-
 include/configs/trats.h          |   17 +
 include/g_dnl.h                  |   97 +++++
 include/linux/usb/f_usbd_thor.h  |   62 +++
 include/usbd_thor.h              |  108 +++++
 14 files changed, 1889 insertions(+), 6 deletions(-)
 create mode 100644 common/cmd_usbd.c
 create mode 100644 drivers/usb/gadget/f_usbd_thor.c
 create mode 100644 drivers/usb/gadget/g_dnl.c
 create mode 100644 drivers/usb/gadget/prot_thor.c
 create mode 100644 drivers/usb/gadget/prot_thor.h
 create mode 100644 include/g_dnl.h
 create mode 100644 include/linux/usb/f_usbd_thor.h
 create mode 100644 include/usbd_thor.h

-- 
1.7.2.3



More information about the U-Boot mailing list