Dang Huynh via B4 Relay [2025-11-08 12:37:56] wrote:
> This series adds VOP2 support to U-Boot and enable it for PineTab2.
> HDMI should work flawlessly but there's still some timings issue with
> DW MIPI DSI, perhaps that's something to look into later.
I'm trying to use this patch on my NanoPi R5S and the result is not
quite what I expect. I suspect I'm doing something wrong.
I applied the above patch to the tip of the current u-boot (there was
a trivial conflict in a Makefile, but nothing of significance).
Then I applied the following patch:
diff --git a/configs/nanopi-r5s-rk3568_defconfig
b/configs/nanopi-r5s-rk3568_defconfig
index 1653ab8b44f..d707dd5bc29 100644
--- a/configs/nanopi-r5s-rk3568_defconfig
+++ b/configs/nanopi-r5s-rk3568_defconfig
@@ -56,6 +56,7 @@ CONFIG_DWC_ETH_QOS_ROCKCHIP=y
CONFIG_RTL8169=y
CONFIG_NVME_PCI=y
CONFIG_PCIE_DW_ROCKCHIP=y
+CONFIG_PHY_ROCKCHIP_INNO_HDMI=y
CONFIG_PHY_ROCKCHIP_INNO_USB2=y
CONFIG_PHY_ROCKCHIP_NANENG_COMBOPHY=y
CONFIG_SPL_PINCTRL=y
@@ -80,4 +81,12 @@ CONFIG_SPL_USB_DWC3_GENERIC=y
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_DOWNLOAD=y
CONFIG_USB_FUNCTION_ROCKUSB=y
+CONFIG_USB_KEYBOARD=y
+CONFIG_VIDEO=y
+CONFIG_DISPLAY=y
+CONFIG_VIDEO_ROCKCHIP=y
+CONFIG_DISPLAY_ROCKCHIP_HDMI=y
+CONFIG_VIDEO_DT_SIMPLEFB=y
+CONFIG_VIDEO_BRIDGE=y
+CONFIG_VIDEO_REMOVE=y
CONFIG_ERRNO_STR=y
I also changed the U-Boot config to extend the autoboot timeout to 30s,
so I have plenty of time to hit a key on the keyboard.
and the result is as follows:
- A U-Boot logo greets me at the top-right corner of the screen.
I'm really happy to see this logo, shows something is right with the
HDMI code&config.
- The rest is all black, no text.
- Hitting a key on the USB-connected keyboard seems to have no effect:
the screen stays desperately all black except for the U-Boot logo.
- After the 30s timeout, the system boots as usual.
I tried to disconnect&reconnect the keyboard as well as tried both USB
ports on the device. Same difference. Why do I get to see the U-Boot
logo but not the usual bootup text?
Stefan