configs: qcom_defconfig: Enable EFI variable runtime storage
PATCH 1/1 configs: qcom_defconfig: Enable EFI variable runtime storage
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.
--- configs/qcom_defconfig | 2 ++ 1 file changed, 2 insertions(+)
configs/qcom_defconfig +2 -0
@@ -10,6 +10,8 @@ CONFIG_SYS_LOAD_ADDR=0xA0000000 CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y CONFIG_EFI_CAPSULE_ON_DISK=y CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y +CONFIG_EFI_VARIABLE_FILE_STORE=y +CONFIG_EFI_RT_VOLATILE_STORE=y CONFIG_BUTTON_CMD=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y
---
base-commit: fdfe2ec48d5c1c2ed03073d73edd3fdd3fe1ffa1
change-id: 20260720-runtime-4b0d467f5b73
Best regards,
Signature · 1 line
Balaji Selvanathan <[email protected]>
Hi Balaji,
Quoted 7 lines · Balaji Selvanathan
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_VARIABLEand 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.
Quoted 5 lines
EFI_RT_VOLATILE_STOREdepends onEFI_VARIABLE_FILE_STORE; select it explicitly so the option is not silently dropped if that default changes.Signed-off-by Balaji Selvanathan <[email protected]>
Thanks, nice to get this enabled!
Quoted 23 lines
--- configs/qcom_defconfig | 2 ++ 1 file changed, 2 insertions(+)configs/qcom_defconfig +2
-1@@ -10,6 +10,8 @@ CONFIG_SYS_LOAD_ADDR=0xA0000000 CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y CONFIG_EFI_CAPSULE_ON_DISK=y CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y +CONFIG_EFI_VARIABLE_FILE_STORE=y +CONFIG_EFI_RT_VOLATILE_STORE=y CONFIG_BUTTON_CMD=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y ---base-commit:
fdfe2ec48d5c1c2ed03073d73edd3fdd3fe1ffa1
change-id: 20260720-runtime-4b0d467f5b73Best regards,