From: Adam Ford <aford173@gmail.com>
To: u-boot@lists.denx.de
Cc: aford@beaconembedded.com, lukma@denx.de,
Adam Ford <aford173@gmail.com>, Stefano Babic <sbabic@denx.de>,
Fabio Estevam <festevam@gmail.com>,
"NXP i.MX U-Boot Team" <uboot-imx@nxp.com>,
Tom Rini <trini@konsulko.com>, Marek Vasut <marex@denx.de>,
Tim Harvey <tharvey@gateworks.com>, Peng Fan <peng.fan@nxp.com>,
Quentin Schulz <quentin.schulz@cherry.de>,
Sean Anderson <seanga2@gmail.com>, Simon Glass <sjg@chromium.org>
Subject: [PATCH 0/4] Fix FSPI booting on i.MX8M Mini and Nano
Date: Sat, 9 Nov 2024 14:06:01 -0600 [thread overview]
Message-ID: <20241109200610.1615430-1-aford173@gmail.com> (raw)
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
next reply other threads:[~2024-11-09 20:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-09 20:06 Adam Ford [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241109200610.1615430-1-aford173@gmail.com \
--to=aford173@gmail.com \
--cc=aford@beaconembedded.com \
--cc=festevam@gmail.com \
--cc=lukma@denx.de \
--cc=marex@denx.de \
--cc=peng.fan@nxp.com \
--cc=quentin.schulz@cherry.de \
--cc=sbabic@denx.de \
--cc=seanga2@gmail.com \
--cc=sjg@chromium.org \
--cc=tharvey@gateworks.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=uboot-imx@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox