mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH] arch: enable RELR relocation packing support by default
Date: Tue, 19 May 2026 08:21:02 +0200	[thread overview]
Message-ID: <20260519062104.4125168-1-a.fatoum@pengutronix.de> (raw)

RELR support has been disabled at the last minute prior to the
v2026.04.0 release, because that appeared to fix a not yet understood
boot hang on the Rock 3A.

The boot hang appears to have been fixed properly by commit
3ef8ba6540ef ("ARM: fix wrong calculation of barebox base"), so re-enable
RELR again to benefit from the code size savings.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 arch/Kconfig | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/arch/Kconfig b/arch/Kconfig
index 858dd6b28383..9f5673b5da31 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -54,7 +54,7 @@ config ARCH_HAS_RELR
 config RELR
 	bool "Use RELR relocation packing"
 	depends on ARCH_HAS_RELR && TOOLS_SUPPORT_RELR
-	depends on EXPERIMENTAL
+	default y
 	help
 	  Store the dynamic relocations in the RELR relocation packing
 	  format. Requires a compatible linker (LLD supports this feature), as
@@ -64,9 +64,6 @@ config RELR
 	  This can save ~10% of binary size, more if the final barebox image
 	  contains less external firmware blobs.
 
-	  This is marked experimental until the early hang for rock3a when
-	  this is enabled is understood and repaired.
-
 config ARCH_HAS_CTRLC
 	bool
 
-- 
2.47.3




             reply	other threads:[~2026-05-19  6:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-19  6:21 Ahmad Fatoum [this message]
2026-05-19  7:58 ` Sascha Hauer

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=20260519062104.4125168-1-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /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