tty: add ttyAMA0 and ttySI0 support

ttyAMA0 needed for qemu on aarch64 and armh.
ttySI0 needed for HiFive Unleashed (riscv64).
This commit is contained in:
Anton Midyukov 2019-06-13 20:11:20 +07:00 committed by Michael Shigorin
parent de8a578f87
commit 528d55e41e

View File

@ -7,8 +7,8 @@ ifeq (distro,$(IMAGE_CLASS))
@$(call add,BASE_PACKAGES,installer-feature-serial-stage3)
endif
use/tty/S0: use/tty
use/tty/S0 use/tty/SI0 use/tty/AMA0: use/tty/%: use/tty
@$(call add,THE_PACKAGES,agetty)
@$(call add,TTY_DEV,ttyS0)
@$(call add,TTY_DEV,tty$*)
@$(call set,TTY_RATE,115200)
@$(call add,SYSLINUX_CFG,ttyS0)
@$(call add,SYSLINUX_CFG,tty$*)