]> code.ossystems Code Review - openembedded-core.git/commit
qemuarm: check serial consoles vs /proc/consoles
authorTrevor Gamblin <trevor.gamblin@windriver.com>
Thu, 28 May 2020 23:06:45 +0000 (16:06 -0700)
committerSteve Sakoman <steve@sakoman.com>
Mon, 1 Jun 2020 17:02:44 +0000 (07:02 -1000)
commite2658a7d73b6f21939e644e533718cd05b288766
treec7936b465a61fd28fccd94d22a753350e1559be1
parentec58532ab6fc6343144da67789c928c751d36c06
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.

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>
meta/conf/machine/qemuarm.conf
meta/conf/machine/qemuarm64.conf