diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-12-13 22:01:25 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-12-18 22:52:24 +0000 |
commit | 51ef6bbbd96489596d82d967078de78a40ae2fc0 (patch) | |
tree | a68fe540bcbe206bb9f7c38783257cb4cac34a48 /meta/conf | |
parent | f443e3702113a5c3a837365f4f35aaa550875798 (diff) | |
download | poky-51ef6bbbd96489596d82d967078de78a40ae2fc0.tar.gz |
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
(From OE-Core rev: 8a6559f1561ca6b7719bb46fc446db46d8086ea3)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/machine/include/riscv/qemuriscv.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/machine/include/riscv/qemuriscv.inc b/meta/conf/machine/include/riscv/qemuriscv.inc index 0e88c91aa6..47d7e9b174 100644 --- a/meta/conf/machine/include/riscv/qemuriscv.inc +++ b/meta/conf/machine/include/riscv/qemuriscv.inc | |||
@@ -10,6 +10,7 @@ KERNEL_IMAGETYPES += "uImage" | |||
10 | KEEPUIMAGE = "no" | 10 | KEEPUIMAGE = "no" |
11 | 11 | ||
12 | SERIAL_CONSOLES ?= "115200;ttyS0 115200;hvc0" | 12 | SERIAL_CONSOLES ?= "115200;ttyS0 115200;hvc0" |
13 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
13 | 14 | ||
14 | IMAGE_FSTYPES += "ext4 wic.qcow2" | 15 | IMAGE_FSTYPES += "ext4 wic.qcow2" |
15 | 16 | ||