From: Anshul Dalal <anshuld@ti.com>
To: Simon Glass <sjg@chromium.org>, <anshuld@ti.com>
Cc: <u-boot@lists.denx.de>, <upstream@lists.phytec.de>
Subject: Re: [PATCH 2/2] arm: dts: k3-am625: add template for tispl.bin
Date: Wed, 29 Jul 2026 16:15:54 +0530 [thread overview]
Message-ID: <DKAZTBHXURMI.Y3HM2XDFOEGA@ti.com> (raw)
In-Reply-To: <CAFLszTi2Rc52TKKoGOicXEHF25GUm09gcyuZz0Y5zTjBw1W+pQ@mail.gmail.com>
On Tue Jul 28, 2026 at 4:46 PM IST, Simon Glass wrote:
> On 2026-07-17T10:42:51, Anshul Dalal <anshuld@ti.com> wrote:
>> arm: dts: k3-am625: add template for tispl.bin
>>
>> This patch addresses the duplication of the binman nodes responsible for
>> generating tispl.bin and tispl.bin_unsigned for TI's AM625 SoC based
>> boards.
>>
>> The common nodes are factored out into a template in the SoC level
>> k3-am625-binman.dtsi that each board in-turn includes.
>>
>> No functional change is intended from the patch asides from the addition
>> of tifsstub-hs and tifsstub-fs nodes in beagleplay's tispl.bin which
>> should have no consequence asides from growing the binary size by few
>> kilo bytes.
>>
>> Signed-off-by: Anshul Dalal <anshuld@ti.com>
>>
>> arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi | 92 +------
>> arch/arm/dts/k3-am625-binman.dtsi | 240 ++++++++++++++++++
>> arch/arm/dts/k3-am625-phycore-som-binman.dtsi | 241 +-----------------
>> arch/arm/dts/k3-am625-sk-binman.dtsi | 288 ++--------------------
>> arch/arm/dts/k3-am625-verdin-wifi-dev-binman.dtsi | 185 +-------------
>> 5 files changed, 270 insertions(+), 776 deletions(-)
>
>> diff --git a/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi b/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi
>> @@ -63,99 +63,11 @@
>> ti-spl_unsigned {
>> - filename = "tispl.bin_unsigned";
>> + insert-template = <&ti_spl_unsigned_am625_template>;
>> symlink = "tispl.bin";
>> - pad-byte = <0xff>;
>> -
>> fit {
>> - description = "Configuration to load ATF and SPL";
>> - #address-cells = <1>;
>> -
>> images {
>
> Just to check: the FIT for beagleplay now also contains tifsstub-hs /
> tifsstub-fs entries even though conf-0's loadables only references
> tifsstub-gp. Have you confirmed that the resulting tispl.bin still
> parses cleanly and SPL does not try to load the unused entries? Please
> note the beagleplay boot test in the commit message.
>
> I was unable to try this in my lab:
>
> arm: + am62x_beagleplay_r5
> +binman: Node '/binman/tiboot3-am62x-gp-evm.bin/ti-secure-rom': Cannot
> find node for phandle 100
> +make[1]: *** [Makefile:1410: .binman_stamp] Error 1
> +make: *** [Makefile:189: __sub-make] Error 2
This is due to this[1] missing fix which is mentioned as a dependency in
the cover-letter. I have verified the patch series on the beagleplay
with the delta to tispl being the addition of tifsstub-hs and
tifsstub-fs which add a total of ~60KiB to the totalling 1MiB file.
The runtime correctly only loads the tifsstub-gp binary.
[1]: https://lore.kernel.org/u-boot/20260709-binman_template_phandle_copy_fix-v2-1-6c4017eec04d@ti.com/
>
>> diff --git a/arch/arm/dts/k3-am625-binman.dtsi b/arch/arm/dts/k3-am625-binman.dtsi
>> @@ -121,3 +121,243 @@
>> +#ifdef CONFIG_ARM64
>> +
>> +&binman {
>> + tifsstub-hs {
>
> The three tifsstub-{hs,fs,gp} nodes are unconditional within the
> CONFIG_ARM64 block, so every A53 board including this dtsi will
> produce tifsstub.bin_hs / _fs / _gp regardless of variant. That is
> fine since the blobs are optional, but please confirm this is intended
> and does not regress packaging scripts that consume these artefacts.
>
It was only beagleplay that did not have these binaries included and the
build/boot works just fine with the addition.
I will make the requested changes in the v2, thanks for the review.
Anshul
next prev parent reply other threads:[~2026-07-29 10:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-17 10:42 [PATCH 0/2] Refactor binman nodes for boot binaries for TI AM625 into templates Anshul Dalal
2026-07-17 10:42 ` [PATCH 1/2] arm: dts: k3-am625: add template for tiboot3.bin Anshul Dalal
2026-07-28 11:16 ` Simon Glass
2026-07-29 10:38 ` Anshul Dalal
2026-07-17 10:42 ` [PATCH 2/2] arm: dts: k3-am625: add template for tispl.bin Anshul Dalal
2026-07-28 11:16 ` Simon Glass
2026-07-29 10:45 ` Anshul Dalal [this message]
2026-07-29 10:50 ` Anshul Dalal
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=DKAZTBHXURMI.Y3HM2XDFOEGA@ti.com \
--to=anshuld@ti.com \
--cc=sjg@chromium.org \
--cc=u-boot@lists.denx.de \
--cc=upstream@lists.phytec.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.