qemu-*.conf: support for qemuboot

Add support to run qemus using runqemu.
All qemu machines will inherit the bbclass "zephyr-qemuboot",
which is responsible to set up everything that is needed
in order to use "runqemu".

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
This commit is contained in:
Juro Bystricky
2017-01-30 16:20:37 -08:00
parent 50bee23104
commit b7d973a2a0
3 changed files with 16 additions and 5 deletions

View File

@@ -5,7 +5,11 @@
require conf/machine/include/qemu.inc
require conf/machine/include/tune-cortexm3.inc
# For runqemu (TBD)
ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
# For runqemu
QB_SYSTEM_NAME = "qemu-system-arm"
QB_MACHINE = "-machine lm3s6965evb"
QB_OPT_APPEND = "-nographic -vga none -cpu=cortex-m3"
QB_OPT_APPEND = "-nographic -vga none"
QB_CPU = "-cpu cortex-m3"

View File

@@ -5,7 +5,10 @@
require conf/machine/include/qemu.inc
require conf/machine/include/tune-nios2.inc
# For runqemu (TBD)
ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
# For runqemu
QB_SYSTEM_NAME = "qemu-system-nios2"
QB_MACHINE = "-machine altera_10m50_zephyr"
QB_OPT_APPEND = "-nographic -cpu=nios2"
QB_OPT_APPEND = "-nographic"
QB_CPU = "-cpu nios2"

View File

@@ -5,7 +5,11 @@
require conf/machine/include/qemu.inc
require conf/machine/include/tune-i586.inc
# For runqemu (TBD)
ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
# For runqemu
QB_SYSTEM_NAME = "qemu-system-i386"
QB_MACHINE = "-machine pc-0.14"
QB_OPT_APPEND = "-nographic -display none -clock dynticks -no-acpi -balloon none"
QB_CPU_x86 = "-cpu qemu32"
QB_CPU_KVM_x86 = "-cpu kvm32"