mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
RNG passthru has been enabled on all qemu machines but its being added to each one of them, with this patch its turned into QB variables which defaults to host passthru, yet it can be overridden if needed via machine or config metadata if needed. (From OE-Core rev: 26dd24506ef36088e17f999ce5489dc4b72194e8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 lines
578 B
Plaintext
21 lines
578 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 = "-usb -device usb-tablet"
|
|
QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no"
|