You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't try this at home, i won't be responsible if anyone fries a CM or a baseboard!
But at least i wanted to contribute if anyone is tripping over the same issue on this (currently unsupported) base-board, that
the two USB ports arent working correctly or at all.
(the root hub doesn't show up in lsusb)
tested with Plebian Version: Plebian v2023-04-30-1
Kernel: Linux plebian-soquartz-cm4 6.1.0-9-arm64 #1 SMP Debian 6.1.27-1 (2023-05-08) aarch64 GNU/Linux
Hardware: SOQuartz mounted on a Waveshare CM4-IO-BASE-A
devicetree used: Linux Kernel devicetree /arch/arm64/boot/dts/rockchip/rk3566-soquartz-cm4.dts
what is working:
HDMI up to 1920x1080, NVME working, Bluetooth and Wireless haven't been tested, but as these are running of the board, should work out of the box.
USB requires some devicetree patching, as the mainline devicetree (/arch/arm64/boot/dts/rockchip/rk3566-soquartz-cm4.dts) from Linux 6.1 and 6.3 up to now is putting the USB Ports into the OTG Mode rather than the host mode.
This is due to different kind of baseboards available so they don't want to break anything.
so patch the corresponding dts file /arch/arm64/boot/dts/rockchip/rk3566-soquartz-cm4.dts by adding the
line dr_mode = "host"; to the &usb_host0_xhci section, recompile the devicetree and use it!
&usb_host0_xhci {
dr_mode = "host";
status = "okay";
};
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Don't try this at home, i won't be responsible if anyone fries a CM or a baseboard!
But at least i wanted to contribute if anyone is tripping over the same issue on this (currently unsupported) base-board, that
the two USB ports arent working correctly or at all.
(the root hub doesn't show up in lsusb)
tested with Plebian Version: Plebian v2023-04-30-1
Kernel: Linux plebian-soquartz-cm4 6.1.0-9-arm64 #1 SMP Debian 6.1.27-1 (2023-05-08) aarch64 GNU/Linux
Hardware: SOQuartz mounted on a Waveshare CM4-IO-BASE-A
devicetree used: Linux Kernel devicetree /arch/arm64/boot/dts/rockchip/rk3566-soquartz-cm4.dts
what is working:
HDMI up to 1920x1080, NVME working, Bluetooth and Wireless haven't been tested, but as these are running of the board, should work out of the box.
USB requires some devicetree patching, as the mainline devicetree (/arch/arm64/boot/dts/rockchip/rk3566-soquartz-cm4.dts) from Linux 6.1 and 6.3 up to now is putting the USB Ports into the OTG Mode rather than the host mode.
This is due to different kind of baseboards available so they don't want to break anything.
kernel mailing list for reference:
https://lkml.iu.edu/hypermail/linux/kernel/2206.1/04602.html
so patch the corresponding dts file /arch/arm64/boot/dts/rockchip/rk3566-soquartz-cm4.dts by adding the
line dr_mode = "host"; to the &usb_host0_xhci section, recompile the devicetree and use it!
&usb_host0_xhci {
dr_mode = "host";
status = "okay";
};
Beta Was this translation helpful? Give feedback.
All reactions