diff options
author | Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com> | 2017-03-21 14:37:11 +0200 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2017-03-21 13:55:39 -0700 |
commit | 23f676af450b53581eda7bae4cfff32291809b04 (patch) | |
tree | 918618dd99cf968e43fa721f7ebca0301ccaa2e5 /common/recipes-bsp/rmc | |
parent | 5aa04f42d957aaf5a1cb0ea64fdd5986c5d39bcc (diff) | |
download | meta-intel-23f676af450b53581eda7bae4cfff32291809b04.tar.gz |
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 <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'common/recipes-bsp/rmc')
-rw-r--r-- | common/recipes-bsp/rmc/boards/qemu-2.6/KBOOTPARAM | 1 | ||||
-rw-r--r-- | common/recipes-bsp/rmc/boards/qemu-2.6/qemu-2.6.fp | bin | 0 -> 113 bytes | |||
-rw-r--r-- | common/recipes-bsp/rmc/boards/qemu-2.8/KBOOTPARAM | 1 | ||||
-rw-r--r-- | common/recipes-bsp/rmc/boards/qemu-2.8/qemu-2.8.fp | bin | 0 -> 113 bytes |
4 files changed, 2 insertions, 0 deletions
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 --- /dev/null +++ b/common/recipes-bsp/rmc/boards/qemu-2.6/qemu-2.6.fp | |||
Binary files 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 --- /dev/null +++ b/common/recipes-bsp/rmc/boards/qemu-2.8/qemu-2.8.fp | |||
Binary files differ | |||