~/talk

UEFI Setvariable at runtime -- Problems status and solutions

links:none on file
slides:none on file

A patchset enables SetVariable at runtime by sandboxing standalone MM inside OP-TEE, using the eMMC RPMB as tamper‑resistant backing store, and running a user‑space supplicant that the kernel discovers and swaps into the runtime callbacks, then remounts efivarfs read‑write. It demonstrably supports secure‑boot variable updates and capsule updates but is slow, complex, and violates the EFI spec because it depends on a userspace path. Proposed fixes: move the supplicant into kernel space or teach OP‑TEE to access MMC directly; fallback is a standardized file/partition backing.

AI-written summary · about

  1. 0:00Introduction to UEFI in embedded
  2. 1:04EFI variables and runtime challenges
  3. 3:09Runtime variable limitations and use cases
  4. 4:56RPMB storage and OP-TEE integration
  5. 7:21Problems with runtime set variable implementation
  6. 9:06OP-TEE discoverable bus and supplicant tweaks
  7. 10:51Benefits and drawbacks of the RPMB solution
  8. 12:58File-based variable storage proposal
  9. 16:06Comparison with x86 firmware storage
  10. 21:02Synchronous updates vs staged memory approach
  11. 23:30Hardware limitations and SPI flash alternatives
  12. 26:52Security trade-offs and fallback mechanisms
  13. 29:03EBBR compliance and secure boot considerations
  14. 31:10Standardized file format for variables
  15. 33:56Kernel-based file access for variables
  16. 34:59Hardware support gaps and industry delays
  17. 36:32Future directions and kernel implementation
  18. 39:00Q&A and open discussion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.