[PATCH 0/7] rockchip: Add boot from USB OTG port

Kever Yang kever.yang at rock-chips.com
Tue May 6 09:53:14 CEST 2025


Hi Naoki,

On 2025/2/11 13:33, FUKAUMI Naoki wrote:
> This patch series adds the ability to boot from the USB OTG port to
> the RK3588, RK3568, RK3566, RK3399, RK3328, and RK3308.
>
> Use rkflashtool[1] or rkusbboot[2]

Does these two tool have the same functionality? I don't know the second 
one :(

And I know there is another tool named rkdeveloptool from rockchip.

>   to download TPL and SPL from
> MASKROM mode, and dfu-util to download U-Boot from DFU mode.

What's the main target for this patchset, boot from usb with ramboot 
support and without any eMMC/SD/SPI driver?

I would prefer to keep using one tool instead of two or more tools, so I 
don't think

enable DFU in SPL is a good idea, using rockusb in SPL is better here.


Thanks,
- Kever
>
> This patch series depends on patches[3] that fix TPL/SPL link errors
> and patches[4] that add generic RK3399 and RK3328 defconfigs.
>
> [1] https://github.com/linux-rockchip/rkflashtool
> [2] https://github.com/RadxaNaoki/rkusbboot
> [3] https://patchwork.ozlabs.org/project/uboot/patch/20250211043335.92538-1-naoki@radxa.com/
> [4] https://patchwork.ozlabs.org/project/uboot/cover/20250204072710.468610-1-jonas@kwiboo.se/
>
> FUKAUMI Naoki (7):
>    rockchip: Change memory location of FIT and U-Boot proper
>    rockchip: Add DFU to SPL
>    rockchip: Add DFU to SPL for RK3588
>    rockchip: Add DFU to SPL for RK3568
>    rockchip: Add DFU to SPL for RK3399
>    rockchip: Add DFU to SPL for RK3328
>    rockchip: Add DFU to SPL for RK3308
>
>   arch/arm/dts/rk3308-u-boot.dtsi         |  5 +++++
>   arch/arm/dts/rk3328-u-boot.dtsi         |  5 +++++
>   arch/arm/dts/rk3399-u-boot.dtsi         | 10 ++++++++++
>   arch/arm/dts/rk356x-u-boot.dtsi         |  5 +++++
>   arch/arm/dts/rk3588s-u-boot.dtsi        |  5 +++++
>   arch/arm/mach-rockchip/Kconfig          |  6 +++---
>   arch/arm/mach-rockchip/rk3308/Kconfig   |  3 ---
>   arch/arm/mach-rockchip/rk3308/rk3308.c  |  1 +
>   arch/arm/mach-rockchip/rk3328/rk3328.c  |  1 +
>   arch/arm/mach-rockchip/rk3399/rk3399.c  |  1 +
>   arch/arm/mach-rockchip/rk3568/Kconfig   |  3 ---
>   arch/arm/mach-rockchip/rk3568/rk3568.c  |  1 +
>   arch/arm/mach-rockchip/rk3588/Kconfig   |  3 ---
>   arch/arm/mach-rockchip/rk3588/rk3588.c  |  1 +
>   arch/arm/mach-rockchip/rv1126/Kconfig   |  3 ---
>   arch/arm/mach-rockchip/spl-boot-order.c |  4 ++++
>   boot/Kconfig                            |  3 +++
>   configs/generic-rk3328_defconfig        |  8 ++++++++
>   configs/generic-rk3399_defconfig        |  9 +++++++++
>   configs/generic-rk3568_defconfig        |  9 +++++++++
>   configs/generic-rk3588_defconfig        |  9 +++++++++
>   include/configs/rk3308_common.h         |  7 +++++++
>   include/configs/rk3328_common.h         |  7 +++++++
>   include/configs/rk3399_common.h         | 11 +++++++----
>   include/configs/rk3568_common.h         |  7 +++++++
>   include/configs/rk3588_common.h         |  7 +++++++
>   26 files changed, 115 insertions(+), 19 deletions(-)
>


More information about the U-Boot mailing list