
2017-03-17 5:26 GMT+08:00 Marek Vasut marex@denx.de:
On 03/15/2017 08:56 AM, Eddie Cai wrote:
rockusb is a protocol run between host pc and device. it help people get
device
info, flash image to device. this patch implement rockusb on device side.
What is the benefit of this yet-another NIH protocol compared to ie. DFU/UMS/Thor/Fastboot ?
This is mostly used on Rockchip chipset. All the rockchip SoC boot rom and develop tools implement this protocol. So we want to use the same protocol which compatible with current tools.
Eddie Cai (3): drivers: usb: gadget: add the rockusb gadget cmd: add rockusb command rockchip: rk3288: enable rockusb support on rk3288 based device
cmd/Kconfig | 12 + cmd/Makefile | 1 + cmd/rockusb.c | 79 ++++ drivers/usb/gadget/Makefile | 1 + drivers/usb/gadget/f_rockusb.c | 801 ++++++++++++++++++++++++++++++
++++++++++
include/configs/rk3288_common.h | 4 + include/rockusb.h | 13 + 7 files changed, 911 insertions(+) create mode 100644 cmd/rockusb.c create mode 100644 drivers/usb/gadget/f_rockusb.c create mode 100644 include/rockusb.h
-- Best regards, Marek Vasut