This patch series adds support for the efibootguard bootloader (https://github.com/siemens/efibootguard) to buildroot. efibootguard can be useful when designing systems using A/B slot-based upgrades.
The first patch introduces the efibootguard bootloader package which builds the EFI application, user-space applications and host applications. The second patch adds an example recipe which demonstrates how to use efibootguard in a typical EFI boot scenario. This may serve as a reference for users looking to integrate efibootguard into their system. efibootguard can be built for multiple architectures, but for now this patch series only builds for x86_64 (since that was what the project I added efibootguard to used). Support for additional architectures (including arm, aarch64 and riscv) will come in future follow-up patches. I expect to do that once this series has been merged. The example recipe has been boot-tested on QEMU with OVMF firmware and I have confirmed the image boots & runs as expected. Feedback welcome! Signed-off-by: Christopher Obbard <[email protected]> --- Christopher Obbard (2): boot/efibootguard: new boot package board/pc-efibootguard: add example efibootguard recipe DEVELOPERS | 5 ++ board/pc-efibootguard/genimage.cfg | 59 +++++++++++++++ board/pc-efibootguard/linux-efistub.fragment | 4 + board/pc-efibootguard/post-build.sh | 35 +++++++++ board/pc-efibootguard/post-image.sh | 7 ++ board/pc-efibootguard/readme.txt | 30 ++++++++ board/pc-efibootguard/run-image-qemu.sh | 9 +++ boot/Config.in | 2 + ...e-segfault-when-building-with-busybox-ash.patch | 38 ++++++++++ ...-parsing-and-checks-to-also-support-gnu-e.patch | 88 ++++++++++++++++++++++ boot/efibootguard/Config.in | 37 +++++++++ boot/efibootguard/Config.in.host | 8 ++ boot/efibootguard/efibootguard.hash | 3 + boot/efibootguard/efibootguard.mk | 60 +++++++++++++++ configs/pc_x86_64_efibootguard_defconfig | 51 +++++++++++++ 15 files changed, 436 insertions(+) --- base-commit: 11d6d10debc81a64de901ec0217b8103c0f366b0 change-id: 20250207-wip-obbardc-boot-efibootguard-initial-pkg-9d16e4b283fd Best regards, -- Christopher Obbard <[email protected]> -- You received this message because you are subscribed to the Google Groups "EFI Boot Guard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/efibootguard-dev/20251219-wip-obbardc-boot-efibootguard-initial-pkg-v1-0-0f307ee73919%40gmail.com.
