[U-Boot] [PATCH 00/10] usb: Support for TIZEN's THOR download protocol
Lukasz Majewski
l.majewski at samsung.com
Thu Oct 3 13:47:11 CEST 2013
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
More information about the U-Boot
mailing list