| /openbmc/qemu/roms/ |
| H A D | Makefile | 2 vgabios_variants := stdvga cirrus vmware qxl isavga virtio bochs-display ramfb ati 3 vgabios_targets := $(subst -isavga,,$(patsubst %,vgabios-%.bin,$(vgabios_variants))) 7 pxe-rom-e1000 efi-rom-e1000 : VID := 8086 8 pxe-rom-e1000 efi-rom-e1000 : DID := 100e 9 pxe-rom-e1000e efi-rom-e1000e : VID := 8086 10 pxe-rom-e1000e efi-rom-e1000e : DID := 10d3 11 pxe-rom-eepro100 efi-rom-eepro100 : VID := 8086 12 pxe-rom-eepro100 efi-rom-eepro100 : DID := 1209 13 pxe-rom-ne2k_pci efi-rom-ne2k_pci : VID := 1050 14 pxe-rom-ne2k_pci efi-rom-ne2k_pci : DID := 0940 [all …]
|
| H A D | edk2-build.config | 40 desc = ovmf build (32-bit) 45 dest = ../pc-bios 46 cpy1 = FV/OVMF_CODE.fd edk2-i386-code.fd 47 cpy2 = FV/OVMF_VARS.fd edk2-i386-vars.fd 50 desc = ovmf build (32-bit, secure boot) 56 dest = ../pc-bios 57 cpy1 = FV/OVMF_CODE.fd edk2-i386-secure-code.fd 63 desc = ovmf build (64-bit) 68 dest = ../pc-bios 69 cpy1 = FV/OVMF_CODE.fd edk2-x86_64-code.fd [all …]
|
| /openbmc/qemu/docs/system/ |
| 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, 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 ------- 33 .. parsed-literal:: 35 |qemu_system| -drive file=disk1.img,if=none,id=disk1 \\ 36 -device ide-hd,drive=disk1,bootindex=4 \\ 37 -drive file=disk2.img,if=none,id=disk2 \\ [all …]
|
| H A D | target-i386-desc.rst.inc | 1 The QEMU PC System emulator simulates the following peripherals: 3 - i440FX host PCI bridge and PIIX3 PCI to ISA bridge 5 - Cirrus CLGD 5446 PCI VGA card or dummy VGA card with Bochs VESA 8 - PS/2 mouse and keyboard 10 - 2 PCI IDE interfaces with hard disk and CD-ROM support 12 - Floppy disk 14 - PCI and ISA network adapters 16 - Serial ports 18 - IPMI BMC, either and internal or external one 20 - Creative SoundBlaster 16 sound card [all …]
|
| H A D | target-riscv.rst | 1 .. _RISC-V-System-emulator: 3 RISC-V System emulator 6 QEMU can emulate both 32-bit and 64-bit RISC-V CPUs. Use the 7 ``qemu-system-riscv64`` executable to simulate a 64-bit RISC-V machine, 8 ``qemu-system-riscv32`` executable to simulate a 32-bit RISC-V machine. 10 QEMU has generally good support for RISC-V guests. It has support for 12 RISC-V hardware is much more widely varying than x86 hardware. RISC-V 13 CPUs are generally built into "system-on-chip" (SoC) designs created by 23 ---------------------- 25 For QEMU's RISC-V system emulation, you must specify which board [all …]
|
| /openbmc/openbmc-test-automation/redfish/systems/ |
| H A D | test_boot_devices.robot | 29 &{redfish_ipmi_target_map} Hdd=Force Boot from default Hard-Drive 31 ... Diags=Force Boot from default Hard-Drive, request Safe-Mode 33 ... BiosSetup=Force Boot into BIOS Setup 38 &{redfish_ipmi_mode_map} Legacy=BIOS PC Compatible (legacy) boot 39 ... UEFI=BIOS EFI boot 181 Verify Boot Source Override With Enabled Mode As Once After Host Reboot For Bios Setup 182 …mentation] Verify Boot Source Override with Enabled Mode As Once After Host Reboot For Bios Setup. 191 Verify Boot Source Override With Enabled Mode As Continuous After Host Reboot For Bios Setup 192 …ion] Verify Boot Source Override with Enabled Mode As Continuous After Host Reboot For Bios Setup. 237 # - Boot Flag Valid [all …]
|
| /openbmc/qemu/tests/tcg/s390x/ |
| H A D | console.c | 3 * Reuses the pc-bios/s390-ccw implementation. 5 * SPDX-License-Identifier: GPL-2.0-or-later 8 #include "../../../pc-bios/s390-ccw/sclp.c"
|
| H A D | head64.S | 3 * Reuses the pc-bios/s390-ccw implementation. 5 * SPDX-License-Identifier: GPL-2.0-or-later 8 #include "../../../pc-bios/s390-ccw/start.S" 14 aghi %r15,-160 /* reserve stack for C code */
|
| /openbmc/qemu/tests/qtest/migration/s390x/ |
| H A D | Makefile | 2 # $ make CROSS_PREFIX=s390x-linux-gnu- 5 all: a-b-bios.h 6 fwdir=../../../pc-bios/s390-ccw 8 CFLAGS+=-ffreestanding -fno-delete-null-pointer-checks -fPIE -Os \ 9 -msoft-float -march=z900 -fno-asynchronous-unwind-tables \ 10 -fno-stack-protector -Wl,-pie -Wl,--build-id=none -nostdlib 12 a-b-bios.h: s390x.elf 14 xxd -i $< | sed -e 's/.*int.*//' >> header.tmp 17 # We use common-page-size=16 to avoid big padding in the ELF file 18 s390x.elf: a-b-bios.c [all …]
|
| /openbmc/qemu/hw/mips/ |
| H A D | mipssim.c | 31 #include "system/address-spaces.h" 34 #include "hw/char/serial-mm.h" 41 #include "hw/qdev-properties.h" 42 #include "qemu/error-report.h" 93 initrd_offset, loaderparams.ram_size - initrd_offset); in load_kernel() 95 if (initrd_size == (target_ulong) -1) { in load_kernel() 107 CPUMIPSState *env = &s->cpu->env; in main_cpu_reset() 109 cpu_reset(CPU(s->cpu)); in main_cpu_reset() 110 env->active_tc.PC = s->vector & ~(target_ulong)1; in main_cpu_reset() 111 if (s->vector & 1) { in main_cpu_reset() [all …]
|
| H A D | fuloong2e.c | 2 * QEMU fuloong 2e mini pc support 4 * Copyright (c) 2008 yajin (yajin@vm-kernel.org) 9 * Contributions after 2012-01-13 are licensed under the terms of the 14 * Fuloong 2e mini pc is based on ICT/ST Loongson 2e CPU (MIPS III like, 800MHz) 15 * https://www.linux-mips.org/wiki/Fuloong_2E 18 * https://github.com/loongson-community/docs/tree/master/2E 36 #include "hw/qdev-properties.h" 42 #include "qemu/error-report.h" 55 * who want to build a pmon binary please first git-clone the source 57 * https://github.com/loongson-community/pmon [all …]
|
| /openbmc/qemu/tests/qtest/ |
| H A D | bios-tables-test.c | 10 * See the COPYING file in the top-level directory. 17 * 2. list any changed files in tests/qtest/bios-tables-test-allowed-diff.h 20 * Contributor or ACPI Maintainer (steps 4-7 need to be redone to resolve conflicts 23 * After 1-3 above tests will pass but ignore differences with the expected files. 24 * You will also notice that tests/qtest/bios-tables-test-allowed-diff.h lists 31 * output. If not - disassemble them yourself in any way you like. 32 * Look at the differences - make sure they make sense and match what the 38 * $(SRC_PATH)/tests/data/acpi/rebuild-expected-aml.sh 48 * tests/qtest/bios-tables-test-allowed-diff.h is empty - this will ensure 52 * - patch 1: list changed files in tests/qtest/bios-tables-test-allowed-diff.h. [all …]
|
| H A D | boot-serial-test.c | 7 * or later. See the COPYING file in the top-level directory. 10 * (that we provide for some machines) or some small mini-kernels that 18 #include "ppc-util.h" 34 0xff, 0xf3, 0xff, 0x53, /* b -16 # loop */ 47 0x01, 0x00, 0x00, 0x08, /* Initial PC */ 61 0xb8, 0x00, 0xff, 0xfc /* bri -4 loop */ 69 0xfc, 0xff, 0x00, 0xb8 /* bri -4 loop */ 73 0x10, 0x30, 0x9f, 0xe5, /* ldr r3, [pc, #16] Get &UART0 */ 74 0x10, 0x20, 0x9f, 0xe5, /* ldr r2, [pc, #16] Get &CR */ 78 0xff, 0xff, 0xff, 0xea, /* b -4 (loop) */ [all …]
|
| /openbmc/qemu/pc-bios/ |
| H A D | README | 1 - SeaBIOS (bios.bin) is the successor of pc bios. 4 - The VGA BIOS and the Cirrus VGA BIOS come from the LGPL VGA bios 7 - OpenBIOS (http://www.openbios.org/) is a free (GPL v2) portable 9 1275-1994 (referred to as Open Firmware) compliant firmware. 14 - SLOF (Slimline Open Firmware) is a free IEEE 1275 Open Firmware 17 built from git tag qemu-slof-20241106. 19 - VOF (Virtual Open Firmware) is a minimalistic firmware to work with 20 -machine pseries,x-vof=on. When enabled, the firmware acts as a slim shim and 23 - The PXE roms come from the iPXE project. Built with BANNER_TIME 0. 24 Sources available at http://ipxe.org. Vendor:Device ID -> ROM mapping: [all …]
|
| /openbmc/qemu/docs/interop/ |
| H A D | firmware.json | 1 # -*- Mode: Python -*- 11 # later. See the COPYING file in the top-level directory. 20 'member-name-exceptions': [ 27 # Lists the firmware-OS interface types provided by various firmware 30 # @bios: Traditional x86 BIOS interface. For example, firmware built 34 # 1275-1994 standard. Examples for firmware projects that 37 # @uboot: Firmware interface defined by the U-Boot project. 46 'data' : [ 'bios', 'openfirmware', 'uboot', 'uefi' ] } 80 # @aarch64: 64-bit Arm. 82 # @arm: 32-bit Arm. [all …]
|
| /openbmc/u-boot/include/ |
| H A D | pci_rom.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 46 * dm_pci_run_vga_bios() - Run the VGA BIOS in an x86 PC 48 * @dev: Video device containing the BIOS 56 * board_map_oprom_vendev() - map several PCI IDs to the one the ROM expects
|
| /openbmc/qemu/.gitlab-ci.d/ |
| H A D | opensbi.yml | 1 # All jobs needing docker-opensbi must use the same rules it uses. 5 - if: '$QEMU_CI != "1" && $QEMU_CI != "2" && $CI_PROJECT_NAMESPACE != "qemu-project"' 10 - if: '$QEMU_CI == "1" && $CI_PROJECT_NAMESPACE != "qemu-project"' 12 - .gitlab-ci.d/opensbi.yml 13 - .gitlab-ci.d/opensbi/Dockerfile 14 - roms/opensbi/* 19 …- if: '$QEMU_CI == "1" && $CI_PROJECT_NAMESPACE != "qemu-project" && $CI_COMMIT_REF_NAME =~ /^open… 24 …- if: '$QEMU_CI == "1" && $CI_PROJECT_NAMESPACE != "qemu-project" && $CI_COMMIT_MESSAGE =~ /opensb… 28 - if: '$CI_PROJECT_NAMESPACE == $QEMU_CI_UPSTREAM && $CI_PIPELINE_SOURCE == "schedule"' 32 - changes: [all …]
|
| /openbmc/qemu/ |
| H A D | version.rc | 2 #include "config-host.h" 30 IDI_ICON1 ICON "pc-bios/qemu-nsis.ico"
|
| H A D | qemu.nsi | 5 ; Copyright (C) 2006-2012 Stefan Weil 20 ; SPDX-License-Identifier: GPL-2.0-or-later 27 !define UNINST_EXE "$INSTDIR\qemu-uninstall.exe" 37 !define OUTFILE "qemu-setup.exe" 72 ;-------------------------------- 74 ;!define MUI_HEADERIMAGE "qemu-nsis.bmp" 76 !define MUI_ICON "${SRCDIR}\pc-bios\qemu-nsis.ico" 77 !define MUI_UNICON "${SRCDIR}\pc-bios\qemu-nsis.ico" 78 !define MUI_WELCOMEFINISHPAGE_BITMAP "${SRCDIR}\pc-bios\qemu-nsis.bmp" 79 ; !define MUI_HEADERIMAGE_BITMAP "qemu-install.bmp" [all …]
|
| /openbmc/qemu/tests/functional/ |
| H A D | test_aarch64_hotplug_pci.py | 10 # SPDX-License-Identifier: GPL-2.0-or-later 18 ('https://ftp.debian.org/debian/dists/trixie/main/installer-arm64/' 19 '20250803/images/netboot/debian-installer/arm64/linux'), 23 ('https://ftp.debian.org/debian/dists/trixie/main/installer-arm64/' 24 '20250803/images/netboot/debian-installer/arm64/initrd.gz'), 31 self.vm.add_args('-m', '512M', 32 '-cpu', 'cortex-a57', 33 '-append', 35 '-device', 36 'pcie-root-port,bus=pcie.0,chassis=1,slot=1,id=pcie.1', [all …]
|
| H A D | test_x86_64_reverse_debug.py | 3 # SPDX-License-Identifier: GPL-2.0-or-later 13 # later. See the COPYING file in the top-level directory. 28 @skipFlakyTest("https://gitlab.com/qemu-project/qemu/-/issues/2922") 30 self.set_machine('pc') 31 # start with BIOS only
|
| /openbmc/qemu/hw/arm/ |
| H A D | orangepi.c | 22 #include "system/address-spaces.h" 24 #include "qemu/error-report.h" 26 #include "hw/qdev-properties.h" 27 #include "hw/arm/allwinner-h3.h" 40 /* BIOS is not supported by this board */ in orangepi_init() 41 if (machine->firmware) { in orangepi_init() 42 error_report("BIOS not supported for this machine"); in orangepi_init() 47 if (machine->ram_size != 1 * GiB) { in orangepi_init() 57 object_property_set_int(OBJECT(h3), "clk0-freq", 32768, &error_abort); in orangepi_init() 58 object_property_set_int(OBJECT(h3), "clk1-freq", 24 * 1000 * 1000, in orangepi_init() [all …]
|
| /openbmc/openbmc/poky/scripts/lib/wic/plugins/source/ |
| H A D | bootimg-biosplusefi.py | 13 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 16 # This implements the 'bootimg-biosplusefi' source plugin class for 'wic' 31 legacy BIOS and EFI content. It will be able to boot from both. 32 This is useful when managing PC fleet with some older machines 36 legacy BIOS and EFI by defining two partitions : one with arg 37 --source bootimg-efi and another one with --source bootimg-pcbios. 41 most BIOS, has BIOS often uses the "bootable" flag to determine 42 what to boot. If you have such a BIOS, you need to manually remove the 48 Also, unlike "isoimage-isohybrid" that also does BIOS and EFI, this plugin 56 been done in other plugins; as such it imports "bootimg-pcbios" [all …]
|
| /openbmc/qemu/hw/i386/ |
| H A D | pc_sysfw.c | 2 * QEMU PC System Firmware 4 * Copyright (c) 2003-2004 Fabrice Bellard 5 * Copyright (c) 2011-2012 Intel Corporation 28 #include "system/block-backend.h" 29 #include "qemu/error-report.h" 34 #include "hw/i386/pc.h" 36 #include "hw/qdev-properties.h" 53 /* map the last 128KB of the BIOS in ISA space */ in pc_isa_bios_init() 56 memory_region_init_ram_guest_memfd(isa_bios, NULL, "isa-bios", in pc_isa_bios_init() 59 memory_region_init_ram(isa_bios, NULL, "isa-bios", isa_bios_size, in pc_isa_bios_init() [all …]
|
| /openbmc/openbmc/meta-security/recipes-security/chipsec/ |
| H A D | chipsec_1.9.1.bb | 4 of PC platforms including hardware, system firmware \ 5 (BIOS/UEFI), and platform components." 7 LICENSE = "GPL-2.0-only" 10 DEPENDS = "virtual/kernel nasm-native" 27 sed -i -e 's#${S}##g' ${S}/drivers/linux/chipsec.ko 28 sed -i -e 's#${STAGING_KERNEL_BUILDDIR}##g' ${S}/drivers/linux/chipsec.ko 29 sed -i -e 's#${STAGING_KERNEL_DIR}##g' ${S}/drivers/linux/chipsec.ko 30 install -m 0644 ${S}/drivers/linux/chipsec.ko ${D}${PYTHON_SITEPACKAGES_DIR}/chipsec/helper/linux 33 COMPATIBLE_HOST = "(i.86|x86_64).*-linux" 37 RDEPENDS:${PN} = "python3 python3-modules" [all …]
|