Skip to content

Commit

Permalink
Merge pull request #912 from Dasharo/preserve-user-data-during-update
Browse files Browse the repository at this point in the history
Preserve user data during update
  • Loading branch information
SergiiDmytruk authored Oct 2, 2024
2 parents 30c0df7 + 0f16476 commit b5b0447
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions docs/guides/capsule-update.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,21 @@ should have this feature enabled.
* _Firmware capsule_<br>
The firmware update capsule file itself. Should have `.cap` file extension.

## What's preserved by an update

| Type | Notes |
| --- | --- |
| SMMSTORE | holds UEFI Variables such as [settings](../dasharo-menu-docs/dasharo-system-features.md) or [boot order](../dasharo-menu-docs/boot-maintenance-mgr.md) |
| ROMHOLE | only on MSI |
| SMBIOS | unique data like serial number or UUID |
| boot logo | [set by the user](logo-customization.md) |

Preservation is done as a best effort. However some
firmware changes are expected (e.g., current custom
logo can be too large for the new firmware), thus a
failure to move data in some cases won’t necessarily
abort an update.

## How to use UEFI Update Capsules

!!! note
Expand All @@ -58,10 +73,6 @@ should have this feature enabled.
corresponding menu][me-menu] or switch it to that state before performing
an update.

!!! warning

Updating firmware resets firmware settings to their defaults.

1. Copy `CapsuleApp.efi` and `firmware.cap` files to a partition (the shorter
the path from the root, the easier it will be to find in the UEFI Shell).

Expand Down Expand Up @@ -108,8 +119,13 @@ should have this feature enabled.

Don't reboot or power off the device until the process is completed!

After a successful update, you should have an updated firmware with default
settings.
After either a successful or failed update, the machine should reboot
automatically. After that, if everything succeeded, you should have an
updated firmware with data migrated from the previous version.

!!! note

Since the settings were preserved, remember to re-enable Intel Management Engine after the update.

[me-menu]: ../dasharo-menu-docs/dasharo-system-features.md#intel-management-engine-options
[bmm]: ../dasharo-menu-docs/overview.md#boot-manager-menu
Expand Down
Binary file modified docs/images/uefi-capsule-update.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b5b0447

Please sign in to comment.