summaryrefslogtreecommitdiffstats
path: root/poky/meta/conf/machine/include/qemuboot-mips.inc
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta/conf/machine/include/qemuboot-mips.inc')
-rw-r--r--poky/meta/conf/machine/include/qemuboot-mips.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/poky/meta/conf/machine/include/qemuboot-mips.inc b/poky/meta/conf/machine/include/qemuboot-mips.inc
new file mode 100644
index 000000000..7d9fa52da
--- /dev/null
+++ b/poky/meta/conf/machine/include/qemuboot-mips.inc
@@ -0,0 +1,8 @@
+# For runqemu
+IMAGE_CLASSES += "qemuboot"
+QB_MEM = "-m 256"
+QB_MACHINE = "-machine malta"
+QB_KERNEL_CMDLINE_APPEND = "console=ttyS0 console=tty"
+# Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy
+QB_OPT_APPEND = "-vga cirrus -show-cursor -usb -device usb-tablet -device virtio-rng-pci"
+QB_SYSTEM_NAME = "qemu-system-${TUNE_ARCH}"
OpenPOWER on IntegriCloud