[U-Boot] [PATCH V12 0/4] introduce Rockchip rockusb

Eddie Cai eddie.cai.linux at gmail.com
Fri Dec 15 00:17:09 UTC 2017


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

Changes in v12:
-use dynamically allocated buffer
-address Marek's comments

Changes in v11:
-fix check patch error
-add maintainer

Changes in v10:
-rebase to latest mainline U-Boot
-fix build error

Changes in v9:
-rebase to the latest mainline
-fix compile error

Changes in v8:
-rebase to v2017.09-rc2
-fix compile error

Changes in v7:
-use imply in the Kconfig to enable rockusb

Changes in v6:
-enable rockusb in defconfig
-move some data to f_rockusb structure

Changes in v5:
-fix build error when build other board
-fix checkpatch error

Changes in v4:
-use enum instead of macro define
-move some structure define and macro to f_rockusb.h
-add some function comment as Simon required
-address other comment from Simon
-fix build error as Lukasz point out

Changes in v3:
-switch back to use g_dnl code
-address comment from Lukasz and Simon
-fix checkpatch error

Changes in v2:
-switch to use usb masstorage framework
-add readme for rockusb

Eddie Cai (4):
  usb: rockchip: add the rockusb gadget
  usb: rockchip: add rockusb command
  rockchip:usb: add a simple readme for rockusb
  rockchip: rk3288: enable rockusb support on rk3288 based device

 MAINTAINERS                                    |   7 +
 arch/arm/include/asm/arch-rockchip/f_rockusb.h | 133 +++++
 arch/arm/mach-rockchip/Kconfig                 |   2 +
 cmd/Kconfig                                    |   8 +
 cmd/Makefile                                   |   1 +
 cmd/rockusb.c                                  |  74 +++
 configs/chromebit_mickey_defconfig             |   7 +
 configs/chromebook_jerry_defconfig             |   7 +
 configs/chromebook_minnie_defconfig            |   7 +
 configs/evb-rk3288_defconfig                   |   9 +
 configs/fennec-rk3288_defconfig                |   5 +
 configs/firefly-rk3288_defconfig               |   7 +
 configs/miqi-rk3288_defconfig                  |   5 +
 configs/phycore-rk3288_defconfig               |   6 +
 configs/popmetal-rk3288_defconfig              |   5 +
 configs/rock2_defconfig                        |   8 +
 configs/tinker-rk3288_defconfig                |   5 +
 configs/vyasa-rk3288_defconfig                 |  25 +
 doc/README.rockusb                             |  51 ++
 drivers/usb/gadget/Kconfig                     |   8 +
 drivers/usb/gadget/Makefile                    |   1 +
 drivers/usb/gadget/f_rockusb.c                 | 718 +++++++++++++++++++++++++
 22 files changed, 1099 insertions(+)
 create mode 100644 arch/arm/include/asm/arch-rockchip/f_rockusb.h
 create mode 100644 cmd/rockusb.c
 create mode 100644 doc/README.rockusb
 create mode 100644 drivers/usb/gadget/f_rockusb.c

-- 
1.9.1



More information about the U-Boot mailing list