-
Notifications
You must be signed in to change notification settings - Fork 511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ampere: Add Platform Boot Manager, IPMI Boot Option, and Porting Guide #227
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bexcran
reviewed
Oct 23, 2024
Silicon/Ampere/AmpereSiliconPkg/Library/PlatformBootManagerLib/PlatformBm.h
Show resolved
Hide resolved
This sets NETWORK_TLS_ENABLE to TRUE to enable HTTPS boot. Signed-off-by: Nhi Pham <[email protected]>
This sets SECURE_BOOT_ENABLE to TRUE in the DSC file to enable the UEFI secure boot configuration support by default. Signed-off-by: Nhi Pham <[email protected]>
This fixes the error 'uninitialized variable' catched by clang compilation. Signed-off-by: Nhi Pham <[email protected]>
This introduces a PlatformBootManagerDxe driver, which implements the EDKII_PLATFORM_BOOT_MANAGER_PROTOCOL to enhance the presentation of boot options for the platform. The primary movitation behind this change is to provide a user-friendly boot experience by customizing the list of boot options generated by EDK2 boot manager. In addition, the driver filters out non-OS entries. This reduces unnecessary boot options, ensuring the boot menu is cleaner and less confusing. Signed-off-by: Nhi Pham <[email protected]>
This introduces a GUID for Ampere defined variables. Signed-off-by: Nhi Pham <[email protected]>
This introduces a GUID for the Ampere defined AfterConsole event, which serves as a notification that AfterConsole is ready before ReadyToBoot. This event is used to handle the IPMI boot order change request from BMC. Signed-off-by: Nhi Pham <[email protected]>
This clones the ArmPkg's PlatformBootManagerLib to modify for platform specific boot handler. The initial application is to create the Ampere defined AfterConsole event for integrating the IPMI boot order change handler. NOTE: There is no Ampere's modification in this patch. Signed-off-by: Nhi Pham <[email protected]>
This adds event creation for the AfterConsole event at the end of PlatformBootManagerAfterConsole function. At this point, all boot options are expected to be available for subsequent customization. Signed-off-by: Nhi Pham <[email protected]>
This introduces IpmiBootDxe which enables users to override the UEFI boot option via IPMI bootdev commands. As an example, it can be used to force the boot to the BIOS setup menu as the following commands: * ipmitool chassis bootdev * ipmitool chassis bootparam get 5 # to confirm the setting Signed-off-by: Nhi Pham <[email protected]>
This introduces PlatformPortingGuide.md document which provides detailed guidelines for Ampere Altra EDK2 porting process. Signed-off-by: Nhi Pham <[email protected]>
3b7fb14
to
470deb0
Compare
bexcran
approved these changes
Oct 28, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This introduces
Also, fixes for clang compiler.