mirror of
https://git.yoctoproject.org/poky
synced 2026-05-04 13:39:49 +02:00
These are set in the barebox class rather in the corresponding machines (where they would belong otherwise) to keep the impact of barebox to oe-core minimal for now. "multi_v7_defconfig" is used for qemuarm since this is the default barebox armv7 config that just enables all supported platforms. "multi_v8_defconfig" is used for qemuarm64 sine this is the default barebox armv8 config that just enables all supported platforms. "efi_defconfig" is used for qemux86-64 which is the primary platform where barebox will not be the first stage bootloader but an EFI payload. Since these changes make barebox a provider for virtual/bootloader, explicitly default to u-boot in the corresponding MACHINE configs to not unnecessarily surprise users. (From OE-Core rev: 93da14f8f85202bad3dec9d979d01f4e8f9708d6) Signed-off-by: Enrico Jorns <ejo@pengutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
47 lines
1.7 KiB
Plaintext
47 lines
1.7 KiB
Plaintext
#@TYPE: Machine
|
|
#@NAME: QEMU x86-64 machine
|
|
#@DESCRIPTION: Machine configuration for running an x86-64 system on QEMU
|
|
|
|
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
|
|
PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
|
|
PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
|
|
PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
|
|
PREFERRED_PROVIDER_virtual/libgles3 ?= "mesa"
|
|
|
|
require conf/machine/include/qemu.inc
|
|
DEFAULTTUNE ?= "core2-64"
|
|
require conf/machine/include/x86/tune-x86-64-v3.inc
|
|
require conf/machine/include/x86/qemuboot-x86.inc
|
|
|
|
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot"
|
|
UBOOT_MACHINE ?= "qemu-x86_64_defconfig"
|
|
|
|
KERNEL_IMAGETYPE = "bzImage"
|
|
|
|
SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1"
|
|
|
|
# Install swrast and glx if opengl is in DISTRO_FEATURES and x32 is not in use.
|
|
# This is because gallium swrast driver was found to crash X server on startup in qemu x32.
|
|
XSERVER = "xserver-xorg \
|
|
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', \
|
|
bb.utils.contains('TUNE_FEATURES', 'mx32', '', 'mesa-driver-swrast xserver-xorg-extension-glx', d), '', d)} \
|
|
xf86-video-cirrus \
|
|
xf86-video-fbdev \
|
|
xf86-video-vmware \
|
|
xf86-video-modesetting \
|
|
xf86-video-vesa \
|
|
xserver-xorg-module-libint10 \
|
|
"
|
|
|
|
MACHINE_FEATURES += "x86 pci"
|
|
|
|
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d"
|
|
|
|
MACHINE_EXTRA_RRECOMMENDS = "kernel-module-snd-ens1370 kernel-module-snd-rawmidi"
|
|
|
|
WKS_FILE ?= "qemux86-directdisk.wks"
|
|
do_image_wic[depends] += "syslinux:do_populate_sysroot syslinux-native:do_populate_sysroot mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
|
|
|
|
#For runqemu
|
|
QB_SYSTEM_NAME = "qemu-system-x86_64"
|