We're hiring!
*

USB 3.0 preliminary support in U-boot for Radxa Rock-5B

Eugen Hristev avatar

Eugen Hristev
May 31, 2023

Share this post:

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!

Search the newsroom

Latest Blog Posts

Optimizing memory access in NIR

07/05/2026

A complete breakdown of Mesa’s NIR compiler detailing how it optimizes shader memory access with SSA promotion, deref analysis, copy propagation,…

BlueZ-powered Auracast broadcasting on Genio 700

05/05/2026

Collabora brought Bluetooth Auracast broadcasting to MediaTek Genio 700 for Embedded World 2026. Here's the complete, fully Open Source…

Making the invisible audible: Building an OpenXR experience for ocean protection

22/04/2026

Using our XR expertise, Collabora created a standalone XR experience for our 1% for the Planet partner, SOMAR, to showcase the direct impact…

Bringing BitNet to ExecuTorch via Vulkan

17/04/2026

BitNet-style ternary brings LLM inference to ExecuTorch via its Vulkan backend, enabling much smaller, bandwidth-efficient models with portable…

Re-thinking framebuffers in PanVK

23/03/2026

PanVK’s new framebuffer abstraction for Mali GPUs removes OpenGL-specific constraints, unlocking more flexible tiled rendering features…

Running Mainline Linux, U-Boot, and Mesa on Rockchip: A year in review

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…

Open Since 2005 logo

Our website only uses a strictly necessary session cookie provided by our CMS system. To find out more please follow this link.

Collabora Limited © 2005-2026. All rights reserved. Privacy Notice. Sitemap.