summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/qemuppc64.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf/machine/qemuppc64.conf')
-rw-r--r--meta/conf/machine/qemuppc64.conf23
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 @@
1#@TYPE: Machine
2#@NAME: QEMU PPC64 machine
3#@DESCRIPTION: Machine configuration for running a PPC system on QEMU
4
5require conf/machine/include/qemu.inc
6require conf/machine/include/powerpc/tune-power9.inc
7
8KERNEL_IMAGETYPE = "vmlinux"
9
10SERIAL_CONSOLES ?= "115200;hvc0"
11
12# For runqemu
13QB_SYSTEM_NAME = "qemu-system-ppc64"
14QB_MACHINE = "-machine pseries"
15QB_CPU = "-cpu POWER9"
16QB_SMP ?= "-smp 2"
17
18QB_NFSROOTFS_EXTRA_OPT = "wsize=524288,rsize=524288"
19QB_KERNEL_CMDLINE_APPEND = "console=hvc0 nohugevmalloc"
20#QB_OPT_APPEND += "-device qemu-xhci -device usb-tablet -device usb-kbd"
21QB_OPT_APPEND = "-usb -device usb-tablet"
22
23MACHINE_EXTRA_RRECOMMENDS += " kernel-modules"