diff options
Diffstat (limited to 'meta/conf/machine/qemuppc64.conf')
-rw-r--r-- | meta/conf/machine/qemuppc64.conf | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/conf/machine/qemuppc64.conf b/meta/conf/machine/qemuppc64.conf new file mode 100644 index 0000000000..2fbd26a6f9 --- /dev/null +++ b/meta/conf/machine/qemuppc64.conf @@ -0,0 +1,23 @@ +#@TYPE: Machine +#@NAME: QEMU PPC64 machine +#@DESCRIPTION: Machine configuration for running a PPC system on QEMU + +require conf/machine/include/qemu.inc +require conf/machine/include/powerpc/tune-power9.inc + +KERNEL_IMAGETYPE = "vmlinux" + +SERIAL_CONSOLES ?= "115200;hvc0" + +# For runqemu +QB_SYSTEM_NAME = "qemu-system-ppc64" +QB_MACHINE = "-machine pseries" +QB_CPU = "-cpu POWER9" +QB_SMP ?= "-smp 2" + +QB_NFSROOTFS_EXTRA_OPT = "wsize=524288,rsize=524288" +QB_KERNEL_CMDLINE_APPEND = "console=hvc0 nohugevmalloc" +#QB_OPT_APPEND += "-device qemu-xhci -device usb-tablet -device usb-kbd" +QB_OPT_APPEND = "-usb -device usb-tablet" + +MACHINE_EXTRA_RRECOMMENDS += " kernel-modules" |