History log of /rk3399_rockchip-uboot/include/rockusb.h (Results 1 – 10 of 10)
Revision Date Author Comments
# 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


# 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


# 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>


# 2c0c66c1 08-Jul-2022 Yifeng Zhao <yifeng.zhao@rock-chips.com>

rockusb: add parity check for LBA write

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


# d4cce25e 15-Sep-2021 Yifeng Zhao <yifeng.zhao@rock-chips.com>

rockusb: add get storage media info for pc tool

the pc tool needs to confirm whether the current storage
and firmware match while supporting multiple memory devices.

Signed-off-by: Yifeng Zhao <yi

rockusb: add get storage media info for pc tool

the pc tool needs to confirm whether the current storage
and firmware match while supporting multiple memory devices.

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

show more ...


# 628c8271 25-Feb-2019 Jason Zhu <jason.zhu@rock-chips.com>

usb: rockusb: forbid reading data beyond addr 32MB

Forbid reading data beyong addr 32MB to protect user data & firmware. Excess
partial is filled with 0xcc. The addr 32MB is quoted from pre-loader.

usb: rockusb: forbid reading data beyond addr 32MB

Forbid reading data beyong addr 32MB to protect user data & firmware. Excess
partial is filled with 0xcc. The addr 32MB is quoted from pre-loader.

Change-Id: I96f4fb3bb0d88a309fef20650863011cd9f0dfd9
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>

show more ...


# 0d0c3248 09-Aug-2018 Frank Wang <frank.wang@rock-chips.com>

usb: gadget: rockusb: add vendor storage r/w cmd support

At present the vendor storage partition is small than 64K in the
design, so vendor storage r/w commands do not take multi-packet
into conside

usb: gadget: rockusb: add vendor storage r/w cmd support

At present the vendor storage partition is small than 64K in the
design, so vendor storage r/w commands do not take multi-packet
into consideration, if it is needed, the codes should do a little
change in future. Besides, the RPMB r/w support need to be added
when its APIs get ready.

Change-Id: I621604c99b44c69eb3aff3e01b28a18f35303040
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>

show more ...


# aa9b1b59 25-Oct-2017 Frank Wang <frank.wang@rock-chips.com>

cmd: rockusb: add rockusb command support

This patch add a new rockusb command support.

Rockusb command provides a way to upgrade firmware for Rockchip SoC
based devices, its design make use of USB

cmd: rockusb: add rockusb command support

This patch add a new rockusb command support.

Rockusb command provides a way to upgrade firmware for Rockchip SoC
based devices, its design make use of USB Bulk-Only Transport based
on USB Mass Storage framework.

Change-Id: Idb04c62a8f6fb7ba84641bd4ee00f67920a7cfc8
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>

show more ...


# f16e43f8 25-Oct-2017 Frank Wang <frank.wang@rock-chips.com>

usb: gadget: add a new rockusb gadget driver

This patch add a new rockusb gadget driver function.

For the design, simply embeding rockusb code into USB Mass Storage
function as using UMS framework

usb: gadget: add a new rockusb gadget driver

This patch add a new rockusb gadget driver function.

For the design, simply embeding rockusb code into USB Mass Storage
function as using UMS framework can prominently improve upgrade speed
and devices stability.

This change does not affect the original USB Mass Storage function,
the rockusb process are just checked by IS_RKUSB_UMS_DNL macro which
only run when CONFIG_CMD_ROCKUSB was defined and rkusb_ums_dnl
composite driver was registed.

Change-Id: I9c2723200c7e02d947587037abcd7d3badf4256c
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>

show more ...