Skip to content

[Backport wrynose] u-boot-qcom: enable EFI runtime variable store for efivar#2608

Merged
Ricardo Salveti (ricardosalveti) merged 1 commit into
wrynosefrom
backport/2513-to-wrynose
Jul 2, 2026
Merged

[Backport wrynose] u-boot-qcom: enable EFI runtime variable store for efivar#2608
Ricardo Salveti (ricardosalveti) merged 1 commit into
wrynosefrom
backport/2513-to-wrynose

Conversation

@quic-yocto-ci

Copy link
Copy Markdown
Contributor

Description

Backport of #2513 to wrynose.

Enable CONFIG_EFI_RT_VOLATILE_STORE so U-Boot supports SetVariable at
runtime on its in-RAM EFI variable backend. With this U-Boot advertises
EFI_RT_SUPPORTED_SET_VARIABLE in the RT properties table and creates the
RTStorageVolatile and VarToFile EFI variables.

These variables are what userspace needs to persist runtime EFI variable
changes: RTStorageVolatile names the variable store file relative to the
ESP (ubootefi.var) and VarToFile holds the binary dump of the variables
to write back. The efivar SetVariableRT backport in oe-core uses them to
sync changes to the ESP so they survive reboots; without this option
SetVariable at runtime returns EFI_UNSUPPORTED and efivar cannot work.

CONFIG_EFI_RT_VOLATILE_STORE depends on CONFIG_EFI_VARIABLE_FILE_STORE,
so select that explicitly in the fragment to keep the option from being
silently dropped should the dependency default ever change.

Signed-off-by: Ricardo Salveti <ricardo.salveti@oss.qualcomm.com>
(cherry picked from commit 038895c)
@github-actions

Copy link
Copy Markdown

Test run workflow

Test jobs for commit 5b6bed9

nodistro
Pass: 9 | Fail: 0 | Total: 9
qcom-distro_linux-qcom-next
Pass: 9 | Fail: 1 | Total: 10
qcom-distro
Pass: 198 | Fail: 0 | Total: 237

@test-reporting-app

test-reporting-app Bot commented Jun 25, 2026

Copy link
Copy Markdown

Test Results

  105 files  +   46    634 suites  +365   5h 5m 16s ⏱️ + 2h 28m 3s
  125 tests +   20    125 ✅ +   24   0 💤 ± 0  0 ❌  - 4 
6 037 runs  +3 509  5 958 ✅ +3 476  79 💤 +41  0 ❌  - 8 

Results for commit 5b6bed9. ± Comparison against base commit c1b7d13.

♻️ This comment has been updated with latest results.

@github-actions

Copy link
Copy Markdown

Test run workflow

Test jobs for commit 5b6bed9

nodistro
Pass: 9 | Fail: 0 | Total: 9
qcom-distro_linux-qcom-next
Pass: 254 | Fail: 3 | Total: 297
qcom-distro
Pass: 211 | Fail: 0 | Total: 250

@github-actions

Copy link
Copy Markdown

Test run workflow

Test jobs for commit 5b6bed9

nodistro
Pass: 9 | Fail: 0 | Total: 9
qcom-distro_linux-qcom-next
Pass: 256 | Fail: 1 | Total: 297
qcom-distro
Pass: 211 | Fail: 0 | Total: 250

@ricardosalveti Ricardo Salveti (ricardosalveti) merged commit 2729f39 into wrynose Jul 2, 2026
253 of 254 checks passed
@ricardosalveti Ricardo Salveti (ricardosalveti) deleted the backport/2513-to-wrynose branch July 2, 2026 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants