during boot, the kernel will send logs to every console listed in the cmdline
so in this case, it sends it to tty1 (the hdmi port) and serial0 (on gpio 14/15)
and /dev/console is mapped to the last entry in the list i believe
but once linux is done booting, systemd will launch a getty on all tty's and every console=
so you can then get a login prompt over the serial port
if you try to use serial0 while that login prompt is active, it will malfunction in fun ways
so in this case, it sends it to tty1 (the hdmi port) and serial0 (on gpio 14/15)
and /dev/console is mapped to the last entry in the list i believe
but once linux is done booting, systemd will launch a getty on all tty's and every console=
so you can then get a login prompt over the serial port
if you try to use serial0 while that login prompt is active, it will malfunction in fun ways
Statistics: Posted by cleverca22 — Fri Apr 12, 2024 4:38 am