[PATCH 1/4] ARM: lds: place EFI runtime code and data in separate PT_LOAD segments

Sascha Hauer s.hauer at pengutronix.de
Mon Aug 24 05:28:00 PDT 2026


On Mon, 24 Aug 2026 09:29:51 +0200, Ahmad Fatoum wrote:
> EFI runtime services support was added before barebox proper was made an
> ELF and back then it proved too cumbersome to have two non-adjacent text
> areas for each of the boot-time and run-time portions.
> 
> Now that barebox proper is an ELF, let's move the EFI runtime data and
> text each into its own segment with the appropriate segment flags, so
> pbl_mmu_setup_from_elf() can apply the correct protections.
> 
> [...]

Applied, thanks!

[1/4] ARM: lds: place EFI runtime code and data in separate PT_LOAD segments
      https://git.pengutronix.de/cgit/barebox/commit/?id=38e03bdde67f (link may not be stable)
[2/4] efi: loader: map code-type page allocations executable
      https://git.pengutronix.de/cgit/barebox/commit/?id=834b1ba72ede (link may not be stable)
[3/4] ARM: allow CONFIG_ARM_MMU_PERMISSIONS together with EFI_RUNTIME
      https://git.pengutronix.de/cgit/barebox/commit/?id=35c6febf6725 (link may not be stable)
[4/4] test: py: efiloader: test EFI ResetSystem from booted Linux
      https://git.pengutronix.de/cgit/barebox/commit/?id=10305208ccf8 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list