1#@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
8TARGET_CC_KERNEL_ARCH = "-mno-spe"
9
10KERNEL_IMAGETYPE = "vmlinux"
11
12SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1"
13
14# 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
20QB_OPT_APPEND = "-show-cursor -usb -device usb-tablet -device virtio-rng-pci"
21QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no"
22