U-Boot video output for rk3588

Hi,
Does anyone know how to enable HDMI output on this device in U-Boot, e.g. on rock5b?
Regards, Simon

+Sebastian Reichel
Hi,
On Wed, 2 Aug 2023 at 15:03, Simon Glass sjg@chromium.org wrote:
Hi,
Does anyone know how to enable HDMI output on this device in U-Boot, e.g. on rock5b?
Also, how do I make serial console, or earlycon work on this board?
Regards, Simon

Hi,
On Wed, Aug 02, 2023 at 03:19:04PM -0600, Simon Glass wrote:
On Wed, 2 Aug 2023 at 15:03, Simon Glass sjg@chromium.org wrote:
Does anyone know how to enable HDMI output on this device in U-Boot, e.g. on rock5b?
Upstream kernel does not yet support RK3588 HDMI output, but Cristian Ciocaltea (added in Cc) is working on it. For U-Boot AFAIK nobody is working on extending the drivers in drivers/video/rockchip/* at the moment.
Also, how do I make serial console, or earlycon work on this board?
The upstream Kernel stdout-path defined in the Rock 5B DT, so serial should work OOTB. But - like all Rockchip devices - RK3588 boards use 1500000 Baud instead of the common 115200. Some USB serial adapters are too slow for that. See also:
https://wiki.radxa.com/Rock5/dev/serial-console
Greetings,
-- Sebastian

fwiw, I grabbed this terminal code written in go out of the tinygo project: https://github.com/inindev/goterm
It is less than 100 lines long and it supports the rockchip 1.5M baud rate well (ctrl+] to exit).
On 8/2/23 6:50 PM, Sebastian Reichel wrote:
Hi,
On Wed, Aug 02, 2023 at 03:19:04PM -0600, Simon Glass wrote:
On Wed, 2 Aug 2023 at 15:03, Simon Glass sjg@chromium.org wrote:
Does anyone know how to enable HDMI output on this device in U-Boot, e.g. on rock5b?
Upstream kernel does not yet support RK3588 HDMI output, but Cristian Ciocaltea (added in Cc) is working on it. For U-Boot AFAIK nobody is working on extending the drivers in drivers/video/rockchip/* at the moment.
Also, how do I make serial console, or earlycon work on this board?
The upstream Kernel stdout-path defined in the Rock 5B DT, so serial should work OOTB. But - like all Rockchip devices - RK3588 boards use 1500000 Baud instead of the common 115200. Some USB serial adapters are too slow for that. See also:
https://wiki.radxa.com/Rock5/dev/serial-console
Greetings,
-- Sebastian

On Thu, 3 Aug 2023 at 02:33, Simon Glass sjg@chromium.org wrote:
Hi,
Does anyone know how to enable HDMI output on this device in U-Boot, e.g. on rock5b?
Nothing yet, basic vop2 is not available - Linux side is under progress. It will be possible to support in U-Boot after.
Jagan.
participants (4)
-
Jagan Teki
-
John Clark
-
Sebastian Reichel
-
Simon Glass