0
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-24 14:06:15 +00:00
openwrt/target/linux/x86/image
Mark Mentovai c099523d66 armsr: use console=tty1 to make console more readily available
Like x86, armsr is frequently virtualized, and is used for development
and debugging. Kernel messages should be more readily apparent by
default. This can be achieved by adding console=tty1 to the kernel
command line, enabling the console on a (possibly virtual) display and
keyboard, in addition to a serial port.

This also enables failsafe on tty1. Failsafe mode operates on consoles
known by the kernel, without regard to /etc/inittab.

armsr's /etc/inittab is also updated to specify tty1 instead of tty0.
tty1 is technically more correct: tty1 is the first virtual console,
where tty0 reflects the current active virtual console (which is likely
to be tty1).

This configuration matches x86, which is another target commonly used
for virtualization, development, and debugging in the same way. x86's
kernel command line had specified console=tty0, although console=tty1 is
more correct for the reasons given above. This also brings x86's kernel
command line console= into agreement with its /etc/inittab, which
already used tty1.

Signed-off-by: Mark Mentovai <mark@mentovai.com>
Link: https://github.com/openwrt/openwrt/pull/16213
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-08-25 13:15:33 +02:00
..
64.mk Revert "x86: add support for Mellanox Spectrum SN2000 Switches" 2023-12-23 07:52:05 +00:00
generic.mk x86: use device vendor/model variable 2021-09-23 21:45:13 -10:00
geode.mk x86: geode: fix package nameing kmod-crypto-ebc does not exist 2022-02-26 13:36:30 +01:00
grub-efi.cfg x86: grub2: search for the "kernel" filesystem on all disks 2022-02-24 20:45:12 +01:00
grub-iso.cfg x86: generate EFI platform bootable images 2020-03-31 16:20:47 +02:00
grub-pc.cfg x86: switch image generation to new code 2020-03-21 10:36:00 +00:00
legacy.mk x86: use device vendor/model variable 2021-09-23 21:45:13 -10:00
Makefile armsr: use console=tty1 to make console more readily available 2024-08-25 13:15:33 +02:00