/openbmc/u-boot/board/emulation/qemu-x86/ |
H A D | MAINTAINERS | 1 QEMU X86 BOARD 4 F: board/emulation/qemu-x86/ 5 F: include/configs/qemu-x86.h 6 F: configs/qemu-x86_defconfig 8 QEMU X86 64-bit BOARD 11 F: board/emulation/qemu-x86/ 12 F: include/configs/qemu-x86.h 13 F: configs/qemu-x86_64_defconfig
|
H A D | Kconfig | 4 default "qemu-x86" 10 default "qemu" 13 default "qemu-x86" 22 select QEMU
|
/openbmc/u-boot/board/emulation/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0+ 11 bool "QEMU x86" 13 This is the QEMU emulated x86 board. U-Boot supports running 15 There are two types of x86 boards supported by QEMU which are 16 supported by U-Boot. They are via QEMU '-M pc', an i440FX/PIIX 17 chipset platform and '-M q35', a Q35/ICH9 chipset platform. 20 bool "QEMU x86 64-bit" 22 This is the QEMU emulated x86 64-bit board. With this config 23 U-Boot is built as a 64-bit binary. This allows testing while 28 source "board/emulation/qemu-x86/Kconfig"
|
/openbmc/openbmc/poky/meta/conf/machine/ |
H A D | qemux86-64.conf | 2 #@NAME: QEMU x86-64 machine 3 #@DESCRIPTION: Machine configuration for running an x86-64 system on QEMU 5 PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" 11 require conf/machine/include/qemu.inc 12 DEFAULTTUNE ?= "core2-64" 13 require conf/machine/include/x86/tune-x86-64-v3.inc 14 require conf/machine/include/x86/qemuboot-x86.inc 16 PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot" 17 UBOOT_MACHINE ?= "qemu-x86_64_defconfig" 24 # This is because gallium swrast driver was found to crash X server on startup in qemu x32. [all …]
|
H A D | qemux86.conf | 2 #@NAME: QEMU x86 machine 3 #@DESCRIPTION: Machine configuration for running an x86 system on QEMU 5 PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" 11 require conf/machine/include/qemu.inc 12 DEFAULTTUNE ?= "core2-32" 13 require conf/machine/include/x86/tune-corei7.inc 14 require conf/machine/include/x86/qemuboot-x86.inc 16 UBOOT_MACHINE ?= "qemu-x86_defconfig" 22 XSERVER = "xserver-xorg \ 23 …${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx',… [all …]
|
/openbmc/openbmc/poky/meta/conf/machine/include/x86/ |
H A D | arch-x86.inc | 2 # X86 Architecture definition (IA32, X86_64, and X32) 5 DEFAULTTUNE ?= "x86" 10 TUNE_PKGARCH = "${TUNE_PKGARCH:tune-${DEFAULTTUNE}}" 16 TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'm32', ' -m32', '', d)}" 17 MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'm32', 'x86:', '', d)}" 24 TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'mx32', ' -mx32', '', d)}" 25 TUNE_LDARGS += "${@bb.utils.contains('TUNE_FEATURES', 'mx32', '-m elf32_x86_64', '', d)}" 26 TUNE_ASARGS += "${@bb.utils.contains('TUNE_FEATURES', 'mx32', '-x32', '', d)}" 27 # user mode qemu doesn't support x32 28 …KFILL_CONSIDERED:append = " ${@bb.utils.contains('TUNE_FEATURES', 'mx32', 'qemu-usermode', '', d)}" [all …]
|
/openbmc/u-boot/doc/ |
H A D | README.nvme | 1 # SPDX-License-Identifier: GPL-2.0+ 10 communicate with a non-volatile memory subsystem. This interface is optimized 20 of some number of logical blocks. A namespace is a quantity of non-volatile 25 ------------ 28 "nvme-blk"). The host controller driver is supposed to probe the hardware and 35 ------ 39 -------------- 43 Usage in U-Boot 44 --------------- 45 To use an NVMe hard disk from U-Boot shell, a 'nvme scan' command needs to [all …]
|
H A D | README.u-boot_on_efi | 1 # SPDX-License-Identifier: GPL-2.0+ 5 U-Boot on EFI 7 This document provides information about U-Boot running on top of EFI, either 8 as an application or just as a means of getting U-Boot onto a new platform. 22 32/64-bit 28 ---------- 29 Running U-Boot on EFI is useful in several situations: 31 - You have EFI running on a board but U-Boot does not natively support it 32 fully yet. You can boot into U-Boot from EFI and use that until U-Boot is 35 - You need to use an EFI implementation (e.g. UEFI) because your vendor [all …]
|
H A D | README.x86 | 1 # SPDX-License-Identifier: GPL-2.0+ 6 U-Boot on x86 9 This document describes the information about U-Boot running on x86 targets, 13 ------ 14 U-Boot supports running as a coreboot [1] payload on x86. So far only Link 15 (Chromebook Pixel) and QEMU [2] x86 targets have been tested, but it should 16 work with minimal adjustments on other x86 boards since coreboot deals with 17 most of the low-level details. 19 U-Boot is a main bootloader on Intel Edison board. 21 U-Boot also supports booting directly from x86 reset vector, without coreboot. [all …]
|
H A D | README.virtio | 1 # SPDX-License-Identifier: GPL-2.0+ 8 This document describes the information about U-Boot support for VirtIO [1] 12 -------------- 17 paravirtualization. In the U-Boot case, the guest is U-Boot itself, while the 18 virtual environment are normally QEMU [2] targets like ARM, RISC-V and x86. 21 ------ 23 spec. While VirtIO devices are commonly implemented as PCI devices on x86, 24 embedded devices models like ARM/RISC-V, which does not normally come with 29 and PCI transport options are supported in U-Boot. 34 The following QEMU targets are supported. [all …]
|
/openbmc/qemu/docs/system/ |
H A D | introduction.rst | 7 --------------------------- 9 QEMU's system emulation provides a virtual model of a machine (CPU, 14 .. list-table:: Supported Accelerators 15 :header-rows: 1 17 * - Accelerator 18 - Host OS 19 - Host Architectures 20 * - KVM 21 - Linux 22 - Arm (64 bit only), MIPS, PPC, RISC-V, s390x, x86 [all …]
|
H A D | cpu-models-x86.rst.inc | 1 Recommendations for KVM CPU model configuration on x86 hosts 5 CPU models on x86 hosts. The goals are to maximise performance, while 10 Two ways to configure CPU models with QEMU / KVM 18 unsafe when this mode is used as libvirt / QEMU cannot guarantee a 24 QEMU comes with a number of predefined named CPU models, that 34 model". This uses the QEMU "Named model" feature, automatically picking 50 can be satisfied by the QEMU CPU models. Note that the table only 51 lists the long term stable CPU model versions (eg Haswell-v4). 56 .. _ABI compatibility levels: https://gitlab.com/x86-psABIs/x86-64-ABI/ 58 .. csv-table:: x86-64 ABI compatibility levels [all …]
|
H A D | bootindex.rst | 4 QEMU can tell QEMU-aware guest firmware (like the x86 PC BIOS) 6 A simple way to set this order is to use the ``-boot order=`` option, 9 on the QEMU command line. 19 not support ``-boot order=``; on those machines you must always 23 a short-form option like ``-hda`` or ``-cdrom``, so to use 25 into long-form ``-drive`` and ``-device`` option pairs. 28 ------- 30 Let's assume we have a QEMU machine with two NICs (virtio, e1000) and two 33 .. parsed-literal:: 35 |qemu_system| -drive file=disk1.img,if=none,id=disk1 \\ [all …]
|
/openbmc/qemu/docs/ |
H A D | bypass-iommu.txt | 10 passthrough devices with no-iommu mode and devices go through vIOMMU in 25 the 'q35' machine type on x86 architecture and the 'virt' machine type 31 qemu -device pxb-pcie,bus_nr=0x10,addr=0x1,bypass_iommu=true 33 qemu -machine virt,iommu=smmuv3,default_bus_bypass_iommu=true 34 (3) X86 default root bus bypass iommu: 35 qemu -machine q35,default_bus_bypass_iommu=true 37 2. Here is the detailed qemu command line for 'virt' machine with PXB on 40 qemu-system-aarch64 \ 41 -machine virt,kernel_irqchip=on,iommu=smmuv3,default_bus_bypass_iommu=true \ 42 -device pxb-pcie,bus_nr=0x10,id=pci.10,bus=pcie.0,addr=0x3.0x1 \ [all …]
|
/openbmc/qemu/docs/devel/ |
H A D | uefi-vars.rst | 8 The traditional approach for UEFI Variable storage in qemu guests is 17 by the firmware. On x86 this has been implemented using System 18 Management Mode (SMM) in qemu and kvm, which again is the same 36 The ``uefi-vars`` device implements the UEFI virtual device. It comes 37 in ``uefi-vars-x86`` and ``uefi-vars-sysbus`` flavours. The device 52 because we have to reimplement some edk2 functionality in qemu. 55 --------------- 59 qemu-system-x86_64 \ 60 -device uefi-vars-x86,jsonfile=/path/to/vars.json 63 ---------------- [all …]
|
/openbmc/u-boot/arch/x86/dts/ |
H A D | qemu-x86_i440fx.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /dts-v1/; 8 #include <dt-bindings/interrupt-router/intel-irq.h> 18 model = "QEMU x86 (I440FX)"; 19 compatible = "qemu,x86"; 26 stdout-path = "/serial"; 30 #address-cells = <1>; 31 #size-cells = <0>; 32 u-boot,dm-pre-reloc; 36 compatible = "cpu-qemu"; [all …]
|
H A D | qemu-x86_q35.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /dts-v1/; 8 #include <dt-bindings/interrupt-router/intel-irq.h> 28 model = "QEMU x86 (Q35)"; 29 compatible = "qemu,x86"; 33 u-boot,no-apm-finalize; 37 stdout-path = "/serial"; 41 #address-cells = <1>; 42 #size-cells = <0>; 43 u-boot,dm-pre-reloc; [all …]
|
/openbmc/qemu/scripts/ |
H A D | cpu-x86-uarch-abi.py | 3 # SPDX-License-Identifier: GPL-2.0-or-later 9 from qemu.qmp.legacy import QEMUMonitorProtocol 13 print("syntax: %s QMP-SOCK\n\n" % __file__ + 14 "Where QMP-SOCK points to a QEMU process such as\n\n" + 15 " # qemu-system-x86_64 -qmp unix:/tmp/qmp,server,nowait " + 16 "-display none -accel kvm", file=sys.stderr) 21 [ # x86-64 baseline 31 [ # x86-64-v2 33 "lahf-lm", 40 [ # x86-64-v3 [all …]
|
/openbmc/u-boot/include/configs/ |
H A D | qemu-x86.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 7 * board/config.h - configuration options, board specific 13 #include <configs/x86-common.h> 17 #define CONFIG_STD_DEVICES_SETTINGS "stdin=serial,i8042-kbd\0" \ 22 * ATA/SATA support for QEMU x86 targets 23 * - Only legacy IDE controller is supported for QEMU '-M pc' target 24 * - AHCI controller is supported for QEMU '-M q35' target
|
/openbmc/qemu/.gitlab/issue_templates/ |
H A D | bug.md | 1 <!-- 2 This is the upstream QEMU issue tracker. 5 to reproduce the problem with the latest qemu.git master built from 6 source. See https://www.qemu.org/download/#source for instructions on 9 QEMU generally supports the last two releases advertised on 10 https://www.qemu.org/. Problems with distro-packaged versions of QEMU 13 See https://www.qemu.org/contribute/report-a-bug/ for additional 17 https://www.qemu.org/contribute/security-process/ 18 --> 21 - Operating system: <!-- Windows 10 21H1, Fedora 37, etc. --> [all …]
|
/openbmc/openbmc/poky/meta-yocto-bsp/conf/machine/ |
H A D | genericx86.conf | 2 #@NAME: Generic x86 3 #@DESCRIPTION: Machine configuration for generic x86 (32-bit) PCs. Supports a moderately wide range… 5 DEFAULTTUNE ?= "core2-32" 6 require conf/machine/include/x86/tune-corei7.inc 7 require conf/machine/include/genericx86-common.inc 10 QB_SYSTEM_NAME = "qemu-system-i386"
|
H A D | genericx86-64.conf | 3 #@DESCRIPTION: Machine configuration for generic x86_64 (64-bit) PCs and servers. Supports a modera… 5 DEFAULTTUNE ?= "core2-64" 6 require conf/machine/include/x86/tune-x86-64-v3.inc 7 require conf/machine/include/genericx86-common.inc 10 QB_SYSTEM_NAME = "qemu-system-x86_64"
|
/openbmc/openbmc/poky/meta/recipes-extended/baremetal-example/ |
H A D | baremetal-helloworld_git.bb | 1 SUMMARY = "Baremetal examples to work with the several QEMU architectures supported on OpenEmbedded" 2 HOMEPAGE = "https://github.com/aehs29/baremetal-helloqemu" 3 DESCRIPTION = "These are introductory examples to showcase the use of QEMU to run baremetal applica… 10 SRC_URI = "git://github.com/ahcbb6/baremetal-helloqemu.git;protocol=https;branch=master" 17 IMAGE_LINK_NAME ?= "baremetal-helloworld-image-${MACHINE}" 20 # Baremetal-Image creates the proper wiring, assumes the output is provided in 24 inherit baremetal-image 27 # startup code for x86 uses NASM syntax 28 DEPENDS:qemux86:append = " nasm-native" 32 # machine that QEMU uses on OE, e.g. -machine virt -cpu cortex-a57 [all …]
|
/openbmc/qemu/hw/i386/xen/ |
H A D | xen-pvh.c | 2 * QEMU Xen PVH x86 Machine 7 * SPDX-License-Identifier: GPL-2.0-or-later 10 #include "qemu/osdep.h" 11 #include "qemu/error-report.h" 16 #include "hw/xen/xen-pvh-common.h" 32 Object *cpu = object_new(ms->cpu_type); in xen_pvh_cpu_new() 35 object_property_set_uint(cpu, "apic-id", apic_id, &error_fatal); in xen_pvh_cpu_new() 48 xp->cpu = g_malloc(sizeof xp->cpu[0] * ms->smp.max_cpus); in xen_pvh_init() 49 for (i = 0; i < ms->smp.max_cpus; i++) { in xen_pvh_init() 50 xp->cpu[i] = xen_pvh_cpu_new(ms, i); in xen_pvh_init() [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | test-x86-cpuid-compat.c | 1 #include "qemu/osdep.h" 6 #include "libqtest-single.h" 15 resp = qmp("{'execute': 'query-cpus-fast', 'arguments': {}}"); in get_cpu0_qom_path() 20 path = g_strdup(qdict_get_str(cpu0, "qom-path")); in get_cpu0_qom_path() 27 QDict *resp = qmp("{ 'execute': 'qom-get'," in qom_get() 59 qtest_start(args->cmdline); in test_cpuid_prop() 61 value = qobject_to(QNum, qom_get(path, args->property)); in test_cpuid_prop() 63 g_assert_cmpint(val, ==, args->expected_value); in test_cpuid_prop() 81 cmdline = g_strdup_printf("-cpu %s", cpu); in add_cpuid_test() 90 cmdline = g_strdup_printf("-machine %s %s", machine, cmdline); in add_cpuid_test() [all …]
|