Skip to content

Conversation

@kat-perez
Copy link
Contributor

@kat-perez kat-perez commented Dec 16, 2025

Description

(This is still WIP, so review at your own discretion)

Adds BootOrchestration component, simple console discovery, simple BootOption Config

  • Impacts functionality?
  • Impacts security?
  • Breaking change?
  • Includes tests?
  • Includes documentation?

How This Was Tested

QEMU Platform Integration:

  • Q35
  • SBSA

Integration Instructions

N/A

@kat-perez kat-perez self-assigned this Dec 16, 2025
@codecov
Copy link

codecov bot commented Dec 16, 2025

Copy link
Collaborator

@Javagedes Javagedes left a comment

Choose a reason for hiding this comment

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

Just a few comments

@@ -0,0 +1,311 @@
//! Library functions for boot orchestration.
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: Not a big fan of calling this module "library" considering it is a sub-module of "lib.rs". I don't really have a suggestion for a better module name but would ask that it is updated.

repository.workspace = true
license.workspace = true
edition.workspace = true
description = "Boot orchestration components for Patina firmware."
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please add a readme file, even if it is basically empty :)

/// 4. Signal ReadyToBoot
/// 5. Execute boot options from config
/// 6. If all boot options fail, call failure handler
fn entry_point(
Copy link
Collaborator

Choose a reason for hiding this comment

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

From the looks of this, this will be triggered immediately, well before you are ready, as there is no function parameter that is not immediately available. You will need something to signal that this component should be executed.

Additionally, How does this interact with call_bds ? and the BDS protocol? Might be a conversation for the RFC.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

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.

2 participants