openwrt/target/linux/bcm27xx
Elbert Mai 6a05d849e1 bcm27xx: correct cmdline.txt consoles for procd
Commit [ca8c30208d5e][1] updates procd to handle muliple "console=" on the
kernel command line. This affects Raspberry Pi builds because cmdline.txt
specifies a UART console and a virtual console on HDMI, in that order.

When procd finds multiple consoles on the command line, it attempts to
open /dev/console. Linux uses the [last console][2] for /dev/console, so
procd opens the virtual console on Raspberry Pi. This completely disables
the UART console and causes [strange behavior][3] on the virtual console.
Prior to ca8c30208d5e, procd would always open the first console, which is
the UART console.

The simplest fix without reverting ca8c30208d5e is to swap the order of
console options in cmdline.txt. By putting the UART console last, procd
handles the serial console correctly as before.

[1]: https://git.openwrt.org/?p=project/procd.git;a=commit;h=ca8c30208d5e1aaa2c0e3f732c4c9944735e9850
[2]: https://www.kernel.org/doc/html/latest/admin-guide/serial-console.html
[3]: https://forum.openwrt.org/t/rasberry-pi-4-model-b-keyboards-gone-wild/195594

Signed-off-by: Elbert Mai <code@elbertmai.com>
2024-05-01 20:22:42 +02:00
..
base-files bcm27xx: use PARTUUID for root in cmdline 2024-03-04 16:28:57 +01:00
bcm2708 bcm27xx: update 6.1 patches from RPi foundation 2024-04-07 22:12:42 +02:00
bcm2709 bcm27xx: update 6.1 patches from RPi foundation 2024-04-07 22:12:42 +02:00
bcm2710 bcm27xx: update 6.1 patches from RPi foundation 2024-04-07 22:12:42 +02:00
bcm2711 bcm27xx: update 6.1 patches from RPi foundation 2024-04-07 22:12:42 +02:00
bcm2712 bcm27xx: update 6.1 patches from RPi foundation 2024-04-07 22:12:42 +02:00
image bcm27xx: correct cmdline.txt consoles for procd 2024-05-01 20:22:42 +02:00
modules bcm27xx: add isp-bcm2835 kernel module 2024-02-05 18:25:16 +01:00
patches-6.1 kernel: bump 6.1 to 6.1.89 2024-04-30 20:18:15 +02:00
Makefile bcm27xx: switch to bcm27xx-utils 2024-01-26 12:29:30 +01:00
modules.mk target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00