gl-ar750: frob kernel config for ttyS0 (SERIAL_OF_PLATFORM)

This commit is contained in:
Daniel Barlow 2022-10-07 23:24:36 +01:00
parent 423cf4cbee
commit 8e8c34b3fa

View file

@ -23,17 +23,19 @@
kernel = rec { kernel = rec {
checkedConfig = { checkedConfig = {
"MIPS_ELF_APPENDED_DTB" = "y"; "MIPS_ELF_APPENDED_DTB" = "y";
# possibly not all of these are needed, I just OF = "y";
# copied them from qemu USE_OF = "y";
HW_CONSOLE = "y";
VT_HW_CONSOLE_BINDING = "y";
SERIAL_8250_CONSOLE = "y"; SERIAL_8250_CONSOLE = "y";
SERIAL_8250 = "y"; SERIAL_8250 = "y";
SERIAL_CORE_CONSOLE = "y"; SERIAL_CORE_CONSOLE = "y";
DUMMY_CONSOLE = "y";
DUMMY_CONSOLE_COLUMNS = "80"; # need this to open console device at boot. dmesg goes from
DUMMY_CONSOLE_ROWS = "25"; # [ 0.272934] Warning: unable to open an initial console.
# FRAMEBUFFER_CONSOLE = "y"; # to
# [ 0.247413] printk: console [ttyS0] disabled
# [ 0.25200] 18020000.uart: ttyS0 at MMIO 0x1802000 (irq = 10, base_baud = 1562500) is a 16550A
SERIAL_OF_PLATFORM = "y";
CONSOLE_LOGLEVEL_DEFAULT = "8"; CONSOLE_LOGLEVEL_DEFAULT = "8";
CONSOLE_LOGLEVEL_QUIET = "4"; CONSOLE_LOGLEVEL_QUIET = "4";