diff options
author | Jon Mason <jdmason@kudzu.us> | 2021-03-10 18:05:32 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-03-11 14:00:36 +0000 |
commit | 16d1669ff9f28013db829593c018b418304abad3 (patch) | |
tree | 660cb131b65ffadf1992b874a51910da80130d58 /meta/conf/machine/qemuarm64.conf | |
parent | bd0ada8994ce3c1cb3a2d67dc9e8fae5c348118e (diff) | |
download | poky-16d1669ff9f28013db829593c018b418304abad3.tar.gz |
runqemu: correct forcing of ttyS0
Some platforms do not use ttyS* for their serial consoles (e.g., qemuarm
and qemuarm64). The hardcoding of this can cause issues. Modify
runqemu to use the serial consoles defined in SERIAL_CONSOLES instead of
hardcoding.
(From OE-Core rev: 9dea4cd2f9f46ab3a75562639a22d8f56b4d26af)
Signed-off-by: Jon Mason <jon.mason@arm.com>
Change-Id: I746d56de5669c955c5e29d3ded70c0a4d3171f17
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/qemuarm64.conf')
-rw-r--r-- | meta/conf/machine/qemuarm64.conf | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/conf/machine/qemuarm64.conf b/meta/conf/machine/qemuarm64.conf index 05fd1f749b..51f7ecdcfd 100644 --- a/meta/conf/machine/qemuarm64.conf +++ b/meta/conf/machine/qemuarm64.conf | |||
@@ -17,8 +17,6 @@ QB_SYSTEM_NAME = "qemu-system-aarch64" | |||
17 | QB_MACHINE = "-machine virt" | 17 | QB_MACHINE = "-machine virt" |
18 | QB_CPU = "-cpu cortex-a57" | 18 | QB_CPU = "-cpu cortex-a57" |
19 | QB_CPU_KVM = "-cpu host -machine gic-version=3" | 19 | QB_CPU_KVM = "-cpu host -machine gic-version=3" |
20 | # Standard Serial console | ||
21 | QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0" | ||
22 | # For graphics to work we need to define the VGA device as well as the necessary USB devices | 20 | # For graphics to work we need to define the VGA device as well as the necessary USB devices |
23 | QB_GRAPHICS = "-device VGA,edid=on" | 21 | QB_GRAPHICS = "-device VGA,edid=on" |
24 | QB_OPT_APPEND = "-device qemu-xhci -device usb-tablet -device usb-kbd" | 22 | QB_OPT_APPEND = "-device qemu-xhci -device usb-tablet -device usb-kbd" |