* [PATCH] configs: qcom_defconfig: Enable EFI variable runtime storage
@ 2026-07-20 10:25 Balaji Selvanathan
2026-07-20 13:14 ` Casey Connolly
0 siblings, 1 reply; 2+ messages in thread
From: Balaji Selvanathan @ 2026-07-20 10:25 UTC (permalink / raw)
To: Sumit Garg, u-boot-qcom, u-boot
Cc: Casey Connolly, Neil Armstrong, Tom Rini, Varadarajan Narayanan,
Aswin Murugan, Quentin Schulz, 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_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 <balaji.selvanathan@oss.qualcomm.com>
---
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,
--
Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] configs: qcom_defconfig: Enable EFI variable runtime storage
2026-07-20 10:25 [PATCH] configs: qcom_defconfig: Enable EFI variable runtime storage Balaji Selvanathan
@ 2026-07-20 13:14 ` Casey Connolly
0 siblings, 0 replies; 2+ messages in thread
From: Casey Connolly @ 2026-07-20 13:14 UTC (permalink / raw)
To: Balaji Selvanathan, Sumit Garg, u-boot-qcom, u-boot
Cc: Neil Armstrong, Tom Rini, Varadarajan Narayanan, Aswin Murugan,
Quentin Schulz
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 <balaji.selvanathan@oss.qualcomm.com>
Thanks, nice to get this enabled!
Reviewed-by: Casey Connolly <casey.connolly@linaro.org>
> ---
> 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,
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-07-20 13:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-20 10:25 [PATCH] configs: qcom_defconfig: Enable EFI variable runtime storage Balaji Selvanathan
2026-07-20 13:14 ` Casey Connolly
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox