Commit 741d59ab authored by Nikita Ermakov's avatar Nikita Ermakov Committed by Anton Midyukov

tty, uboot: Update ttySI0 to ttySIF0 for riscv64

ttySI0 was a name of HiFive Unleashed serial console. It was changed to ttySIF0.
parent d61cf032
...@@ -9,7 +9,7 @@ ifeq (distro,$(IMAGE_CLASS)) ...@@ -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)
......
...@@ -7,7 +7,11 @@ endif ...@@ -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)))
......
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