openwrt/target/linux
Mathew McBride 3697022ce3 armsr: add patch (hack) to enable all "default" consoles
A previous change added 'console=tty1' to the default kernel command
line on armsr, in order to ensure the framebuffer console is enabled
on systems capable of graphics output.

Unfortunately, this change broke boards that used device tree
(DT) firmware with serial consoles, as the serial console
specified by the system firmware (stdout-path) was no longer
setup by the kernel.

A bit of probing determined that the SPCR (serial port console
direction table) on ACPI systems was preventing Linux from setting
up a default framebuffer console on these systems (which is why
console=tty1 was added).

(The affected ACPI systems are usually VMs using QEMU's
'virt' machine and EDK2 firmware. The firmware on these systems
does not remove the SPCR when a screen is present)

So to ensure all possible systems are setup correctly, we modify
the kernel so all "default" console types (serial and screen)
are setup when no console= arguments are specified on the kernel
command line.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
Fixes: c099523d66 ("use console=tty1 to make console more
readily available")
Link: https://github.com/openwrt/openwrt/pull/17012
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-05-26 10:31:23 +02:00
..
airoha kernel: bump 6.6 to 6.6.89 2025-05-03 19:57:53 +02:00
apm821xx apm821xx: replace kmod-usb3 with kmod-usb-xhci-pci-renesas 2025-05-17 20:14:27 +02:00
archs38 kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
armsr armsr: add patch (hack) to enable all "default" consoles 2025-05-26 10:31:23 +02:00
at91 treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
ath79 ath79: refresh 6.12 kernel patches 2025-05-25 20:39:13 +02:00
bcm27xx bcm27xx: drop README patches 2025-05-23 10:36:21 +02:00
bcm47xx treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
bcm53xx kernel: bump 6.6 to 6.6.90 2025-05-13 21:43:34 +02:00
bcm4908 bcm63xx-cfe: install into image staging dir 2025-04-13 10:44:19 +02:00
bmips treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
d1 d1: drop 6.6 support 2025-05-24 14:03:02 +02:00
gemini Revert "gemini: Add module for VSC73xx switches" 2025-05-02 19:17:53 +02:00
generic kernel: bump 6.6 to 6.6.92 2025-05-25 17:57:19 +02:00
imx kernel: bump 6.6 to 6.6.90 2025-05-13 21:43:34 +02:00
ipq40xx treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
ipq806x treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
ixp4xx kernel: Activate CONFIG_NET_SWITCHDEV in generic config 2025-03-15 13:54:59 +01:00
kirkwood treewide: dts: trim "#size-cells" from "gpio-export" node 2025-05-18 19:35:00 +02:00
lantiq treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
layerscape kernel: bump 6.6 to 6.6.88 2025-05-03 19:57:53 +02:00
loongarch64 kernel: Add KERNEL_DCB (Data Center Bridging) 2025-03-09 17:05:26 +01:00
malta kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
mediatek mediatek: filogic: add support for SNR-CPE-AX2 2025-05-25 19:04:12 +02:00
mpc85xx mac80211: ath9k: replace qca,led-sources 2025-05-24 21:33:37 +02:00
mvebu mvebu: armada37xx: add pending PXA I2C recovery fix 2025-05-20 20:54:48 +02:00
mxs mxs: drop 6.6 support 2025-05-24 16:15:53 +02:00
octeon octeon: force pcs reset to fix qca833x traffic 2025-04-02 10:04:52 +02:00
omap kernel: Activate CONFIG_NET_SWITCHDEV in generic config 2025-03-15 13:54:59 +01:00
pistachio kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
qoriq kernel: Activate CONFIG_NET_SWITCHDEV in generic config 2025-03-15 13:54:59 +01:00
qualcommax qualcommax: ipq50xx: backport upstreamed patches for IPQ5018 tsens support 2025-05-24 11:27:05 +02:00
qualcommbe qualcommbe: ipq95xx: fix ipq-uniphy crash on IPQ9554 2025-05-12 15:06:24 +02:00
ramips ramips: fix wrg-header image recipe 2025-05-22 18:49:31 +02:00
realtek realtek: relocate mips cpc probing 2025-05-24 21:20:58 +02:00
rockchip rockchip: armv8: add missing config option 2025-05-25 17:57:19 +02:00
sifiveu sifiveu: add 6.12 kernel as testing 2025-05-23 12:28:50 +02:00
siflower treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
starfive kernel: bump 6.6 to 6.6.90 2025-05-13 21:43:34 +02:00
stm32 stm32: add missing config option 2025-05-25 17:57:19 +02:00
sunxi kernel: Activate CONFIG_NET_SWITCHDEV in generic config 2025-03-15 13:54:59 +01:00
tegra kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
uml uml: fix glibc-static check with GCC14 2024-06-22 22:06:06 +02:00
x86 x86: legacy: config: alphabetize config-6.12 2025-05-25 18:09:01 +02:00
zynq kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
Makefile linux: fix missing default packages in profiles.json 2024-11-17 19:29:06 +01:00