All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brian Sune <briansune@gmail.com>
To: u-boot@lists.denx.de, Tom Rini <trini@konsulko.com>
Cc: Brian Sune <briansune@gmail.com>
Subject: [PATCH v1] Fix unbootable ARMv7 devices
Date: Fri, 30 Jan 2026 11:12:17 +0800	[thread overview]
Message-ID: <20260130031217.998002-1-briansune@gmail.com> (raw)

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


             reply	other threads:[~2026-01-30  3:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-30  3:12 Brian Sune [this message]
2026-01-30 14:55 ` [PATCH v1] Fix unbootable ARMv7 devices Tom Rini
2026-01-30 16:50   ` Sune Brian
2026-01-30 18:10     ` Tom Rini
2026-01-30 17:02   ` Sune Brian

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=20260130031217.998002-1-briansune@gmail.com \
    --to=briansune@gmail.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /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 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.