[PATCH v2 0/7] mkimage: Detect FIT image load address overlaps and fix related test/DTS issues
Neha Malcom Francis
n-francis at ti.com
Wed Sep 24 06:40:53 CEST 2025
Hi Tom
On 24/09/25 05:58, Tom Rini wrote:
> On Sun, 14 Sep 2025 10:59:25 +0000, Aristo Chen wrote:
>
>> This patch series enhances FIT image robustness by adding **memory
>> region overlap detection** to `mkimage` and fixing existing overlaps
>> in DTS files and `binman` tests.
>>
>> The primary goal is to prevent runtime memory corruption from
>> conflicting load addresses in FIT images.
>>
>> [...]
>
> Applied to u-boot/next, thanks!
>
> [1/7] binman: Fix typo for the test case name
> commit: 88392a59bf87bf2c1c5aedc0b76f459d702f71a7
> [2/7] binman: Fix FIT image overlap issues
> commit: dade54edaff659c4ed6fc40db0b2dd446714c573
> [3/7] binman: Fix FIT image overlap issues for testFitSplitElf
> commit: a06733fc83f07dd975a9e220a44392f3455c7c21
> [4/7] arm: dts: k3-am6xx: Fix FIT image memory overlap in binman configurations
> commit: cbc4da1dce3f8dd828a2e613676fdceefd87e1ea
> [5/7] tools: mkimage: detect overlapping load regions in FIT configurations
> commit: 588094f2c8ec9a4f7d2dcda11ffae8db8462149c
> [6/7] test: Add test case for FIT image load address overlap detection
> commit: 8f3d3510e31ebc7b2057f431322a7174b6b60ea6
> [7/7] doc: binman: Add guidance for determining ELF load addresses
> commit: 4907a920e8292e9e38ddab4d211dfd5499097a8c
As I had mentioned in a review comment in v1, also Bryan had mentioned
his similar concern; this may break our AM6x platforms. While the FIT
seems to have overlapping TIFS stub entries, in reality only one is
selectively loaded. The load addresses are designed with our limited
SRAM in mind so changing it like this may not work.
--
Thanking You
Neha Malcom Francis
More information about the U-Boot
mailing list