Skip to content

Allow multiple boot attempts in event log extraction.#24

Merged
jkl73 merged 4 commits intogoogle:mainfrom
vbalain:main
Feb 25, 2026
Merged

Allow multiple boot attempts in event log extraction.#24
jkl73 merged 4 commits intogoogle:mainfrom
vbalain:main

Conversation

@vbalain
Copy link
Contributor

@vbalain vbalain commented Feb 17, 2026

This change introduces support for the "Returning from EFI Application from Boot Option" event, which indicates a failed boot attempt. Seeing this event resets the state, allowing for subsequent "Calling EFI Application from Boot Option" events. This is necessary for hardware that may attempt to boot from multiple devices.
A separator event is now required to be preceded by at least one "Calling EFI Application" event. In case boot attempt events are omitted (EV_OMIT_BOOT_DEVICE_EVENTS) by firmware, then the library would throw an error of seeing a separator event without a calling EFI app event, but prioritizing support of multiple boot attempts over device events omission.

Referenced from Section 10.4.4 EV_EFI_ACTION Event Types from TCG doc- https://trustedcomputinggroup.org/wp-content/uploads/TCG-PC-Client-PFP-Version-1.06-Revision-49_31July2023.pdf

This change introduces support for the "Returning from EFI Application from Boot Option"
event, which indicates a failed boot attempt. Seeing this event resets the state, allowing
for subsequent "Calling EFI Application from Boot Option" events. This is necessary for
hardware that may attempt to boot from multiple devices. Additionally, a separator event
is now required to be preceded by at least one "Calling EFI Application" event.

Referenced from Section 10.4.4 EV_EFI_ACTION Event Types from TCG doc- https://trustedcomputinggroup.org/wp-content/uploads/TCG-PC-Client-PFP-Version-1.06-Revision-49_31July2023.pdf
Copy link
Collaborator

@alexmwu alexmwu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR needs an example CCEL and happy path/failure tests running against it that.

@vbalain
Copy link
Contributor Author

vbalain commented Feb 20, 2026

This PR needs an example CCEL and happy path/failure tests running against it that.

Updated.

@jkl73 jkl73 merged commit 31e9513 into google:main Feb 25, 2026
8 checks passed
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