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

Arnaud Patard arnaud.patard at collabora.com
Wed May 7 17:31:50 CEST 2025


Hi,

On Tue, 2025-05-06 at 15:53 +0800, Kever Yang wrote:
> 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 can't talk for Naoki, but my use case is to test easily u-boot on my
rockchip platforms without having to flash u-boot or to have some
storage.

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

To test u-boot, I'd like to use snagflash/snagboot as it's not rockchip
specific. So, this means adding support for maskrom (which I've already
written) and rockusb protocols to it. With DFU in SPL support in u-
boot, this would mean nothing to do as the support for DFU is already
in snagboot/snagflash.

Arnaud



More information about the U-Boot mailing list