Re: [PATCH v4 6/7] test: fit: cover mkimage load address overlap detection
Simon Glass <[email protected]> Mon, 3 Aug 2026 13:26:10 -0600
| Newsgroups | gmane.comp.boot-loaders.u-boot |
|---|---|
| Message-ID | <CAFLszTg=rQJweERV_TSZJ+11RUSTb7pnT4cJrBjX0BTWre=w9g@mail.gmail.com> |
On 2026-07-31T00:13:34, Aristo Chen <[email protected]> wrote: > test: fit: cover mkimage load address overlap detection > > Add a test that mkimage rejects a FIT image whose configuration > references a kernel and an FDT with the same load address, and that > the error message names the offending configuration and images. > > Also add a companion test for the intended escape hatch: two images > may use the same load address as long as no single configuration > references both of them. Only one configuration is selected at > runtime, so such images never coexist in memory. This mirrors the TI > K3 tispl layout after commit c85bf61b14f9 ("arm: k3: select tifsstub > via board_fit_config_name_match"), where each security state has its > own configuration and all tifsstub variants share one load address. > > Signed-off-by: Aristo Chen <[email protected]> > > test/py/tests/test_fit_mkimage_validate.py | 136 +++++++++++++++++++++++++++++ > 1 file changed, 136 insertions(+) Reviewed-by: Simon Glass <[email protected]>