Commit 3991b6f8 authored by Anton Midyukov's avatar Anton Midyukov

tty, uboot: use console=tty0 instead console=tty1

console=tty1 may not be available at all. tty0 should correspond to /dev/console, which is definitely there. It will match the last console parameter specified in the kernel cmdline, if available.
parent fc9a44e6
......@@ -14,4 +14,4 @@ use/tty/%: use/tty
@$(call try,TTY_DEV,tty$*)
@$(call try,TTY_RATE,115200)
@$(call add,SYSLINUX_CFG,tty$*)
@$(call add,BASE_BOOTARGS,console=tty1 console=$$(TTY_DEV)$(comma)$$(TTY_RATE)n8)
@$(call add,BASE_BOOTARGS,console=tty0 console=$$(TTY_DEV)$(comma)$$(TTY_RATE)n8)
......@@ -2,7 +2,7 @@
TTY=
echo $GLOBAL_BASE_BOOTARGS | grep console= ||
TTY='console=tty1'
TTY='console=tty0'
# installkernel relies on existing extlinux.conf
# with filled in `default' label
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment