All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] Fix unbootable ARMv7 devices
@ 2026-01-30  3:12 Brian Sune
  2026-01-30 14:55 ` Tom Rini
  0 siblings, 1 reply; 5+ messages in thread
From: Brian Sune @ 2026-01-30  3:12 UTC (permalink / raw)
  To: u-boot, Tom Rini; +Cc: Brian Sune

The linker script u-boot-spl.lds now
is no longer aligned and -nodtb.bin ending shows
the zeros are not 8 byte aligned. This result in
the Makefile.xpl simply think the previous file
is aligned and do not zero pad. simply fix the
data align to 8 can ensure the -nodtb.bin is aligned,
hence, the formation of u-boot-spl.bin properly align.

Signed-off-by: Brian Sune <briansune@gmail.com>
---
 arch/arm/cpu/u-boot-spl.lds | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/cpu/u-boot-spl.lds b/arch/arm/cpu/u-boot-spl.lds
index c578c3ebf82..18b0f1e7284 100644
--- a/arch/arm/cpu/u-boot-spl.lds
+++ b/arch/arm/cpu/u-boot-spl.lds
@@ -26,7 +26,7 @@ SECTIONS
 	. = ALIGN(4);
 	.rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
 
-	. = ALIGN(4);
+	. = ALIGN(8);
 	.data : {
 		*(.data*)
 	}
-- 
2.34.1


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

end of thread, other threads:[~2026-01-30 18:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-30  3:12 [PATCH v1] Fix unbootable ARMv7 devices Brian Sune
2026-01-30 14:55 ` Tom Rini
2026-01-30 16:50   ` Sune Brian
2026-01-30 18:10     ` Tom Rini
2026-01-30 17:02   ` Sune Brian

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.