[Binman] Question regarding SPL symbol offsets generation
Fabio Estevam
festevam at gmail.com
Thu Aug 15 14:20:30 CEST 2024
Hi Lukasz,
On Thu, Aug 8, 2024 at 6:07 AM Lukasz Majewski <lukma at denx.de> wrote:
>
> Dear Community
>
> I'd like to ask about one issue with generation of symbol offsets in
> binman [1].
>
> In my case the CONFIG_FSPI_CONF_HEADER is defined.
>
> Problem is with generated symbols [2] to point into
> ddr-1d-imem-fw/ddr-1d-dmem-fw/ddr-2d-imem-fw/ddr-2d-dmem-fw.
>
> It looks like only symbols have extra offset of 0x1000 (the same as the
> first section introduces) - binaries for training memory are placed
> without this extra offset.
>
> On the other hand - before this change:
> SHA1: 37e50627efacd8dae18b564e9d8886a033e181bc
>
> The u-boot-spl-ddr.bin was a separate binman "entry" (i.e. not section)
> - so e.g. ddr-1d-dmem-fw {} had proper offsets (as this binary was also
> mangled into spl.bin with mkimage invocation).
>
>
> Now the question - how to properly fix this issue?
I assume you fixed the problem with this change:
https://patchwork.ozlabs.org/project/uboot/patch/20240815080948.457524-1-lukma@denx.de/
More information about the U-Boot
mailing list