[PATCH v1 0/4] k3: migrate SPL_TEXT_BASE to new address
Anshul Dalal
anshuld at ti.com
Thu Apr 17 11:21:59 CEST 2025
On Thu Apr 17, 2025 at 1:21 AM IST, Nishanth Menon wrote:
> On 11:38-20250416, Andrew Davis wrote:
>> > > > How about u-boot documentation?
>> > >
>> > > I will update that in the next revision along with any feedback I
>> > > receive on this patch.
>> >
>> > IMHO, This change is too intrusive and impacts downstream customers
>> > including inflight production devices.
>> >
>>
>> Could you elaborate a little?
>>
>> They do not even need to update their TF-A version, if they want to
>> use their current version they simply recompile it with a single
>> extra build flag:
>>
>> PRELOADED_BL33_BASE=0x822000000
>
> For folks who are trying to boot linux from TFA, they could do the same.
This change would allow us to support both standard boot flow and falcon
mode from the same upstream source. With the only downside being the
slight overhead added by the jump-stub (~1.7KiB added to tispl.bin and
two extra instructions to jump to u-boot from older ATF builds).
And we can remove the stub altogether once all the customers have
migrated over to the new address.
In addition to that this also frees up the bottom of DDR which allows us
to more easily support low memory systems (512MiB or less) as we can use
the freed up space for more tightly packing OP-TEE, DM etc. instead of
having the binaries loaded at scattered addresses like we do now.
>>
>> They should have no reason not to be able to do this. But even *if*
>> they cannot do that, the whole point of the jump-stub here is to
>> save them even having to do a simple compile.
>>
>> IMHO "downstream customers including inflight production devices"
>> should not be a reason to block good and useful changes here in
>> upstream. But again, this change doesn't break anything for them in
>> the first place, so why bring that up?
>
> I dont see a specific value here. U-boot just works. For folks who want
> direct TFA to kernel jump (which is a niche fast boot usecase), go ahead
> and use TFA with the mentioned build option.
More information about the U-Boot
mailing list