From: Khem Raj Date: Mon, 14 Dec 2020 06:01:25 +0000 (-0800) Subject: qemuriscv: check serial consoles w.r.t. /proc/consoles X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~9348 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a6559f1561ca6b7719bb46fc446db46d8086ea3;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git qemuriscv: check serial consoles w.r.t. /proc/consoles qemuriscv enables hvc0 along with ttyS0, however its not enabled in /proc/consoles, getty tries to enable it in inittab and erroring out Fixes below message with sysvinit INIT: Id "hvc0" respawning too fast: disabled for 5 minutes Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- diff --git a/meta/conf/machine/include/riscv/qemuriscv.inc b/meta/conf/machine/include/riscv/qemuriscv.inc index 0e88c91aa60..47d7e9b174a 100644 --- a/meta/conf/machine/include/riscv/qemuriscv.inc +++ b/meta/conf/machine/include/riscv/qemuriscv.inc @@ -10,6 +10,7 @@ KERNEL_IMAGETYPES += "uImage" KEEPUIMAGE = "no" SERIAL_CONSOLES ?= "115200;ttyS0 115200;hvc0" +SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" IMAGE_FSTYPES += "ext4 wic.qcow2"