History log of /rk3399_rockchip-uboot/drivers/usb/gadget/f_rockusb.c (Results 1 – 25 of 64)
Revision Date Author Comments
# a7d1e51c 09-May-2025 Jon Lin <jon.lin@rock-chips.com>

rockusb: support reset to loader mode

Change-Id: Ib47a8216124b96f4e688d6f5494d640283808fc9
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>


# e0bae237 27-Apr-2025 Jon Lin <jon.lin@rock-chips.com>

rockusb: support switch storage to pcie

Change-Id: I7f1fb3f47b39971a0f3633fac716849b3c945f63
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>


# d049485d 27-Apr-2025 Hisping Lin <hisping.lin@rock-chips.com>

rockusb: support lock oem otp key

Change-Id: I76afd16fd6816b7154b77e4ddd060c893266d268
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>


# 04569280 11-Apr-2025 Hisping Lin <hisping.lin@rock-chips.com>

rockusb: support write fw encrypt key

Change-Id: I046ae3219aac8af27246304e59c5da143172870a
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>


# 4428ea84 11-Dec-2024 Yifeng Zhao <yifeng.zhao@rock-chips.com>

rockusb: support dump uart debug messages

Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: I263d36505300498e3b6a9c5003f9132bfd05b2e7


# 92eae861 22-Oct-2024 Yifeng Zhao <yifeng.zhao@rock-chips.com>

rockusb: support switch storage to sata

Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: I65e6867bf21a508b452053f12df635b4d6bbb8e8


# 73eced63 16-Oct-2024 Xuhui Lin <xuhui.lin@rock-chips.com>

drivers: gadget: rockusb: Fix rkusb_do_vs read/write support

rockusb vs r/w no need depends on vendor storage. It already
supports many other paths to store secure data.

Change-Id: I4b47227fb009780

drivers: gadget: rockusb: Fix rkusb_do_vs read/write support

rockusb vs r/w no need depends on vendor storage. It already
supports many other paths to store secure data.

Change-Id: I4b47227fb00978082c57b1af4c96c63d12c51ed7
Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>

show more ...


# 91eda203 22-Aug-2024 Yifeng Zhao <yifeng.zhao@rock-chips.com>

rockusb: add sata and pcie flash id

Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: I62a73d455391f4e6d515c8b4db9873f11e0301cf


# 398ff6a5 16-Aug-2024 Jon Lin <jon.lin@rock-chips.com>

usb: gadget: rockusb: Support RK3308 SPI Nor idblock update

Change-Id: I07fe3533b15d9c33b47205b0f4c19aae2dca7b55
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>


# 9aae75f9 11-May-2024 William Wu <william.wu@rock-chips.com>

usb: gadget: rockusb: Fix product id for fastboot

The current pid of fastboot (0xd00d) is not supported
either in google's android_winusb.inf (see [1]) or in
rockchip's android_winusb.inf, this will

usb: gadget: rockusb: Fix product id for fastboot

The current pid of fastboot (0xd00d) is not supported
either in google's android_winusb.inf (see [1]) or in
rockchip's android_winusb.inf, this will cause the users
to install the fastboot driver manually every time if
the iSerialNumber has chanaged.

This patch uses a new product id (0x4d00) which has
being supported in google's android_winusb.inf.

[1]. https://developer.android.com/studio/run/win-usb
Change-Id: I948702762e329b331377d72fbd4cda9df83a49d6
Signed-off-by: William Wu <william.wu@rock-chips.com>

show more ...


# a1b07e70 18-Mar-2024 Yifeng Zhao <yifeng.zhao@rock-chips.com>

rockusb: update num_sectors after stroage switch

Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: I7c2eacc5c924edad83d01d42337ac96785944fde


# 0aca89f2 06-Mar-2024 Yifeng Zhao <yifeng.zhao@rock-chips.com>

gpt: support ufs 4k block size

Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: I6e61021ccd192c49ef92bf2f54d58b9a1c4a6882


# 26b169f6 13-Mar-2024 Jon Lin <jon.lin@rock-chips.com>

rockusb: Using 4KB pagesize as 2KB for idblock

Setting using 4KB pagesize as 2KB flag for SPI Nand devices.

Change-Id: I59f58fc5fded089ae053d12c7c11a5e15e4ad746
Signed-off-by: Jon Lin <jon.lin@rock

rockusb: Using 4KB pagesize as 2KB for idblock

Setting using 4KB pagesize as 2KB flag for SPI Nand devices.

Change-Id: I59f58fc5fded089ae053d12c7c11a5e15e4ad746
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>

show more ...


# 1b375c35 04-Mar-2024 Yifeng Zhao <yifeng.zhao@rock-chips.com>

rockusb: support stroage switch for ufs and sata

Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: Ic45976010035f52bd3272808dd0d85d009ae6a08


# 8168f857 01-Nov-2023 Yifeng Zhao <yifeng.zhao@rock-chips.com>

rockusb: add OTP read function

Add OTP read function for firmware anti-copy feature.

Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: I62e00cadd7f97627386630d9ac15e429b543d18c


# 1dd9b2ce 28-Nov-2023 Hisping Lin <hisping.lin@rock-chips.com>

rockusb: support write oem otp key

Change-Id: I0ef3a46e70c9b6cf6fe2f91911ca3ea6808379a8
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>


# 005bd059 28-Nov-2023 Hisping Lin <hisping.lin@rock-chips.com>

rockusb: support write oem encrypt data

Change-Id: Iaf05358f3b9ecfad1666990d2d703d8383c26c1a
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>


# 18188f57 21-Dec-2023 William Wu <william.wu@rock-chips.com>

usb: gadget: rockusb: Improve rockusb download speed

This patch increase the usb transfer size for rockusb,
the current size is 256KB, it can increase to 4MB for
the usb dwc3 controller and the new

usb: gadget: rockusb: Improve rockusb download speed

This patch increase the usb transfer size for rockusb,
the current size is 256KB, it can increase to 4MB for
the usb dwc3 controller and the new upgrade tool.

Test on RK3588 EVB1 with windows upgrade tool V1.85

before:
USB2.0 loader download speed: 27.10 MBps
USB3.0 loader download speed: 39.73 MBps

after:
USB2.0 loader download speed: 28.04 MBps
USB3.0 loader download speed: 59.59 MBps

Change-Id: Iae8899115466da7f329d83f54c7051f69d06d412
Signed-off-by: William Wu <william.wu@rock-chips.com>

show more ...


# 8c6654f1 20-Dec-2023 Jon Lin <jon.lin@rock-chips.com>

usbplug: Support scanning storage

Provide default scan list and support customized scan
list based on specific chips.

Change-Id: I8563954733b8c76b28f565e79654c635a1705588
Signed-off-by: Jon Lin <jo

usbplug: Support scanning storage

Provide default scan list and support customized scan
list based on specific chips.

Change-Id: I8563954733b8c76b28f565e79654c635a1705588
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>

show more ...


# 70990948 08-Dec-2023 Yifeng Zhao <yifeng.zhao@rock-chips.com>

usbplug: add vendor storage support

Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: I49db9915144f2be43d1dd1d0c9f450e1ad84cbcc


# 3c7547fc 09-Nov-2023 William Wu <william.wu@rock-chips.com>

usb: rockusb: Fix buf for read capacity command

The current code clear all bits of buf[1] of capacity
if the platform not support usb3 rockusb, it will also
clear the New IDB feature and Switch Stor

usb: rockusb: Fix buf for read capacity command

The current code clear all bits of buf[1] of capacity
if the platform not support usb3 rockusb, it will also
clear the New IDB feature and Switch Storage feature.
This patch only clear the Switch USB3 feature in this
case.

Fixes: 36c87911a804 ("usb: rockusb: Add support for usb3 download")
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I34f236b30121ad7095f7ea34521cc289033532a8

show more ...


# 22c2f449 27-Oct-2023 Jon Lin <jon.lin@rock-chips.com>

usb: rockusb: Add macro limitation for mmc module

Change-Id: I41dc85f9142dc41e76f0d8314a181ea602225e39
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>


# 36c87911 19-Oct-2023 william.wu <william.wu@rock-chips.com>

usb: rockusb: Add support for usb3 download

This patch improve the usb gadget drivers and the usb
dwc3 controller drivers to support rockusb usb3 download
images.

With this patch, it can support:
1

usb: rockusb: Add support for usb3 download

This patch improve the usb gadget drivers and the usb
dwc3 controller drivers to support rockusb usb3 download
images.

With this patch, it can support:
1. Maskrom usbplug usb2 switch to usb3 automatically
if the boards and the upgrade tool support usb3.

2. Loader enter usb3 automatically if the boards support usb3.

3. Force Maskrom/Loader usb fall back to usb2 if wait
for usb3 enumeration time out.

Signed-off-by: Jianwei Zheng <jianwei.zheng@rock-chips.com>
Signed-off-by: william.wu <william.wu@rock-chips.com>
Change-Id: I9ad13fb42ae59cc9075545e22627f237f0eb1f32

show more ...


# 4d2787f5 02-Sep-2023 Jon Lin <jon.lin@rock-chips.com>

rockusb: f_rockusb: Support switch storage

Change-Id: I10b6eb93c2bcf25f1f7bffcd8b168565873357de
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>


# 47c8f13d 28-Jul-2023 Hisping Lin <hisping.lin@rock-chips.com>

f_rockusb: support check ta encryption key is written

Change-Id: I7581d2eca11ec830084dd42f5bc6047112e29243
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>


123