Re: [PATCH] configs: qcom_defconfig: Enable EFI variable runtime storage

Casey Connolly <[email protected]> Mon, 20 Jul 2026 14:14:31 +0100
Newsgroups de.denx.lists.u-boot
Message-ID <[email protected]>
Hi Balaji,

On 7/20/26 11:25, Balaji Selvanathan wrote:
> 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.
> 
> Signed-off-by: Balaji Selvanathan <[email protected]>

Thanks, nice to get this enabled!

Reviewed-by: Casey Connolly <[email protected]>

> ---
>   configs/qcom_defconfig | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
> index c52f619850d..01c70c25c66 100644
> --- a/configs/qcom_defconfig
> +++ b/configs/qcom_defconfig
> @@ -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,