blob: 8703c2086a11931f3d2849b9f99810a033337a11 [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
12SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1"
13
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
20QB_OPT_APPEND = "-show-cursor -usb -usbdevice tablet -device virtio-rng-pci"
21QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no -device virtio-net-pci,netdev=net0,mac=@MAC@"