Dasharo / dasharo-issues

The Dasharo issue tracker
https://dasharo.com/
24 stars 0 forks source link

Integration of UEFI Variables into sortbootorder to Maintain Consistency Across Firmware Versions #865

Open pietrushnic opened 4 months ago

pietrushnic commented 4 months ago

The CBFS API has undergone significant changes that have necessitated updates to the sortbootorder codebase. Notably, certain boot options traditionally managed within sortbootorder have been migrated to UEFI Variables, impacting functionality when using both edk2 and SeaBIOS. The challenge is to update sortbootorder to parse these UEFI Variables to ensure a consistent configuration interface across different BIOS implementations.

Additional concerns have arisen during the integration process:

miczyg1 commented 3 months ago

I'm not sure if this is the right approach to use UEFI variables in the sortbootorder+SeaBIOS flavor. While accessing UEFI variables isn't a problem in coreboot, it will be in SeaBIOS. One would have to implement the UFI variables access in SeaBIOS to actually have the feature parity...

pietrushnic commented 3 months ago

@miczyg1 Yes, that's why I asked @krystian-hebel to review this issue since it was created based on his suggestions on the matrix. Or maybe I misunderstood something. We can treat this as a long-term proposal, which may be implemented in the long run. Nevertheless, the Dasharo Team should be aware of this idea in case synergy pops up later.