[PATCH 1/4] arm64: dts: imx8mn: Fix FSPI booting

Marek Vasut marex at denx.de
Sun Nov 10 02:29:26 CET 2024


On 11/9/24 9:06 PM, Adam Ford wrote:
> When FSPI_CONF_HEADER is set, the binary needs to be built such
> that there is a configuration file located at 0x400 and the start
> of the file that would normally be flash.bin starts at 0x1000.
> This used to be done properly until the device tree was converted to
> nxp_imx8mimage.
> 
> Building these with the offsets built into the binman device tree
> changes impacts how the actual image is built and the locations
> of the various blobs aren't fetched properly and booting fails.
> 
> Fix this by building a standard image as if it were to boot from
> eMMC or SD, then use that image as the input for a second image

This seems like a workaround for some broken offset calculation in binman ?


More information about the U-Boot mailing list