Linux console on HDMI screen

I am using Ubuntu Server image and I have a monitor of 1920x1080 resolution. When rockpi4b is booted the linux console appears only in 1/4 for the screen 600x480.

To get the console on screen I had to first appended console=tty0 in extlinux.conf
I tried changing kernel apped line in extlinux.conf using option vga=773 for 1024x768 resolution but it is not working.

Make sure you have /etc/udev/rules.d/60-drm.rules and usr/local/bin/drm-hotplug.sh . These two handles the HDMI hotplug event. Make sure drm-hotplug.sh is excutable.

Related topic:

HDMI not working if plugged after complete boot

@jack that topic I have posted but that was after the boot. Here I wanted to see the boot messages on HDMI screen. I am able to see the boot messages, but the resolution is not correct, it does not take the native resolution nor If I force it using vga kernel option.

Sorry, my bad. You can try to add the resolution kernel parameter in exlinux.conf, example below:

video=HDMI-A-1:1920x1080@60

I tried

timeout 10
menu title select kernel

label kernel-4.4.154-59-rockchip-g5e70f14
    kernel /vmlinuz-4.4.154-59-rockchip-g5e70f14
    devicetreedir /dtbs/4.4.154-59-rockchip-g5e70f14
    append earlyprintk console=ttyFIQ0,1500000n8  video=HDMI-A-1:1920x1080@60 init=/sbin/init root=PARTUUID=b921b045-1d rootwait rootfstype=ext4

To no avail? How should it be placed?

I just appended video=1920x1080@60 to append earlyprintk console=ttyFIQ0,1500000n8 init=/sbin/init root=PARTUUID=b921b045-1d rootwait rootfstype=ext4

Now the console is 1080p

1 Like

@jack @stuartiannaylor Thanks all. Its working in 1920x1080p.

https://www.kernel.org/doc/Documentation/fb/modedb.txt

1 Like