[Binman] Question regarding SPL symbol offsets generation

Lukasz Majewski lukma at denx.de
Wed Aug 28 10:03:55 CEST 2024


Hi Fabio,

> Hi Lukasz,
> 
> On Thu, Aug 15, 2024 at 5:14 PM Lukasz Majewski <lukma at denx.de> wrote:
> 
> > Unfortunately not - this change is only for properly setting start
> > address of the u-boot.
> >
> > The _real_ problem here is the symbol placement generated by binman
> > when we try to define the image as a single one.
> >
> > Moreover, this change follows other boards with imx8mm processor -
> > ./configs/imx8mm_beacon_fspi_defconfig to be specific.
> >
> > The "fix" (for which I'd been now probably opt) for this issue
> > would be to generate two images with binman - one for
> > u-boot-spl-ddr.bin and the final flash.bin with the former one
> > included (as it was before SHA1:
> > 37e50627efacd8dae18b564e9d8886a033e181bc)  
> 
> Is QSPI boot broken on i.MX8MM?
> 

With newest mainline - yes.

Please consult (this works on polis):
https://github.com/lmajewski/u-boot/commits/phycore-imx8mm-qspi-nvme

The spl symbols after binman generation are off by 0x1000 (by the
inserted on the beginning QSPI header)

> I am adding Adam and Mamta who have tested QSPI booting on
> imx8mm_beacon and imx8mm_evk, respectively.

Ok. Good.


Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240828/b0f318a5/attachment.sig>


More information about the U-Boot mailing list