Implement efi loader to run barebox as efi payload app and then load efi stubed application/kernels.
Get series with b4
b4 am [email protected] change-id 20250919-efi-loader-cdff44ad2d40Versions newest first
- v1 Latest15 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | efi: payload: split image handling from legacy handover boot supportefi/ efi/ efi/ +4 more | +291 | 0 replies | |
| 2/15 | efi: payload: add support for efi stub bootefi/ efi/ efi/ +1 more | +530 | 0 replies | |
| 3/15 | efi: payload: add support for fit imageefi/ | +126 | 0 replies | |
| 4/15 | efi: payload: make selectable without COMPILE_TESTefi/ | +1 | 0 replies | |
| 5/15 | arm: efi: add a generic defconfig for v8 efi payload,arch/ | +266 | 0 replies | |
| 6/15 | efi: payload: initrd: implement efi initrd media protocol.efi/ efi/ include/ +1 more | +137 | 0 replies | |
| 7/15 | common: filetype: add x86 linux filetype.common/ include/ | +10 | 0 replies | |
| 8/15 | efi: payload: early-mem: helps to correctly boot x86 linux.efi/ | +7 | 0 replies | |
| 9/15 | efi: payload: bootm: add x86 efi stub boot support.efi/ | +38 | 0 replies | |
| 10/15 | efi: payload: x86: enable the possibility to efi stub bootm for x86.efi/ | +4 | 0 replies | |
| 11/15 | malloc: tlsf: efi: add a fallback for allocate more memory when we are in efi.common/ common/ common/ +2 more | +129 | 0 replies | |
| 12/15 | configs: efi: arm64: x86: enable the use of efi malloc fallback.arch/ arch/ efi/ | +5 | 0 replies | |
| 13/15 | efi: payload: earlymem: allocate only the barebox needs in term of memory.efi/ efi/ efi/ +1 more | +9 | 0 replies | |
| 14/15 | ARM: cpu: allow selecting CPU_V7/CPU_V8 directlyarch/ | +5 | 0 replies | |
| 15/15 | efi: payload: bootm: remove redundant reallocations in image loaderefi/ | +136 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/15] Implement efi loader to run barebox as efi payload app and then load efi stubed application/kernels.
---
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,
Signature · 1 line
Chali Anis <[email protected]>