ARM-software / ebbr

Embedded Base Boot Requirements Specification
Creative Commons Attribution Share Alike 4.0 International
115 stars 37 forks source link

File Format For Storing EFI Variables #102

Closed xypron closed 1 year ago

xypron commented 1 year ago

Some UEFI enabled devices can only store EFI variables as a file on a block device. This implies that at runtime the operating system must manage changes to the EFI variable by updating the file.

Define a file-format for EFI variables that both the firmware and the operating system can rely on.

Signed-off-by: Heinrich Schuchardt heinrich.schuchardt@canonical.com

jluebbe commented 1 year ago

Should there be some guidance on how atomic updates to this file must be done?

vstehle commented 1 year ago

Related with comment from @jluebbe

Should there be some guidance on how atomic updates to this file must be done?

Etienne: update from the OS; what happens in case of corruption? Fallback copy? A comment was posted on a similar topic. Add a recommendation how to update in the best way?