tty, uboot: Update ttySI0 to ttySIF0 for riscv64

ttySI0 was a name of HiFive Unleashed serial console. It was changed to
ttySIF0.
This commit is contained in:
Nikita Ermakov 2021-01-27 15:55:36 +03:00 committed by Anton Midyukov
parent d61cf03258
commit 741d59ab3d
2 changed files with 5 additions and 1 deletions

View File

@ -9,7 +9,7 @@ ifeq (distro,$(IMAGE_CLASS))
endif endif
comma := , comma := ,
use/tty/S0 use/tty/SI0 use/tty/AMA0: use/tty/%: use/tty use/tty/S0 use/tty/SIF0 use/tty/AMA0: use/tty/%: use/tty
@$(call add,THE_PACKAGES,agetty) @$(call add,THE_PACKAGES,agetty)
@$(call add,TTY_DEV,tty$*) @$(call add,TTY_DEV,tty$*)
@$(call set,TTY_RATE,115200) @$(call set,TTY_RATE,115200)

View File

@ -7,7 +7,11 @@ endif
endif endif
ifeq (,$(filter-out riscv64,$(ARCH))) ifeq (,$(filter-out riscv64,$(ARCH)))
ifeq (,$(filter-out qcow2 qcow2c,$(IMAGE_TYPE)))
UBOOT_TTY := use/tty/S0 UBOOT_TTY := use/tty/S0
else
UBOOT_TTY := use/tty/SIF0
endif
endif endif
ifneq (,$(filter-out i586 x86_64,$(ARCH))) ifneq (,$(filter-out i586 x86_64,$(ARCH)))