[PATCH 1/2] ARM: bootm: Add support for starting Linux through OpTee-OS on ARMv7a

Tom Rini trini at konsulko.com
Thu Jun 5 23:48:13 CEST 2025


On Mon, May 12, 2025 at 06:52:12PM +0200, Marek Vasut wrote:

> Add support for jumping to Linux kernel through OpTee-OS on ARMv7a.
> This is only supported if U-Boot runs in PL1 secure. This change adds
> two components, one is fitImage OpTee-OS loadable handler, which makes
> a note of OpTee-OS being loaded and stores the load address for later
> jump to it. The second part is the actual jump to Linux through OpTee-OS.
> The jump through OpTee-OS requires set up of multiple CPU registers, r1
> and r2 are passed through, r0 and r3 have to be set to 0, lr is set to
> Linux kernel entry point. This setup is done by new assembler function
> boot_jump_linux_via_optee().
> 
> The boot_jump_linux_via_optee() also includes STM32MP13xx late TZC
> configuration write, this cannot be moved easily, hence the ifdef.
> 
> Signed-off-by: Marek Vasut <marek.vasut at mailbox.org>

The lack of a cover letter isn't the final problem, because I could
summarize this easily enough. However, this causes a large number of
targets to now have warnings, such as imx8mp-icore-mx8mp-edimm2.2 and
gxp.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250605/d7741c3d/attachment.sig>


More information about the U-Boot mailing list