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 1/2] arm: dts: k3-am625: add template for tiboot3.bin
Date: Wed, 29 Jul 2026 16:08:35 +0530 [thread overview]
Message-ID: <DKAZNPTM5DG5.29DKG4LUZSWZB@ti.com> (raw)
In-Reply-To: <CAFLszTh2mAP1COO0V9own5rX8vz1Ly+RvBB=dDAiNNfRKf8wXg@mail.gmail.com>
On Tue Jul 28, 2026 at 4:46 PM IST, Simon Glass wrote:
> Hi Anshul,
>
> On 2026-07-17T10:42:51, Anshul Dalal <anshuld@ti.com> wrote:
>> arm: dts: k3-am625: add template for tiboot3.bin
[snip]
>> diff --git a/arch/arm/dts/k3-am625-binman.dtsi b/arch/arm/dts/k3-am625-binman.dtsi
>> @@ -0,0 +1,123 @@
>> + tiboot3_am625_hs_fs_template: template-tiboot3-hs-fs {
>> + symlink = "tiboot3.bin";
>> + ti-secure-rom {
>
> This bakes a policy into the template - that hs-fs is the default
> tiboot3 - but the hs and gp templates deliberately don't. All three
> callers (sk, verdin, phycore) already set symlink = "tiboot3.bin" on
> the hs-fs node themselves, and on the r5 beagleplay the symlink lives
> on the gp node. Would it be OK to drop this line so all three
> templates are symmetric?
Yeah, putting symlink in the template is not the right approach. I'll
fix it in the v2.
>
>> diff --git a/arch/arm/dts/k3-am625-r5-beagleplay.dts b/arch/arm/dts/k3-am625-r5-beagleplay.dts
>> @@ -33,38 +33,7 @@
>> tiboot3-am62x-gp-evm.bin {
>> filename = "tiboot3-am62x-gp-evm.bin";
>> symlink = "tiboot3.bin";
>> - ti-secure-rom {
>> - content = <&u_boot_spl_unsigned>, <&ti_fs_gp>,
>> - <&combined_tifs_cfg_gp>, <&combined_dm_cfg_gp>;
>
> ...
>> - load = <0x43c00000>;
>
> The original hardcodes load = <0x43c00000> whereas the template uses
> load = <CONFIG_SPL_TEXT_BASE>. These resolve to the same value today
> (the ARCH_K3 && !ARM64 default is 0x43c00000, and no R5 defconfig here
> overrides it), so it is a no-op - but please mention it in the commit
> message under 'No functional change is intended' so the next reader
> doesn't have to chase Kconfig defaults.
>
This value is specific to the SoC and will not change for AM62x but I
will add a note in the commit message for the change anyways.
>> diff --git a/arch/arm/dts/k3-am625-binman.dtsi b/arch/arm/dts/k3-am625-binman.dtsi
>> @@ -0,0 +1,123 @@
>> + tiboot3_am625_gp_template: template-tiboot3-gp {
>> + ti-secure-rom {
>> + content = <&u_boot_spl_unsigned>, <&ti_fs_gp>,
>> + <&combined_tifs_cfg_gp>, <&combined_dm_cfg_gp>;
>
> Just to check - the property ordering inside ti-secure-rom here
> (content-sbl / load / content-sysfw / load-sysfw / … then sw-rev /
> keyfile) differs from the hs and hs-fs templates, which group all
> content-* first and load-* last. Both work, but since you are
> consolidating anyway it would read better if the three followed the
> same layout. What do you think?
>
Yeah, that's fair. I'll re-order the gp template to match the other two.
Thanks for the review,
Anshul
next prev parent reply other threads:[~2026-07-29 10:38 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 [this message]
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
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=DKAZNPTM5DG5.29DKG4LUZSWZB@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.