Eugen Hristev
May 31, 2023
Reading time:
A while back I presented USB 2.0 host support that was added to U-boot for the Radxa Rock-5B RK3588 Rockchip board. This time USB 3.0 was added with support for the host and gadget!
In the photo, the number #8 indicator shows you where the USB 3.0 host ports are located. The bottom port (near the PCB) works only in 3.0 mode. One can connect a mass storage memory stick here, or an Ethernet dongle for example.
![]() |
| Hardware description of the Radxa Rock-5B board. Source: https://wiki.radxa.com/Rock5/hardware/5b |
Number #3, indicated by USB Power, is also used for gadget mode: with this connection, a host laptop, for example, can see the board as a gadget, and with this, plenty of things can happen: it can be used as a mass storage stick for example, or one can use the rockchip rkdeveloptool to reflash media on the board.
At the moment it should be noted that only one orientation works if a type C to type C cable is used.
The inner workings of the USB 3.0 are as follows: there is the DesignWare Core Dual Role Device (DRD) which can work both in host and gadget mode, and both in USB 2.0 and USB 3.0 modes. There are two different PHYs connected to the controller. One is the same that is used for the USB 2.0 host controller (the Inno phy) and the new one is the USB 3.0 USBDP PHY (combo with DisplayPort Alt mode). All these tied together offer the flexibility to connect different devices and different cables to the Rock-5B board.
And because U-boot is open source, everyone can review the patches, test, or even contribute!
02/03/2026
Get the recap of Nicolas Frattaroli's FOSDEM talk detailing Rockchip’s mainline progress, including Vulkan 1.4 and NPU support as a vital…
02/12/2025
As an active member of the freedesktop community, Collabora was busy at XDC 2025. Our graphics team delivered five talks, helped out in…
24/11/2025
LE Audio introduces a modern, low-power, low-latency Bluetooth® audio architecture that overcomes the limitations of classic Bluetooth®…
17/11/2025
Collabora’s long-term leadership in KernelCI has delivered a completely revamped architecture, new tooling, stronger infrastructure, and…
11/11/2025
Collabora extended the AdobeVFR dataset and trained a FasterViT-2 font recognition model on millions of samples. The result is a state-of-the-art…
31/10/2025
Collabora has advanced Monado's accessibility by making the OpenXR runtime supported by Google Cardboard and similar mobile VR viewers so…
Add a Comment