[PATCH 0/2] Fix ELF image linking into PBL

Sascha Hauer s.hauer at pengutronix.de
Wed May 13 06:57:57 PDT 2026


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 at 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 at pengutronix.de>




More information about the barebox mailing list