Skip to contentSkip to conversation

arm/u-boot: fix uefi-secureboot on u-boot v2026.04

PATCH Applied Jon Mason 2 participants 2 messages Jun 25 – Jun 29

lore
Share & tools
lore

Jon Mason

author
#0 lore raw

PATCH 1/1 arm/u-boot: fix uefi-secureboot on u-boot v2026.04

u-boot v2026.04 changed to kbuild 6.1, which broke how ubootefi.var is used. Apply patch from u-boot mailing list to address the issue.

---
 .../u-boot/u-boot-uefi-secureboot.inc         |  4 +-
 ...uilding-with-CONFIG_EFI_VARIABLES_PR.patch | 67 +++++++++++++++++++
 2 files changed, 70 insertions(+), 1 deletion(-)
 create mode 100644 meta-arm/recipes-bsp/u-boot/u-boot/0001-efi_loader-fix-building-with-CONFIG_EFI_VARIABLES_PR.patch
meta-arm/recipes-bsp/u-boot/u-boot-uefi-secureboot.inc +3 -1
index cb2fed1573f9..af641278e06e 100644
@@ -1,6 +1,8 @@
 FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
 
-SRC_URI += "file://uefi-secureboot.cfg"
+SRC_URI += "file://uefi-secureboot.cfg \
+            file://0001-efi_loader-fix-building-with-CONFIG_EFI_VARIABLES_PR.patch \
+           "
 
 inherit sbsign
 
meta-arm/recipes-bsp/u-boot/u-boot/0001-efi_loader-fix-building-with-CONFIG_EFI_VARIABLES_PR.patch new file +67 -0

67 lines not on this page · raw message

Signature · 1 line
2.50.1 (Apple Git-155)
Applied
#1 lore raw
Quoted 4 lines · Jon Mason

u-boot v2026.04 changed to kbuild 6.1, which broke how ubootefi.var is used. Apply patch from u-boot mailing list to address the issue.

Applied, thanks!

[1/1] arm/u-boot: fix uefi-secureboot on u-boot v2026.04

      commit: 9977e1abf2f379716427f51fb27d68b94133d26e

Best regards,

Signature · 1 line
Jon Mason <[email protected]>