Rk3568 DWC3 overlay not available DietPi 10?

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version | cat /boot/dietpi/.version
  • G_DIETPI_VERSION_CORE=10
    G_DIETPI_VERSION_SUB=1
    G_DIETPI_VERSION_RC=2
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’
  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
  • trixie
  • Kernel version | uname --all
  • Linux DietPi 6.18.13-current-rockchip64 #1 SMP PREEMPT Thu Feb 19 15:31:37 UTC 2026 aarch64 GNU/Linux
  • Architecture | dpkg --print-architecture
  • arm64
  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
  • Radxa ZERO 3 (aarch64)
  • Power supply used | (EG: 5V 1A RAVpower)
  • 5v 3A
  • SD card used | (EG: SanDisk ultra)
  • SanDisk Ultra

Additional Information (if applicable)

  • Can this issue be replicated on a fresh installation of DietPi?
    • Yes

Steps to reproduce

  1. Run ls -al /boot/dtb/rockchip/overlay
  2. No dwc3 overlays appear

Expected behaviour

  • An overlay to enable host mode on the rk3568 OTG port should be there.

Actual behaviour

  • Overlay is missing

Extra details

  • I previously opened a post on something similar to this ( Radxa Zero 3w OTG Port Not Loading Peripherals ) when I first started using dietpi and got some help getting the overlay started up in the first place. I did find some usb-c overlays in the list this time, but to no avail. Should we expect a dwc3 overlay? Has that item in the tree been renamed? Should I open a github issue on this? Am I just doing something wrong again lol

    Thanks!

It’s either not shipped with this kernel or in another place. But you could just use this file:
https://github.com/armbian/linux-rockchip/blob/bd032d59a096344a1f29acf9965d8c46f9a847a8/arch/arm64/boot/dts/rockchip/overlay/rk3568-dwc3-host.dts
You would need to compile it to a dtb file and your current device tree must have a node with the same label (usbdrd_dwc3) to make it work.

You can check with

sudo dtc -I dtb -O dts /sys/firmware/fdt 2>/dev/null | grep -nE 'usbdrd|dwc3|dr_mode'

Is there a tutorial around on how to bring new boards up on dietpi? eg covering things like converting the dts files to dtb and how to insert them into the OS?

Inquiring minds want to know - as I’m sure there are multiple people who would like to see newer SBC added to dietpi such as Odroid C5 and M2… and with a set of accessible instructions/a tutorial, we might be able to generate some PR to support the new boards faster….

Not that I am aware of.

Almost each SBC is getting it’s own image. I think the most difficult part is to get a modern kernel running.
Like the Ubuntu image for the C5 comes with outdated kernel 5.15.
For some boards there are 3rd party images available, which can be used as a base (like armbian images), but e.g. for the C5 there are no third party images, you would need to build your own from the ground.

For the C5 you would need to

  • port Hardkernel patches & build kernel 6.12 (incl. device tree export form Ubuntu image and overlay adjustments)
  • prepare a minimal rootfs (based on Debian)
  • Integrate kernel & update bootloader
  • assemble and test the image