From: Sascha Hauer <s.hauer@pengutronix.de>
To: BAREBOX <barebox@lists.infradead.org>
Subject: [PATCH 0/2] Fix ELF image linking into PBL
Date: Wed, 13 May 2026 15:57:57 +0200 [thread overview]
Message-ID: <20260513-pbl-elf-fixes-v1-0-440cc04c634f@pengutronix.de> (raw)
On ARM and RiscV we now link an ELF image into the PBL. With this PBL
and barebox proper might disagree where the barebox image has been
placed resulting in the malloc area overlapping the barebox image.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
Sascha Hauer (2):
ARM: fix wrong calculation of barebox base
riscv: fix wrong calculation of barebox base
arch/arm/include/asm/barebox-arm.h | 4 ++++
arch/riscv/include/asm/barebox-riscv.h | 4 ++++
2 files changed, 8 insertions(+)
---
base-commit: f4da708a0ba2d8489832900b37343ac63dce16f0
change-id: 20260513-pbl-elf-fixes-f400f6c9546b
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
next reply other threads:[~2026-05-13 13:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-13 13:57 Sascha Hauer [this message]
2026-05-13 13:57 ` [PATCH 1/2] ARM: fix wrong calculation of barebox base Sascha Hauer
2026-05-13 13:57 ` [PATCH 2/2] riscv: " Sascha Hauer
2026-05-15 9:28 ` [PATCH 0/2] Fix ELF image linking into PBL 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=20260513-pbl-elf-fixes-v1-0-440cc04c634f@pengutronix.de \
--to=s.hauer@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