From: Khem Raj Date: Tue, 9 Mar 2021 17:32:06 +0000 (-0800) Subject: qemuppc64: Add a QEMU machine definition for ppc64 X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~8468 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68275b25f0a1941cd9b3d2ddca60e9149ba18d37;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git qemuppc64: Add a QEMU machine definition for ppc64 Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- diff --git a/meta/conf/machine/qemuppc64.conf b/meta/conf/machine/qemuppc64.conf new file mode 100644 index 00000000000..0682e752be5 --- /dev/null +++ b/meta/conf/machine/qemuppc64.conf @@ -0,0 +1,24 @@ +#@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/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_KERNEL_CMDLINE_APPEND = "console=hvc0" +#QB_OPT_APPEND += "-device qemu-xhci -device usb-tablet -device usb-kbd" +QB_OPT_APPEND = "-usb -device usb-tablet" + +#prelink broken on ppc64 +#USER_CLASSES_remove = "image-prelink" +#IMAGE_PREPROCESS_COMMAND_remove = "prelink_image;" + +MACHINE_EXTRA_RRECOMMENDS += " kernel-modules"