blob: 70086ad18174aac96f476239fbe645fdaab13f71 [file] [log] [blame]
Simon Glass01bd6f62024-07-17 09:30:56 +01001.. SPDX-License-Identifier: GPL-2.0+:
2
3QFW Bootmeth
4============
5
6`QEMU <hhttps://www.qemu.org/>`_ is a system emulator which is able to boot
7Operating 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.