mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 18:32:20 +02:00
Use weak assignment for SERIAL_CONSOLES in qemu configuration files so that the value could serve as a default value and could be easily overridden in configuration files like local.conf. When using the default value for SERIAL_CONSOLES in qemux86-64,we would have annoying messages on console complaining about respawning getty on ttyS1. Although the value is set by purpose, at least we need to provide an easy way to override it. (From OE-Core rev: 5f060b66162c41a295995947b918253450870117) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 lines
756 B
Plaintext
22 lines
756 B
Plaintext
#@TYPE: Machine
|
|
#@NAME: qemu PPC Emulator setup
|
|
#@DESCRIPTION: Machine configuration for running an PPC system under qemu emulation
|
|
|
|
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"
|
|
# Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy
|
|
QB_OPT_APPEND = "-show-cursor -usb -usbdevice tablet -device virtio-rng-pci"
|
|
QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no -device virtio-net-pci,netdev=net0,mac=@MAC@"
|