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 <[email protected]>
---
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 0000000..476b1fb
--- /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
0000000000000000000000000000000000000000..e4c41657f2e98b6c1b836e088b56d477941de5fd
GIT binary patch
literal 113
zcmZQ%Ehx%QDNQbk&r8frWe6@w%u7iuN>K=KR?x^aF)?t9P|#Kg@brw(Q82W$G}B~Y
rLe;>)B2boERGgWg$54>03(}ERp=+dP#!$~tlv<oxRF;~;fWig<a~B~<
literal 0
HcmV?d00001
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 0000000..476b1fb
--- /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
0000000000000000000000000000000000000000..7f28f37c33e01186c0f87cea9611b58ef11edcc1
GIT binary patch
literal 113
zcmZQ%Ehx%QDNQbk&r8frWe6@w%u7iuN>K=KR?x^aF)?t9P|#Kg@brw(Q82W$G}B~Y
rLe;>)B2boERGgWg$54>03(}ERp=+dP!BEdolv<oxRF;~;fWig<b4wvg
literal 0
HcmV?d00001
--
2.7.4
--
_______________________________________________
meta-intel mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-intel