[PATCH v2] lib: optee: forbid OP-TEE OS loading without adding OP-TEE OS reserved-memory nodes

Tom Rini trini at konsulko.com
Wed Nov 19 00:33:14 CET 2025


On Tue, 11 Nov 2025 12:52:34 +0100, Quentin Schulz wrote:

> I've spent time trying to figure out why my board (Rockchip PX30-based)
> suddenly boot loops when running a specific program in Linux userspace
> after working on a U-Boot upgrade. I actually inadvertently had the TEE
> environment variable set for a device which doesn't actually need to run
> any TEE OS (so had OPTEE_LIB disabled).
> 
> It is currently possible to build an image with an OP-TEE OS (via the
> TEE environment variable) without OPTEE_LIB. U-Boot will happily load
> the TEE OS and the next OS (e.g. the Linux kernel).
> 
> [...]

Applied to u-boot/master, thanks!

[1/1] lib: optee: forbid OP-TEE OS loading without adding OP-TEE OS reserved-memory nodes
      commit: 1c13c9bbb54d979737d56544c5dcaec3ef0481d7
-- 
Tom




More information about the U-Boot mailing list