public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 00/10] usb: Support for TIZEN's THOR download protocol
@ 2013-10-03 11:47 Lukasz Majewski
  2013-10-03 11:47 ` [U-Boot] [PATCH 01/10] usb:udc:s3c: Reduce dcache invalidate range for UDC receive buffer Lukasz Majewski
                   ` (10 more replies)
  0 siblings, 11 replies; 36+ messages in thread
From: Lukasz Majewski @ 2013-10-03 11:47 UTC (permalink / raw)
  To: u-boot

This patch series provide support for TIZEN's THOR download protocol.

Dedicated program for flashing TIZEN developer devices (TRATS, TRATS2)
is called lthor (or thor for Windows) and can be found at:

git clone git://review.tizen.org/tools/lthor

or for git web:

https://review.tizen.org/git/?p=tools/lthor.git;a=summary


Presented composite USB function acts as a front end to perform 
correct USB communication with HOST PC.
To store the received data on the target, the DFU (Device Firmware
Update) code for flashing has been reused.

This means, that the "dfu_alt_info" environment variable is used
to provide information where a received file is stored.

This also means that dfu and thor can co-exists together.
Thor protocol and its implementation has one advantage - it is much 
faster than DFU for large files transfers (especially rootfs images).

It applies on: u-boot-denx-usb/master
SHA1: 5077f96f10fe88f1f7cbe09743ac7c765f9e98c3

Test HW: Exynos4210 (TRATS)

Lukasz Majewski (10):
  usb:udc:s3c: Reduce dcache invalidate range for UDC receive buffer
  dfu:core: Find DFU alt setting number by passing its name
  dfu:core: Export dfu_{get|free}_buf functions
  usb:g_dnl: Replace static usb_configuration structure with
    dynamically allocated one
  usb:g_dnl: Add name parameter to g_dnl_bind_fixup function
  usb:g_dnl:f_thor: USB download function to support TIZEN's THOR
    protocol
  usb:g_dnl: Support for TIZEN's THOR function at generic download code
  cmd:thor: Support for TIZEN's download (thordown) command
  samsung:common:thor: Define common Samsung code to handle THOR usb
    descriptor setup
  trats: Update TRATS config to support TIZEN download

 board/samsung/common/Makefile             |    1 +
 board/samsung/common/thor.c               |   21 +
 board/siemens/common/factoryset.c         |    2 +-
 common/Makefile                           |    1 +
 common/cmd_thordown.c                     |   58 ++
 drivers/dfu/dfu.c                         |   16 +-
 drivers/usb/gadget/Makefile               |    1 +
 drivers/usb/gadget/f_thor.c               | 1006 +++++++++++++++++++++++++++++
 drivers/usb/gadget/f_thor.h               |  123 ++++
 drivers/usb/gadget/g_dnl.c                |   38 +-
 drivers/usb/gadget/s3c_udc_otg_xfer_dma.c |    2 +-
 include/configs/trats.h                   |   13 +-
 include/dfu.h                             |    3 +
 include/g_dnl.h                           |    2 +-
 include/thor.h                            |   27 +
 15 files changed, 1295 insertions(+), 19 deletions(-)
 create mode 100644 board/samsung/common/thor.c
 create mode 100644 common/cmd_thordown.c
 create mode 100644 drivers/usb/gadget/f_thor.c
 create mode 100644 drivers/usb/gadget/f_thor.h
 create mode 100644 include/thor.h

-- 
1.7.10.4

^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2013-10-10  0:41 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-03 11:47 [U-Boot] [PATCH 00/10] usb: Support for TIZEN's THOR download protocol Lukasz Majewski
2013-10-03 11:47 ` [U-Boot] [PATCH 01/10] usb:udc:s3c: Reduce dcache invalidate range for UDC receive buffer Lukasz Majewski
2013-10-03 15:21   ` Marek Vasut
2013-10-04  7:28     ` Lukasz Majewski
2013-10-04 10:26       ` Marek Vasut
2013-10-04 12:24         ` Lukasz Majewski
2013-10-04 16:18           ` Marek Vasut
2013-10-04 17:37             ` Lukasz Majewski
2013-10-04 18:01               ` Marek Vasut
2013-10-03 11:47 ` [U-Boot] [PATCH 02/10] dfu:core: Find DFU alt setting number by passing its name Lukasz Majewski
2013-10-03 11:47 ` [U-Boot] [PATCH 03/10] dfu:core: Export dfu_{get|free}_buf functions Lukasz Majewski
2013-10-03 11:47 ` [U-Boot] [PATCH 04/10] usb:g_dnl: Replace static usb_configuration structure with dynamically allocated one Lukasz Majewski
2013-10-03 11:47 ` [U-Boot] [PATCH 05/10] usb:g_dnl: Add name parameter to g_dnl_bind_fixup function Lukasz Majewski
2013-10-03 11:47 ` [U-Boot] [PATCH 06/10] usb:g_dnl:f_thor: USB download function to support TIZEN's THOR protocol Lukasz Majewski
2013-10-03 15:48   ` Marek Vasut
2013-10-04  8:30     ` Lukasz Majewski
2013-10-04 10:28       ` Marek Vasut
2013-10-04 12:05         ` Lukasz Majewski
2013-10-03 11:47 ` [U-Boot] [PATCH 07/10] usb:g_dnl: Support for TIZEN's THOR function at generic download code Lukasz Majewski
2013-10-03 11:47 ` [U-Boot] [PATCH 08/10] cmd:thor: Support for TIZEN's download (thordown) command Lukasz Majewski
2013-10-03 11:47 ` [U-Boot] [PATCH 09/10] samsung:common:thor: Define common Samsung code to handle THOR usb descriptor setup Lukasz Majewski
2013-10-03 11:47 ` [U-Boot] [PATCH 10/10] trats: Update TRATS config to support TIZEN download Lukasz Majewski
2013-10-03 15:51   ` Marek Vasut
2013-10-04  8:32     ` Lukasz Majewski
2013-10-08 12:30 ` [U-Boot] [PATCH v2 00/10] usb: Support for TIZEN's THOR download protocol Lukasz Majewski
2013-10-08 12:30   ` [U-Boot] [PATCH v2 01/10] usb:udc:s3c: Reduce dcache invalidate range for UDC receive buffer Lukasz Majewski
2013-10-08 12:30   ` [U-Boot] [PATCH v2 02/10] dfu:core: Find DFU alt setting number by passing its name Lukasz Majewski
2013-10-08 12:30   ` [U-Boot] [PATCH v2 03/10] dfu:core: Export dfu_{get|free}_buf functions Lukasz Majewski
2013-10-08 12:30   ` [U-Boot] [PATCH v2 04/10] usb:g_dnl: Replace static usb_configuration structure with dynamically allocated one Lukasz Majewski
2013-10-08 12:30   ` [U-Boot] [PATCH v2 05/10] usb:g_dnl: Add name parameter to g_dnl_bind_fixup function Lukasz Majewski
2013-10-08 12:30   ` [U-Boot] [PATCH v2 06/10] usb:g_dnl:f_thor: USB download function to support TIZEN's THOR protocol Lukasz Majewski
2013-10-08 12:30   ` [U-Boot] [PATCH v2 07/10] usb:g_dnl: Support for TIZEN's THOR function in generic download code Lukasz Majewski
2013-10-08 12:30   ` [U-Boot] [PATCH v2 08/10] cmd:thor: Support for TIZEN's download command (thordown) Lukasz Majewski
2013-10-08 12:30   ` [U-Boot] [PATCH v2 09/10] samsung:common:thor: Define common Samsung code to handle THOR usb descriptor setup Lukasz Majewski
2013-10-08 12:30   ` [U-Boot] [PATCH v2 10/10] trats: Update TRATS config to support TIZEN download Lukasz Majewski
2013-10-10  0:41   ` [U-Boot] [PATCH v2 00/10] usb: Support for TIZEN's THOR download protocol Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox