Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions recipes-bsp/u-boot/files/efi-rt-volatile-store.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Allow SetVariable at runtime on U-Boot's in-RAM EFI variable store so the
# OS can write EFI variables via efivarfs. With this enabled U-Boot also
# advertises EFI_RT_SUPPORTED_SET_VARIABLE and exposes the RTStorageVolatile
# and VarToFile variables, which userspace tools such as efivar use to persist
# runtime changes back to the ubootefi.var store on the ESP across reboots.
#
# EFI_RT_VOLATILE_STORE depends on EFI_VARIABLE_FILE_STORE; select it
# explicitly so the option is not silently dropped if that default changes.
CONFIG_EFI_VARIABLE_FILE_STORE=y
CONFIG_EFI_RT_VOLATILE_STORE=y
1 change: 1 addition & 0 deletions recipes-bsp/u-boot/u-boot-qcom_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ SRCBRANCH = "nobranch=1"
SRC_URI = "git://github.com/qualcomm-linux/u-boot.git;${SRCBRANCH};protocol=https;name=uboot"
SRC_URI += " \
file://disable-eficapsule-tool.cfg \
file://efi-rt-volatile-store.cfg \
${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'file://tfa-optee.cfg', '', d)} \
${@bb.utils.contains('MACHINE_FEATURES', 'kvm', 'file://gunyah-exit.cfg', '', d)} \
"
Expand Down
Loading