blob: 537b2f6774f3c84e41fe1e1383e9dcd234f7769e [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001#@TYPE: Machine
2#@NAME: qemu PPC Emulator setup
3#@DESCRIPTION: Machine configuration for running an PPC system under qemu emulation
4
5require conf/machine/include/qemu.inc
6require conf/machine/include/tune-ppc7400.inc
7
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05008TARGET_CC_KERNEL_ARCH = "-mno-spe"
9
Patrick Williamsc124f4f2015-09-15 14:41:29 -050010KERNEL_IMAGETYPE = "vmlinux"
11
Brad Bishop37a0e4d2017-12-04 01:01:44 -050012SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050013
Patrick Williamsc0f7c042017-02-23 20:41:17 -060014# For runqemu
15QB_SYSTEM_NAME = "qemu-system-ppc"
16QB_MACHINE = "-machine mac99"
17QB_CPU = "-cpu G4"
18QB_KERNEL_CMDLINE_APPEND = "console=tty console=ttyS0"
19# Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy
Brad Bishopd7bf8c12018-02-25 22:55:05 -050020QB_OPT_APPEND = "-show-cursor -usb -device usb-tablet -device virtio-rng-pci"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050021QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no"