[PATCH 00/15] Implement efi loader to run barebox as efi payload app and then load efi stubed application/kernels.

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Sep 22 00:37:35 PDT 2025


On 20.09.25 05:03, chalianis1 at gmail.com wrote:
> Signed-off-by: Chali Anis <chalianis1 at gmail.com>

There's still some refactoring needed to avoid intermittent changes
that are removed/reworked in the same series.

I am collaborating on it with Anis and a revised series will follow
for wider review.

Cheers,
Ahmad

> ---
> Ahmad Fatoum (5):
>       efi: payload: split image handling from legacy handover boot support
>       efi: payload: add support for efi stub boot
>       efi: payload: add support for fit image
>       efi: payload: make selectable without COMPILE_TEST
>       ARM: cpu: allow selecting CPU_V7/CPU_V8 directly
> 
> Chali Anis (10):
>       arm: efi: add a generic defconfig for v8 efi payload,
>       efi: payload: initrd: implement efi initrd media protocol.
>       common: filetype: add x86 linux filetype.
>       efi: payload: early-mem: helps to correctly boot x86 linux.
>       efi: payload: bootm: add x86 efi stub boot support.
>       efi: payload: x86: enable the possibility to efi stub bootm for x86.
>       malloc: tlsf: efi: add a fallback for allocate more memory when we are in efi.
>       configs: efi: arm64: x86: enable the use of efi malloc fallback.
>       efi: payload: earlymem: allocate only the barebox needs in term of memory.
>       efi: payload: bootm: remove redundant reallocations in image loader
> 
>  arch/arm/configs/efi_v8_defconfig | 267 +++++++++++++++++++++
>  arch/arm/cpu/Kconfig              |   7 +-
>  arch/x86/configs/efi_defconfig    |   1 +
>  common/Kconfig                    |   9 +
>  common/Makefile                   |   1 +
>  common/efi_malloc.c               |  80 +++++++
>  common/filetype.c                 |   4 +
>  common/tlsf_malloc.c              |  22 +-
>  efi/Kconfig                       |  23 +-
>  efi/guid.c                        |   7 +
>  efi/payload/Kconfig               |  11 +
>  efi/payload/Makefile              |   3 +
>  efi/payload/bootm.c               | 477 ++++++++++++++++++++++++++++++++++++++
>  efi/payload/early-mem.c           |  19 +-
>  efi/payload/efi-initrd.c          | 123 ++++++++++
>  efi/payload/entry-multi.c         |   5 +-
>  efi/payload/entry-single.c        |   5 +-
>  efi/payload/handover.c            | 195 ++++++++++++++++
>  efi/payload/image.c               | 228 +-----------------
>  efi/payload/image.h               |  14 ++
>  efi/payload/setup_header.h        |  63 +++++
>  include/efi.h                     |   4 +
>  include/efi/efi-payload.h         |   5 +-
>  include/filetype.h                |   6 +
>  include/malloc.h                  |  19 ++
>  25 files changed, 1352 insertions(+), 246 deletions(-)
> ---
> base-commit: 3366e9e04a284b7fed71c4b8729fe331b6547d6b
> change-id: 20250919-efi-loader-cdff44ad2d40
> 
> Best regards,


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list