public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/4] Fix FSPI booting on i.MX8M Mini and Nano
@ 2024-11-09 20:06 Adam Ford
  2024-11-09 20:06 ` [PATCH 1/4] arm64: dts: imx8mn: Fix FSPI booting Adam Ford
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Adam Ford @ 2024-11-09 20:06 UTC (permalink / raw)
  To: u-boot
  Cc: aford, lukma, Adam Ford, Stefano Babic, Fabio Estevam,
	NXP i.MX U-Boot Team, Tom Rini, Marek Vasut, Tim Harvey, Peng Fan,
	Quentin Schulz, Sean Anderson, Simon Glass

When the binman tools was upgraded to use imx8mimage, it appears to
have changed how the code and/or boot ROM search the blob for the objects
within the binary blob which broke bootin from FSPI on Mini and Nano.

Instead of reverting the use of imx8mimage, create two files where the
first one lacks the flexspi configuration table, and a second file which
contains the flexspi configuration table plus the contents of flash.bin.
Keeping this information from imx8mimage appears to work since the code
reading from the FSPI seems to already compensate for the adjusted offsets.

On the Nano, the flash.bin file is identical between the fspi mode and the
sd mode, so this series allows us to remove an extra defconfig file since
the objects built are virtually the same between SD and FSPI because the
boot ROM is a little newer than Mini.

Adam Ford (4):
  arm64: dts: imx8mn: Fix FSPI booting
  configs: imx8mn_beacon: Enable FSPI_CONF_HEADER
  configs: imx8mn_beacon: Remove imx8mn_beacon_fspi_defconfig
  arm64: dts: imx8mm: Fix FSPI booting

 arch/arm/dts/imx8mm-u-boot.dtsi      | 259 +++++++++++++-------------
 arch/arm/dts/imx8mn-u-boot.dtsi      | 266 ++++++++++++++-------------
 configs/imx8mn_beacon_defconfig      |   2 +
 configs/imx8mn_beacon_fspi_defconfig | 152 ---------------
 4 files changed, 275 insertions(+), 404 deletions(-)
 delete mode 100644 configs/imx8mn_beacon_fspi_defconfig

-- 
2.45.2


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-11-11 11:57 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-09 20:06 [PATCH 0/4] Fix FSPI booting on i.MX8M Mini and Nano Adam Ford
2024-11-09 20:06 ` [PATCH 1/4] arm64: dts: imx8mn: Fix FSPI booting Adam Ford
2024-11-10  1:29   ` Marek Vasut
2024-11-10 13:15     ` Adam Ford
2024-11-10 16:33       ` Marek Vasut
2024-11-10 17:21         ` Adam Ford
2024-11-11  0:45           ` Marek Vasut
2024-11-11  1:46             ` Adam Ford
2024-11-11 10:23               ` Marek Vasut
2024-11-09 20:06 ` [PATCH 2/4] configs: imx8mn_beacon: Enable FSPI_CONF_HEADER Adam Ford
2024-11-09 20:06 ` [PATCH 3/4] configs: imx8mn_beacon: Remove imx8mn_beacon_fspi_defconfig Adam Ford
2024-11-09 20:06 ` [PATCH 4/4] arm64: dts: imx8mm: Fix FSPI booting Adam Ford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox