Home
last modified time | relevance | path

Searched +full:boot +full:- +full:serial +full:- +full:test (Results 1 – 25 of 45) sorted by relevance

12

/qemu/tests/qtest/
H A Dmeson.build2 'ahci-test': 150,
3 'aspeed_smc-test': 360,
4 'bios-tables-test' : 910,
5 'cdrom-test' : 610,
6 'device-introspect-test' : 720,
7 'ide-test' : 120,
8 'migration-test' : 480,
9 'npcm7xx_pwm-test': 300,
10 'npcm7xx_watchdog_timer-test': 120,
11 'qmp-cmd-test' : 120,
[all …]
H A Dboot-serial-test.c2 * Test serial output of some machines.
7 * or later. See the COPYING file in the top-level directory.
9 * This test is used to check that the serial output of the firmware
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 */
61 0xb8, 0x00, 0xff, 0xfc /* bri -4 loop */
69 0xfc, 0xff, 0x00, 0xb8 /* bri -4 loop */
78 0xff, 0xff, 0xff, 0xea, /* b -4 (loop) */
89 0xff, 0xff, 0xff, 0x17, /* b -4 (loop) */
[all …]
H A Dcdrom-test.c2 * Various tests for emulated CD-ROM drives.
10 * or later. See the COPYING file in the top-level directory.
15 #include "boot-sector.h"
18 static char isoimage[] = "cdrom-boot-iso-XXXXXX";
23 gint exit_status = -1; in exec_xorrisofs()
30 return -ENOENT; in exec_xorrisofs()
42 char srcdir[] = "cdrom-test-dir-XXXXXX"; in prepare_image()
44 int ifh, ret = -1; in prepare_image()
46 "xorrisofs", "-quiet", "-l", "-no-emul-boot", in prepare_image()
47 "-b", NULL, "-o", isoimagepath, srcdir, NULL in prepare_image()
[all …]
/qemu/docs/system/riscv/
H A Dsifive_u.rst4 SiFive HiFive Unleashed Development Board is the ultimate RISC-V development
5 board featuring the Freedom U540 multi-core RISC-V processor.
8 -----------------
15 * Platform-Level Interrupt Controller (PLIC)
17 * L2 Loosely Integrated Memory (L2-LIM)
22 * 1 One-Time Programmable (OTP) memory with stored serial number
30 1 E51 core and 4 U54 core combination and the RISC-V core boots in 64-bit mode.
32 is also possible to create a 32-bit variant with the same peripherals except
33 that the RISC-V cores are replaced by the 32-bit ones (E31 and U34), to help
34 testing of 32-bit guest software.
[all …]
H A Dvirt.rst8 real-world hardware.
11 -----------------
17 * Platform-Level Interrupt Controller (PLIC)
21 * 1 SiFive Test device
22 * 8 virtio-mmio transport devices
31 ----------------------------------
34 which it passes to the guest, if there is no ``-dtb`` option. This provides
39 If users want to provide their own DTB, they can use the ``-dtb`` option.
42 * The number of subnodes of the /cpus node should match QEMU's ``-smp`` option
43 * The /memory reg size should match QEMU’s selected ram_size via ``-m``
[all …]
/qemu/docs/system/i386/
H A Dmicrovm.rst8 designed for short-lived guests. microvm also establishes a baseline
10 since it is optimized for both boot time and footprint.
14 -----------------
18 - ISA bus
19 - i8259 PIC (optional)
20 - i8254 PIT (optional)
21 - MC146818 RTC (optional)
22 - One ISA serial port (optional)
23 - LAPIC
24 - IOAPIC (with kernel-irqchip=split by default)
[all …]
/qemu/tests/functional/
H A Dtest_mips_malta.py3 # Functional tests for the big-endian 32-bit MIPS Malta board
5 # Copyright (c) Philippe Mathieu-Daudé <f4bug@amsat.org>
7 # SPDX-License-Identifier: GPL-2.0-or-later
15 def mips_run_common_commands(test, prompt='#'): argument
16 exec_command_and_wait_for_pattern(test,
17 'uname -m',
19 exec_command_and_wait_for_pattern(test,
20 'grep XT-PIC /proc/interrupts',
22 wait_for_console_pattern(test, prompt)
23 exec_command_and_wait_for_pattern(test,
[all …]
H A Dtest_ppc64_hv.py5 # pseries supports the nested-HV hypervisor spec.
10 # later. See the COPYING file in the top-level directory.
21 # Alpine is a light weight distro that supports QEMU. These tests boot
24 # QEMU packages are downloaded and installed on each test. That's not a
34 panic_message = 'Kernel panic - not syncing'
38 ('https://dl-cdn.alpinelinux.org/alpine/v3.21/'
39 'releases/ppc64le/alpine-standard-3.21.0-ppc64le.iso'),
44 Extracts a file from an iso file into the test workdir
52 cmd = "xorriso -osirrox on -indev %s -cpx %s %s" % (iso, path, filename)
64 self.vmlinuz = self.extract_from_iso(self.iso_path, '/boot/vmlinuz-lts')
[all …]
H A Dtest_ppc_40p.py3 # Functional test that boots a PReP/40p machine and checks its serial console.
5 # Copyright (c) Philippe Mathieu-Daudé <f4bug@amsat.org>
8 # later. See the COPYING file in the top-level directory.
22 '7020-40p/P12H0456.IMG'),
25 ('https://archive.netbsd.org/pub/NetBSD-archive/'
26 'NetBSD-4.0/prep/installation/floppy/generic_com0.fs'),
29 ('https://archive.netbsd.org/pub/NetBSD-archive/'
30 'NetBSD-7.1.2/iso/NetBSD-7.1.2-prep.iso'),
36 # U.S. Government Users Restricted Rights - Use, duplication or disclosure
46 self.vm.add_args('-bios', bios_path,
[all …]
H A Dtest_ppc64_mac99.py3 # Functional test that boots a mac99 machine with a PPC970 CPU
5 # SPDX-License-Identifier: GPL-2.0-or-later
13 …'https://github.com/legoater/qemu-ppc-boot/raw/refs/heads/main/buildroot/qemu_ppc64_mac99-2023.11-
17 …'https://github.com/legoater/qemu-ppc-boot/raw/refs/heads/main//buildroot/qemu_ppc64_mac99-2023.11
28 # Note: We need '-nographic' to get a serial console
29 self.vm.add_args('-kernel', linux_path,
30 '-append', 'root=/dev/sda',
31 '-drive', f'file={rootfs_path},format=raw',
32 '-snapshot', '-nographic')
H A Dtest_sh4_tuxrun.py3 # Functional test that boots known good tuxboot images the same way
12 # SPDX-License-Identifier: GPL-2.0-or-later
32 # The test is currently too unstable to do much in userspace
33 # so we skip common_tuxrun and do a minimal boot and shutdown.
37 # the console comes on the second serial port
39 "driver=ide-hd,bus=ide.0,unit=0",
H A Dtest_aarch64_rme_virt.py3 # Functional test that boots a Realms environment on virt machine and a nested
10 # SPDX-License-Identifier: GPL-2.0-or-later
20 # Boot the (nested) guest VM
22 'qemu-system-aarch64 -M virt,gic-version=3 '
23 '-cpu host -enable-kvm -m 512M '
24 '-M confidential-guest-support=rme0 '
25 '-object rme-guest,id=rme0 '
26 '-device virtio-net-pci,netdev=net0,romfile= '
27 '-netdev user,id=net0 '
28 '-kernel /mnt/out/bin/Image '
[all …]
/qemu/tests/vm/
H A DMakefile.include9 VM_VENV = check-venv
12 .PHONY: vm-build-all vm-clean-all
14 EFI_AARCH64 = $(wildcard $(BUILD_DIR)/pc-bios/edk2-aarch64-code.fd)
24 HOST_ARCH = $(shell uname -m)
31 IMAGES_DIR := $(HOME)/.cache/qemu-vm/images
37 HAVE_PYTHON_YAML = $(shell $(PYTHON) -c "import yaml" 2> /dev/null && echo yes)
40 # 'vm-help' target was historically named 'vm-test'
41 vm-help vm-test:
42 @echo "vm-help: Test QEMU in preconfigured virtual machines"
44 @echo " vm-build-freebsd - Build QEMU in FreeBSD VM"
[all …]
H A Dnetbsd5 # Copyright 2017-2019 Red Hat Inc.
12 # the COPYING file in the top-level directory.
25 link = "https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.3/images/NetBSD-9.3-amd64.iso"
30 "git-base",
34 "ninja-build",
40 "gettext-tools",
66 set -e;
67 rm -rf /home/qemu/qemu-test.*
68 cd $(mktemp -d /home/qemu/qemu-test.XXXXXX);
70 tar -xf /dev/rld1a;
[all …]
/qemu/docs/system/ppc/
H A Dppce500.rst8 -----------------
19 * Power-off functionality via one GPIO pin
26 ----------------------------------
29 which it passes to the guest, if there is no ``-dtb`` option. This provides
33 If users want to provide their own DTB, they can use the ``-dtb`` option.
36 * The number of subnodes under /cpus node should match QEMU's ``-smp`` option
37 * The /memory reg size should match QEMU’s selected ram_size via ``-m``
39 Both ``qemu-system-ppc`` and ``qemu-system-ppc64`` provide emulation for the
40 following 32-bit PowerPC CPUs:
45 Additionally ``qemu-system-ppc64`` provides support for the following 64-bit
[all …]
/qemu/tests/tcg/arm/
H A DMakefile.softmmu-target1 # -*- Mode: makefile -*-
3 # ARM SoftMMU tests - included from tests/tcg/Makefile
11 # Specific Test Rules
13 test-armv6m-undef: test-armv6m-undef.S
14 $(CC) -mcpu=cortex-m0 -mfloat-abi=soft \
15 -Wl,--build-id=none -x assembler-with-cpp \
16 $< -o $@ -nostdlib -static \
17 -T $(ARM_SRC)/$@.ld
19 run-test-armv6m-undef: QEMU_OPTS=-semihosting-config enable=on,target=native,chardev=output -M micr…
21 ARM_TESTS+=test-armv6m-undef
[all …]
/qemu/docs/system/arm/
H A Dnuvoton.rst1 Nuvoton iBMC boards (``kudo-bmc``, ``mori-bmc``, ``npcm750-evb``, ``quanta-gbs-bmc``, ``quanta-gsj`…
4 The `Nuvoton iBMC`_ chips are a family of Arm-based SoCs that are
7 NPCM8XX series. NPCM7XX series feature one or two Arm Cortex-A9 CPU cores,
8 while NPCM8XX feature 4 Arm Cortex-A35 CPU cores. Both series contain a
12 .. _Nuvoton iBMC: https://www.nuvoton.com/products/cloud-computing/ibmc/
14 The NPCM750 SoC has two Cortex-A9 cores and is targeted for the Enterprise
17 - ``npcm750-evb`` Nuvoton NPCM750 Evaluation board
19 The NPCM730 SoC has two Cortex-A9 cores and is targeted for Data Center and
22 - ``quanta-gbs-bmc`` Quanta GBS server BMC
23 - ``quanta-gsj`` Quanta GSJ server BMC
[all …]
H A Dnrf.rst4 The `Nordic nRF`_ chips are a family of ARM-based System-on-Chip that
5 are designed to be used for low-power and short-range wireless solutions.
13 - ``microbit`` BBC micro:bit board with nRF51822 SoC
19 -----------------
21 * ARM Cortex-M0 (ARMv6-M)
22 * Serial ports (UART)
31 ---------------
34 * Real-Time Clock (RTC) controller
41 Boot options
42 ------------
[all …]
H A Dorangepi.rst1 Orange Pi PC (``orangepi-pc``)
5 based embedded computer with mainline support in both U-Boot
6 and Linux. The board comes with a Quad Core Cortex-A7 @ 1.3GHz,
15 * SMP (Quad Core Cortex-A7)
20 * Timer device (re-used from Allwinner A10)
36 - Graphical output via HDMI, GPU and/or the Display Engine
37 - Audio output
38 - Hardware Watchdog
41 for a complete list of unimplemented I/O devices: ``./hw/arm/allwinner-h3.c``
43 Boot options
[all …]
/qemu/tests/tcg/aarch64/
H A DMakefile.softmmu-target10 # These objects provide the basic boot code and helper functions for all tests
11 CRT_OBJS=boot.o
24 LDFLAGS=-Wl,-T$(LINK_SCRIPT)
27 CFLAGS+=-nostdlib -ggdb -O0 $(MINILIB_INC)
28 LDFLAGS+=-static -nostdlib $(CRT_OBJS) $(MINILIB_OBJS) -lgcc
30 config-cc.mak: Makefile
31 $(quiet-@)( \
32 $(call cc-option,-march=armv8.3-a, CROSS_CC_HAS_ARMV8_3); \
33 $(call cc-option,-march=armv8.5-a+memtag, CROSS_CC_HAS_ARMV8_MTE)) 3> config-cc.mak
34 -include config-cc.mak
[all …]
/qemu/pc-bios/
HDu-boot.e500 ... .zf Ja h] +o*7 Z -bootcmd=test -n "$qemu_kernel_addr" && bootm ...
HDopenbios-ppc ... 0.2 hcall-instructions guest-id KVM guest guest-name /options bootorder boot-device %s: ...
/qemu/tests/tcg/i386/system/
H A Dboot.S2 * i386 boot code, based on qemu-bmibug.
8 * See the COPYING file in the top-level directory.
10 * SPDX-License-Identifier: GPL-2.0-or-later
15 /* Multi-boot header */
19 .int -(0x10000+0x1BADB002)
69 push $((32 * 8 - 1) << 16)
79 _exit: /* output any non-zero result in eax to isa-debug-exit device */
80 test %al, %al
95 /* Output a single character to serial port */
147 .short gdt_en - gdt - 1
/qemu/tests/qemu-iotests/
H A D0684 # Test case for loading a saved VM state from a qcow2 image
40 # This tests qcow2-specific low-level functionality
45 _unsupported_imgopts 'compat=0.10' 'refcount_bits=1[^0-9]' data_file
50 s390-ccw-virtio)
51 platform_parm="-no-shutdown"
60 $QEMU $platform_parm -nographic -monitor stdio -serial none \
61 -drive if=none,id=drive0,file="$TEST_IMG",format="$IMGFMT" \
62 -device virtio-scsi,id=hba0 \
63 -device scsi-hd,drive=drive0 \
70 "-object iothread,id=iothread0 -set device.hba0.iothread=iothread0"; do
[all …]
/qemu/tests/functional/qemu_test/
H A Dtuxruntest.py1 # Functional test that boots known good tuxboot images the same way
10 # SPDX-License-Identifier: GPL-2.0-or-later
22 # Tests are ~10-40s, allow for --debug/--enable-gcov overhead
32 # Pre-init TuxRun specific settings: Most machines work with
35 # details in the metadata for each test.
40 # Most Linux's use ttyS0 for their serial port
55 failure_message='Kernel panic - not syncing',
76 + f"file.filename={disk},node-name=hd0"
82 self.vm.add_args('-kernel', kernel,
83 '-append', self.kcmd_line,
[all …]

12