blob: a84594f335f3daa3e74713395567743a32d54a10 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001#@TYPE: Machine
Brad Bishop19323692019-04-05 15:28:33 -04002#@NAME: QEMU PPC machine
3#@DESCRIPTION: Machine configuration for running a PPC system on QEMU
Patrick Williamsc124f4f2015-09-15 14:41:29 -05004
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"
Andrew Geisslerd25ed322020-06-27 00:28:28 -050019QB_OPT_APPEND = "-usb -device usb-tablet"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050020QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no"