[PATCH 1/4] ARM: lds: place EFI runtime code and data in separate PT_LOAD segments
Sascha Hauer
s.hauer at pengutronix.de
Tue Aug 25 06:49:17 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=2aae71d068f6 (link may not be stable)
[2/4] efi: loader: map code-type page allocations executable
https://git.pengutronix.de/cgit/barebox/commit/?id=52abcfa25ece (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=9d492e9c03b4 (link may not be stable)
[4/4] test: py: efiloader: test EFI ResetSystem from booted Linux
https://git.pengutronix.de/cgit/barebox/commit/?id=4eb882cebdc1 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list