From 23f676af450b53581eda7bae4cfff32291809b04 Mon Sep 17 00:00:00 2001 From: Dmitry Rozhkov Date: Tue, 21 Mar 2017 14:37:11 +0200 Subject: rmc: enable serial console when running under QEMU Since we can run ordinary intel-corei7-64 wic images under QEMU it makes sense to add QEMU quirks enabling serial console to the RMC DB. This patch appends "console=ttyS0,115200" to kernel command line in case the image is used to run a QEMU VM e.g. with the command: $ runqemu ovmf refkit-image-common wic intel-corei7-64 slirp serial nographic Unfortunately different major versions of QEMU produce different RMC fingerprints, so the QEMU versions 2.6.x and 2.8.x should be treated as different boards. Signed-off-by: Dmitry Rozhkov Signed-off-by: Saul Wold --- common/recipes-bsp/rmc/boards/qemu-2.6/KBOOTPARAM | 1 + common/recipes-bsp/rmc/boards/qemu-2.6/qemu-2.6.fp | Bin 0 -> 113 bytes common/recipes-bsp/rmc/boards/qemu-2.8/KBOOTPARAM | 1 + common/recipes-bsp/rmc/boards/qemu-2.8/qemu-2.8.fp | Bin 0 -> 113 bytes 4 files changed, 2 insertions(+) create mode 100644 common/recipes-bsp/rmc/boards/qemu-2.6/KBOOTPARAM create mode 100644 common/recipes-bsp/rmc/boards/qemu-2.6/qemu-2.6.fp create mode 100644 common/recipes-bsp/rmc/boards/qemu-2.8/KBOOTPARAM create mode 100644 common/recipes-bsp/rmc/boards/qemu-2.8/qemu-2.8.fp diff --git a/common/recipes-bsp/rmc/boards/qemu-2.6/KBOOTPARAM b/common/recipes-bsp/rmc/boards/qemu-2.6/KBOOTPARAM new file mode 100644 index 00000000..476b1fbe --- /dev/null +++ b/common/recipes-bsp/rmc/boards/qemu-2.6/KBOOTPARAM @@ -0,0 +1 @@ +console=ttyS0,115200 diff --git a/common/recipes-bsp/rmc/boards/qemu-2.6/qemu-2.6.fp b/common/recipes-bsp/rmc/boards/qemu-2.6/qemu-2.6.fp new file mode 100644 index 00000000..e4c41657 Binary files /dev/null and b/common/recipes-bsp/rmc/boards/qemu-2.6/qemu-2.6.fp differ diff --git a/common/recipes-bsp/rmc/boards/qemu-2.8/KBOOTPARAM b/common/recipes-bsp/rmc/boards/qemu-2.8/KBOOTPARAM new file mode 100644 index 00000000..476b1fbe --- /dev/null +++ b/common/recipes-bsp/rmc/boards/qemu-2.8/KBOOTPARAM @@ -0,0 +1 @@ +console=ttyS0,115200 diff --git a/common/recipes-bsp/rmc/boards/qemu-2.8/qemu-2.8.fp b/common/recipes-bsp/rmc/boards/qemu-2.8/qemu-2.8.fp new file mode 100644 index 00000000..7f28f37c Binary files /dev/null and b/common/recipes-bsp/rmc/boards/qemu-2.8/qemu-2.8.fp differ -- cgit v1.2.3-54-g00ecf