diff options
author | Trevor Gamblin <trevor.gamblin@windriver.com> | 2020-05-28 16:06:45 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-05 21:36:30 +0100 |
commit | 1bb406b092c33dd17856a21a390aebcb574eb58d (patch) | |
tree | 0227e8e43d07ab994a9d9413fb87b958318ad06a /meta/conf/machine/qemuarm64.conf | |
parent | 45d742b0e0fef1035cd14bf70fb763857f5a63b0 (diff) | |
download | poky-1bb406b092c33dd17856a21a390aebcb574eb58d.tar.gz |
qemuarm: check serial consoles vs /proc/consoles
Note that this patch affects qemuarm AND qemuarm64.
When booting a VM and during operation, the following message
periodically appears:
INIT: Id "hvc0" respawning too fast: disabled for 5 minutes
This is because hvc0 is specified in SERIAL_CONSOLES in qemuarm.conf
and qemuarm64.conf, but it is not in /proc/consoles and
SERIAL_CONSOLES_CHECK is not specified, leaving getty to attempt to
enable hvc0. Add SERIAL_CONSOLES_CHECK to both conf files so that
hvc0 isn't enabled if it hasn't been set there or in local.conf.
(From OE-Core rev: e2658a7d73b6f21939e644e533718cd05b288766)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 982b7f98b8423236cc986346379b1bde3694f131)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/machine/qemuarm64.conf b/meta/conf/machine/qemuarm64.conf index 1e2d4f018d..2cf1a0206c 100644 --- a/meta/conf/machine/qemuarm64.conf +++ b/meta/conf/machine/qemuarm64.conf | |||
@@ -8,6 +8,7 @@ require conf/machine/include/qemu.inc | |||
8 | KERNEL_IMAGETYPE = "Image" | 8 | KERNEL_IMAGETYPE = "Image" |
9 | 9 | ||
10 | SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;hvc0" | 10 | SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;hvc0" |
11 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
11 | 12 | ||
12 | # For runqemu | 13 | # For runqemu |
13 | QB_SYSTEM_NAME = "qemu-system-aarch64" | 14 | QB_SYSTEM_NAME = "qemu-system-aarch64" |