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!

Comments (2)

  1. Cole:
    Jun 16, 2023 at 11:35 PM

    Hi! I have been following this work and have done questions:

    1. How is NVME support going both in kernel and u-boot?

    2. How did it come to be that Collabora is doing this work? I'm looking at my pile of SBCs wishing they all had this transparent upstream work being done.

    3. That's it. But thank you. Collabora works on such cool stuff in the Linux ecosystem!

    Reply to this comment

    Reply to this comment

    1. Eugen:
      Jun 19, 2023 at 03:00 PM

      Hi !

      Currently we are not working on NVME , at least at bootloader level, but definitely we can do it if you are interested !
      I am happy that you are fond of our work !

      Eugen

      Reply to this comment

      Reply to this comment


Add a Comment






Allowed tags: <b><i><br>Add a new comment:


Search the newsroom

Latest Blog Posts

Automatic regression handling and reporting for the Linux Kernel

14/03/2024

In continuation with our series about Kernel Integration we'll go into more detail about how regression detection, processing, and tracking…

Almost a fully open-source boot chain for Rockchip's RK3588!

21/02/2024

Now included in our Debian images & available via our GitLab, you can build a complete, working BL31 (Boot Loader stage 3.1), and replace…

What's the latest with WirePlumber?

19/02/2024

Back in 2022, after a series of issues were found in its design, I made the call to rework some of WirePlumber's fundamentals in order to…

DRM-CI: A GitLab-CI pipeline for Linux kernel testing

08/02/2024

Continuing our Kernel Integration series, we're excited to introduce DRM-CI, a groundbreaking solution that enables developers to test their…

Persian Rug, Part 4 - The limitations of proxies

23/01/2024

This is the fourth and final part in a series on persian-rug, a Rust crate for interconnected objects. We've touched on the two big limitations:…

How to share code between Vulkan and Gallium

16/01/2024

One of the key high-level challenges of building Mesa drivers these days is figuring out how to best share code between a Vulkan driver…

Open Since 2005 logo

We use cookies on this website to ensure that you get the best experience. By continuing to use this website you are consenting to the use of these cookies. To find out more please follow this link.

Collabora Ltd © 2005-2024. All rights reserved. Privacy Notice. Sitemap.