public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [RFC PATCH v1] dts: imx8mp-u-boot.dtsi align flash.bin
@ 2024-10-10  8:28 Heiko Schocher
  2024-10-12 21:24 ` Marek Vasut
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Heiko Schocher @ 2024-10-10  8:28 UTC (permalink / raw)
  To: U-Boot Mailing List
  Cc: Heiko Schocher, Fabio Estevam, Fabio Estevam, Marcel Ziswiler,
	Marek Vasut, NXP i.MX U-Boot Team, Rasmus Villemoes,
	Stefano Babic, Tim Harvey, Tom Rini

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


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

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

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-10  8:28 [RFC PATCH v1] dts: imx8mp-u-boot.dtsi align flash.bin Heiko Schocher
2024-10-12 21:24 ` 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

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