Andrew Geissler | 95ac1b8 | 2021-03-31 14:34:31 -0500 | [diff] [blame] | 1 | #@TYPE: Machine |
| 2 | #@NAME: QEMU PPC64 machine |
| 3 | #@DESCRIPTION: Machine configuration for running a PPC system on QEMU |
| 4 | |
| 5 | require conf/machine/include/qemu.inc |
| 6 | require conf/machine/include/tune-power9.inc |
| 7 | |
| 8 | KERNEL_IMAGETYPE = "vmlinux" |
| 9 | |
| 10 | SERIAL_CONSOLES ?= "115200;hvc0" |
| 11 | |
| 12 | # For runqemu |
| 13 | QB_SYSTEM_NAME = "qemu-system-ppc64" |
| 14 | QB_MACHINE = "-machine pseries" |
| 15 | QB_CPU = "-cpu POWER9" |
| 16 | QB_KERNEL_CMDLINE_APPEND = "console=hvc0" |
| 17 | #QB_OPT_APPEND += "-device qemu-xhci -device usb-tablet -device usb-kbd" |
| 18 | QB_OPT_APPEND = "-usb -device usb-tablet" |
| 19 | |
| 20 | #prelink broken on ppc64 |
Patrick Williams | 0ca19cc | 2021-08-16 14:03:13 -0500 | [diff] [blame^] | 21 | #USER_CLASSES:remove = "image-prelink" |
| 22 | #IMAGE_PREPROCESS_COMMAND:remove = "prelink_image;" |
Andrew Geissler | 95ac1b8 | 2021-03-31 14:34:31 -0500 | [diff] [blame] | 23 | |
| 24 | MACHINE_EXTRA_RRECOMMENDS += " kernel-modules" |