ARM-software / ebbr

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

Make monotonic counter optional (was: Relax monotonic counter nonvolatility) #104

Closed vstehle closed 1 year ago

vstehle commented 1 year ago

Allow the high 32-bit part of the platform's monotonic counter to be volatile.

This is consistent with current U-Boot's implementation.

vstehle commented 1 year ago

Changing direction a bit as per the solution suggested by @apalos during the call of Mar 13 and make the monotonic counter optional:

Returning EFI_DEVICE_ERROR in GetNextMonotonicCount() does not prevent an OS to boot (this has been rapidly verified on U-Boot with Debian, Ubuntu, openSUSE and Fedora).

apalos commented 1 year ago

Acked-by: Ilias Apalodimas ilias.apalodimas@linaro.org