From: Heiko Schocher <hs@denx.de>
To: U-Boot Mailing List <u-boot@lists.denx.de>
Cc: Heiko Schocher <hs@denx.de>, Fabio Estevam <festevam@denx.de>,
Fabio Estevam <festevam@gmail.com>,
Marcel Ziswiler <marcel.ziswiler@toradex.com>,
Marek Vasut <marex@denx.de>,
"NXP i.MX U-Boot Team" <uboot-imx@nxp.com>,
Rasmus Villemoes <rasmus.villemoes@prevas.dk>,
Stefano Babic <sbabic@denx.de>,
Tim Harvey <tharvey@gateworks.com>, Tom Rini <trini@konsulko.com>
Subject: [RFC PATCH v1] dts: imx8mp-u-boot.dtsi align flash.bin
Date: Thu, 10 Oct 2024 10:28:31 +0200 [thread overview]
Message-ID: <20241010082831.19983-1-hs@denx.de> (raw)
trying to load current flash.bin with uuu tool
leads in not booting U-Boot as missing some bytes.
Align flash.bin in this case to 0x800 bytes, to
make uuu and ROM api happy.
Signed-off-by: Heiko Schocher <hs@denx.de>
---
I am unsure about the value of 0x800 which is twice the
value the code in spl_romapi_load_image_stream(), requests
from romapi which in my case on imx8mp is 0x400...
May I oversee something?
arch/arm/dts/imx8mp-u-boot.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/dts/imx8mp-u-boot.dtsi b/arch/arm/dts/imx8mp-u-boot.dtsi
index 56749ccacd..3c0bf8c4d6 100644
--- a/arch/arm/dts/imx8mp-u-boot.dtsi
+++ b/arch/arm/dts/imx8mp-u-boot.dtsi
@@ -85,6 +85,7 @@
filename = "flash.bin";
section {
pad-byte = <0x00>;
+ align-size = <0x800>;
#ifdef CONFIG_IMX_HAB
nxp-imx8mcst@0 {
--
2.20.1
next reply other threads:[~2024-10-10 8:28 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-10 8:28 Heiko Schocher [this message]
2024-10-12 21:24 ` [RFC PATCH v1] dts: imx8mp-u-boot.dtsi align flash.bin Marek Vasut
2024-10-14 5:49 ` Heiko Schocher
2024-10-13 12:42 ` Francesco Dolcini
2024-10-14 6:09 ` Heiko Schocher
2024-10-14 6:29 ` Peng Fan
2024-10-14 6:45 ` Heiko Schocher
2024-10-14 7:29 ` Peng Fan
2024-10-14 7:44 ` Heiko Schocher
2024-10-14 10:21 ` Rasmus Villemoes
2024-10-14 10:31 ` Marek Vasut
2024-10-14 11:00 ` Heiko Schocher
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=20241010082831.19983-1-hs@denx.de \
--to=hs@denx.de \
--cc=festevam@denx.de \
--cc=festevam@gmail.com \
--cc=marcel.ziswiler@toradex.com \
--cc=marex@denx.de \
--cc=rasmus.villemoes@prevas.dk \
--cc=sbabic@denx.de \
--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