mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
45d742b0e0
commit
1bb406b092
@@ -8,6 +8,7 @@ require conf/machine/include/qemu.inc
|
|||||||
KERNEL_IMAGETYPE = "zImage"
|
KERNEL_IMAGETYPE = "zImage"
|
||||||
|
|
||||||
SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;hvc0"
|
SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;hvc0"
|
||||||
|
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||||
|
|
||||||
# For runqemu
|
# For runqemu
|
||||||
QB_SYSTEM_NAME = "qemu-system-arm"
|
QB_SYSTEM_NAME = "qemu-system-arm"
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ require conf/machine/include/qemu.inc
|
|||||||
KERNEL_IMAGETYPE = "Image"
|
KERNEL_IMAGETYPE = "Image"
|
||||||
|
|
||||||
SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;hvc0"
|
SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;hvc0"
|
||||||
|
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||||
|
|
||||||
# For runqemu
|
# For runqemu
|
||||||
QB_SYSTEM_NAME = "qemu-system-aarch64"
|
QB_SYSTEM_NAME = "qemu-system-aarch64"
|
||||||
|
|||||||
Reference in New Issue
Block a user