From: Peng Fan <peng.fan@oss.nxp.com>
To: Marek Vasut <marex@nabladev.com>
Cc: u-boot@lists.denx.de, "NXP i.MX U-Boot Team" <uboot-imx@nxp.com>,
Fabio Estevam <festevam@gmail.com>, Peng Fan <peng.fan@nxp.com>,
Simon Glass <sjg@chromium.org>,
Stefano Babic <sbabic@nabladev.com>,
Tom Rini <trini@konsulko.com>, Yannic Moog <y.moog@phytec.de>,
Ye Li <ye.li@nxp.com>
Subject: Re: [PATCH] arm64: dts: imx8m: Reinstate TEE ifdeffery
Date: Wed, 1 Jul 2026 15:33:57 +0800 [thread overview]
Message-ID: <akTC5TQupHhkqev+@shlinux89> (raw)
In-Reply-To: <20260630160951.122230-1-marex@nabladev.com>
On Tue, Jun 30, 2026 at 06:08:56PM +0200, Marek Vasut wrote:
>Since b57ed147939c ("dts: imx8m{m,n,p,q}: Make optee packaging optional")
>the TEE node is always present in U-Boot proper fitImage, even if the
>CONFIG_OPTEE is disabled because the u-boot.itb should not contain any
>tee.bin. This is wasteful, and produces the following warning which is
>also confusing to users:
>
>"
>Image 'image' is missing optional external blobs but is still functional: tee-os
>
>/binman/section/fit/images/tee/tee-os (tee.bin):
> See the documentation for your board. You may need to build Open Portable
> Trusted Execution Environment (OP-TEE) and build with TEE=/path/to/tee.bin
>"
>
>Reinstate the CONFIG_OPTEE ifdeffery to mitigate the problem, but retain the
>binman "optional" keyword at tee.bin .
>
>Before:
>"
>$ mkimage -l u-boot.itb
>FIT description: Configuration to load ATF before U-Boot
>Created: Tue Jun 30 17:23:54 2026
> Image 0 (uboot)
>...
> Image 2 (tee) <------------------------------ bogus empty image entry
> Description: OP-TEE |
> Created: Tue Jun 30 17:23:54 2026 |
> Type: Trusted Execution Environment Image |
> Compression: uncompressed |
> Data Size: 0 Bytes = 0.00 KiB = 0.00 MiB <--------'
> Image 3 (fdt-1)
>...
>"
>
>After:
>"
>$ mkimage -l u-boot.itb
>FIT description: Configuration to load ATF before U-Boot
>Created: Tue Jun 30 17:58:15 2026
> Image 0 (uboot)
>...
> Image 1 (atf)
>...
> Image 2 (fdt-1)
>...
>"
>
>Fixes: b57ed147939c ("dts: imx8m{m,n,p,q}: Make optee packaging optional")
>Signed-off-by: Marek Vasut <marex@nabladev.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
next prev parent reply other threads:[~2026-07-01 7:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-30 16:08 [PATCH] arm64: dts: imx8m: Reinstate TEE ifdeffery Marek Vasut
2026-07-01 7:33 ` Peng Fan [this message]
2026-07-02 7:04 ` Yannic Moog
2026-07-02 22:25 ` Marek Vasut
2026-07-03 6:16 ` Yannic Moog
2026-07-04 20:13 ` Marek Vasut
2026-07-06 12:36 ` Yannic Moog
2026-07-06 22:36 ` Marek Vasut
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=akTC5TQupHhkqev+@shlinux89 \
--to=peng.fan@oss.nxp.com \
--cc=festevam@gmail.com \
--cc=marex@nabladev.com \
--cc=peng.fan@nxp.com \
--cc=sbabic@nabladev.com \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=uboot-imx@nxp.com \
--cc=y.moog@phytec.de \
--cc=ye.li@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox