aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2020-01-15 14:11:31 +0000
committerAndrew Walbran <qwandor@google.com>2020-01-23 10:53:44 +0000
commit74464d5b51954b500a1a656539a88a58e70d9b8a (patch)
treee583486803e61be9083623517922ca255f059e51 /docs
parentd81e38f66e232ddd2590f50cafe88eef52d4a752 (diff)
downloadplatform_external_arm-trusted-firmware-74464d5b51954b500a1a656539a88a58e70d9b8a.tar.gz
platform_external_arm-trusted-firmware-74464d5b51954b500a1a656539a88a58e70d9b8a.tar.bz2
platform_external_arm-trusted-firmware-74464d5b51954b500a1a656539a88a58e70d9b8a.zip
qemu: Support ARM_LINUX_KERNEL_AS_BL33 to pass FDT address.
This lets the Linux kernel or any other image which expects an FDT in x0 be loaded directly as BL33 without a separate bootloader on QEMU. Signed-off-by: Andrew Walbran <qwandor@google.com> Change-Id: Ia8eb4710a3d97cdd877af3b8aae36a2de7cfc654
Diffstat (limited to 'docs')
-rw-r--r--docs/plat/qemu.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/plat/qemu.rst b/docs/plat/qemu.rst
index 4ebe64b85..a4c5bec71 100644
--- a/docs/plat/qemu.rst
+++ b/docs/plat/qemu.rst
@@ -10,6 +10,10 @@ loop to be released by normal world via PSCI.
BL2 edits the Flattened Device Tree, FDT, generated by QEMU at run-time to
add a node describing PSCI and also enable methods for the CPUs.
+If ``ARM_LINUX_KERNEL_AS_BL33`` is set to 1 then this FDT will be passed to BL33
+via register x0, as expected by a Linux kernel. This allows a Linux kernel image
+to be booted directly as BL33 rather than using a bootloader.
+
An ARM64 defconfig v4.5 Linux kernel is known to boot, FDT doesn't need to be
provided as it's generated by QEMU.