blob: fdc3ff7161958fefaf90a3bd2c50a2d5686e9e76 [file] [log] [blame]
Simon Glass01bd6f62024-07-17 09:30:56 +01001.. SPDX-License-Identifier: GPL-2.0+:
2
3QFW Bootmeth
4============
5
Heinrich Schuchardteb8f7b32025-05-09 08:39:04 +02006`QEMU <https://www.qemu.org/>`_ is a system emulator which is able to boot
Simon Glass01bd6f62024-07-17 09:30:56 +01007Operating Systems. QEMU provides specific support for booting an OS image
8provided on the QEMU command line.
9
10When invoked on a bootdev for UCLASS_QFW, this bootmeth reads the kernel
11provided by the QEMU `-kernel` argument, the initial ramdisk provided by
12`-initrd` and the boot arguments (command line) provided by `-append` into
13memory ready for booting.
14
15When the bootflow is booted, the bootmeth tries the `booti` command first, then
16falls back to the `bootz` command. U-Boot's 'control' devicetree is passed
17through to the kernel.
18
19The compatible string "u-boot,qfw-bootmeth" is used for the driver. It is
20present if `CONFIG_QFW` is enabled.