[PATCH] imx93: Add support for OPTEE

Fabio Estevam festevam at gmail.com
Wed Apr 22 03:50:05 CEST 2026


On Tue, Apr 14, 2026 at 12:59 PM Krzysztof Drobiński
<krzysztof at kd-solutions.pl> wrote:
>
> OPTEE-OS starts correctly when "opteed" is enabled for Secure Payload
> Dispatcher in TF-A (tested on OP-TEE version: 4.9.0), however imx93
> devices require a patch for OPTEE targets because binman does not see
> the tee.bin file when it is available.
>
> Enable conditional OPTEE support for imx93 devices.
>
> Signed-off-by: Krzysztof Drobiński <krzysztof at kd-solutions.pl>
> ---
>  arch/arm/dts/imx93-u-boot.dtsi | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/arch/arm/dts/imx93-u-boot.dtsi b/arch/arm/dts/imx93-u-boot.dtsi
> index dc86746ac90..60648bd10a5 100644
> --- a/arch/arm/dts/imx93-u-boot.dtsi
> +++ b/arch/arm/dts/imx93-u-boot.dtsi
> @@ -69,6 +69,9 @@
>                                 container;
>                                 image0 = "a55", "bl31.bin", "0x204E0000";
>                                 image1 = "a55", "u-boot.bin", "0x80200000";
> +#if defined(CONFIG_OPTEE)
> +                               image2 = "a55", "tee.bin", "0x96000000";
> +#endif

This patch breaks CI:

https://source.denx.de/u-boot/custodians/u-boot-imx/-/jobs/1430279

+binman: Error 1 running 'mkimage -d ./imx9image.imx-boot.u-boot -n
./u-boot-container.cfgout -T imx8image
./imx9image-out.imx-boot.u-boot': 1+0 records in
+1+0 records out
+887808 bytes (888 kB, 867 KiB) copied, 0.00296579 s, 299 MB/s
+1732+1 records in
+1732+1 records out
+887152 bytes (887 kB, 866 KiB) copied, 0.00434548 s, 204 MB/s
+./tee.bin: Can't open: No such file or directory
+make[1]: *** [Makefile:1395: .binman_stamp] Error 1
+make: *** [Makefile:189: __sub-make] Error 2


More information about the U-Boot mailing list