[PATCH 1/1] doc: emulation: qemu-arm: add secure state steps
Simon Glass
sjg at chromium.org
Mon Apr 20 01:23:16 CEST 2026
Hi Johannes,
On 2026-02-25T02:01:39, Johannes Krottmayer <krotti83 at proton.me> wrote:
> doc: emulation: qemu-arm: add secure state steps
>
> Add build steps for building U-Boot in secure state with
> TF-A and OP-TEE. It includes the full steps for building
> OP-TEE and TF-A to use with U-Boot. Also a short
> description how to invoke QEMU with enabled EL3 and EL2.
> EL3 (machine option secure=on) is required to run TF-A.
>
> Signed-off-by: Johannes Krottmayer <krotti83 at proton.me>
> Cc: Tuomas Tynkkynen <tuomas.tynkkynen at iki.fi>
> Cc: Tom Rini <trini at konsulko.com>
>
> doc/board/emulation/qemu-arm.rst | 86 ++++++++++++++++++++++++++++++++++++++--
> 1 file changed, 82 insertions(+), 4 deletions(-)
> +OT-TEE
> +^^^^^^
Typo: OP-TEE.
> +Building (none-secure)
> +----------------------
I suspect this should be non-secure is the conventional spelling -
same for 'Running U-Boot (none-secure)' below.
> +The following file is at least created with TF-A v2.14.0 and can directly passed
> +with the '-bios' option to QEMU::
can be directly passed
> +If the single file doesn't exists 'bl1.bin' and 'fip.bin' can be concatenated with the
doesn't exist
> + dd if=bl1.bin of=flash.bin bs=4096 conv=notrunc
> + dd if=fip.bin of=flash.bin seek=64 bs=4096 conv=notrunc
Where does flash.bin come from?
Regards,
Simon
More information about the U-Boot
mailing list