diff mbox series

[3/5] board/nezha/overlay/boot/extlinux/extlinux.conf: activate framebuffer console on HDMI

Message ID 20221211201704.25858-3-indrek.kruusa@gmail.com
State Superseded
Headers show
Series [1/5] configs/nezha_defconfig: bump versions for uboot, sbi and linux kernel | expand

Commit Message

Indrek Kruusa Dec. 11, 2022, 8:17 p.m. UTC
Replace serial console with the framebuffer console on HDMI.
Limit resolution to 1280x800 as the framebuffer is really slow.

Signed-off-by: Indrek Kruusa <indrek.kruusa@gmail.com>
---
 board/nezha/overlay/boot/extlinux/extlinux.conf | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Peter Korsgaard Dec. 12, 2022, 7:30 a.m. UTC | #1
>>>>> "Indrek" == Indrek Kruusa <indrek.kruusa@gmail.com> writes:

 > Replace serial console with the framebuffer console on HDMI.
 > Limit resolution to 1280x800 as the framebuffer is really slow.

 > Signed-off-by: Indrek Kruusa <indrek.kruusa@gmail.com>
 > ---
 >  board/nezha/overlay/boot/extlinux/extlinux.conf | 3 +--
 >  1 file changed, 1 insertion(+), 2 deletions(-)

 > diff --git a/board/nezha/overlay/boot/extlinux/extlinux.conf b/board/nezha/overlay/boot/extlinux/extlinux.conf
 > index 91b2298628..4bf66ee8c4 100644
 > --- a/board/nezha/overlay/boot/extlinux/extlinux.conf
 > +++ b/board/nezha/overlay/boot/extlinux/extlinux.conf
 > @@ -1,4 +1,3 @@
 >  label linux
 >    kernel /boot/Image
 > -  # use devicetree from u-boot
 > -  append console=ttyS0,115200 root=/dev/mmcblk0p1 ro rootwait
 > +  append console=tty0 video=HDMI-A-1:1280x800 root=/dev/mmcblk0p1 ro rootwait

Why? We generally use serial console in the defconfigs, or at least run
the console and a getty on both the serial port and the video output
like on raspberrypi.
Indrek Kruusa Dec. 12, 2022, 4:29 p.m. UTC | #2
Kontakt Peter Korsgaard (<peter@korsgaard.com>) kirjutas kuupƤeval E, 12.
detsember 2022 kell 09:30:

> >>>>> "Indrek" == Indrek Kruusa <indrek.kruusa@gmail.com> writes:
>
>  > Replace serial console with the framebuffer console on HDMI.
>  > Limit resolution to 1280x800 as the framebuffer is really slow.
>
>  > Signed-off-by: Indrek Kruusa <indrek.kruusa@gmail.com>
>  > ---
>  >  board/nezha/overlay/boot/extlinux/extlinux.conf | 3 +--
>  >  1 file changed, 1 insertion(+), 2 deletions(-)
>
>  > diff --git a/board/nezha/overlay/boot/extlinux/extlinux.conf
> b/board/nezha/overlay/boot/extlinux/extlinux.conf
>  > index 91b2298628..4bf66ee8c4 100644
>  > --- a/board/nezha/overlay/boot/extlinux/extlinux.conf
>  > +++ b/board/nezha/overlay/boot/extlinux/extlinux.conf
>  > @@ -1,4 +1,3 @@
>  >  label linux
>  >    kernel /boot/Image
>  > -  # use devicetree from u-boot
>  > -  append console=ttyS0,115200 root=/dev/mmcblk0p1 ro rootwait
>  > +  append console=tty0 video=HDMI-A-1:1280x800 root=/dev/mmcblk0p1 ro
> rootwait
>
> Why? We generally use serial console in the defconfigs, or at least run
> the console and a getty on both the serial port and the video output
> like on raspberrypi.
>

Well, I was thinking that a working HDMI console fits for a wider audience.
But this is subjective indeed. Will take that into account in the future.


>
> --
> Bye, Peter Korsgaard
>
diff mbox series

Patch

diff --git a/board/nezha/overlay/boot/extlinux/extlinux.conf b/board/nezha/overlay/boot/extlinux/extlinux.conf
index 91b2298628..4bf66ee8c4 100644
--- a/board/nezha/overlay/boot/extlinux/extlinux.conf
+++ b/board/nezha/overlay/boot/extlinux/extlinux.conf
@@ -1,4 +1,3 @@ 
 label linux
   kernel /boot/Image
-  # use devicetree from u-boot
-  append console=ttyS0,115200 root=/dev/mmcblk0p1 ro rootwait
+  append console=tty0 video=HDMI-A-1:1280x800 root=/dev/mmcblk0p1 ro rootwait