mirror of
https://git.yoctoproject.org/poky
synced 2026-03-03 22:09:39 +01:00
Beautify the machine config files by making the names and descriptions more uniform and verbose (From OE-Core rev: 1108a24e2c58794163c8cf35154f8be5c1d06c29) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 lines
768 B
Plaintext
23 lines
768 B
Plaintext
#@TYPE: Machine
|
|
#@NAME: QEMU PPC machine
|
|
#@DESCRIPTION: Machine configuration for running a PPC system on QEMU
|
|
|
|
require conf/machine/include/qemu.inc
|
|
require conf/machine/include/tune-ppc7400.inc
|
|
|
|
TARGET_CC_KERNEL_ARCH = "-mno-spe"
|
|
|
|
KERNEL_IMAGETYPE = "vmlinux"
|
|
|
|
SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1"
|
|
|
|
# For runqemu
|
|
QB_SYSTEM_NAME = "qemu-system-ppc"
|
|
QB_MACHINE = "-machine mac99"
|
|
QB_CPU = "-cpu G4"
|
|
QB_KERNEL_CMDLINE_APPEND = "console=tty console=ttyS0"
|
|
QB_OPT_APPEND = "-show-cursor -usb -device usb-tablet"
|
|
# Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy
|
|
QB_OPT_APPEND += "-object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0"
|
|
QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no"
|