-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add support for iPXE and make Dasharo netwok boot menu work #101
Conversation
Extedn OvmfPkgX64 DSC and FDF to support adding externally build ipxe.efi file in similar way as other Dasharo supported platforms do. This patch requires improvements in PlatformBootmanagerLib to register bootable iPXE option. Despite it does not have that yet it is first step to enable iPXE support in Dasharo EDK II for QEMU Q35. In long run it should allow enabling other Dasharo System Features like enabling/disabling network stack. Signed-off-by: Piotr Król <[email protected]>
OvmfPkg implementation of PlatformBootManagerLib was different than UefiPayloadPkg implementation, becuase of that there were problems in porting one to one code that register and unregister iPXE file as boot option. PlatformBootManagerLib PlatformRegisterFvBootOption gined BootNow parameter and PlatformUnregisterFvBootOption function. Signed-off-by: Piotr Król <[email protected]>
* Add ipxe.efi to the firmware volume. * Based on NetBootEnable UEFI variable register or unregister iPXE as boot option. Signed-off-by: Piotr Król <[email protected]>
6714500
to
aeb5207
Compare
Add support to build ipxe.efi and use it in Dasharo (UEFI) build for QEMU Q35. Signed-off-by: Piotr Król <[email protected]>
aeb5207
to
bcc97a6
Compare
Signed-off-by: Piotr Król <[email protected]>
Provide gUefiPayloadPkgTokenSpaceGuid.PcdiPXEOptionName PCD as build time option in ./github/scripts/build-qemu.sh Signed-off-by: Piotr Król <[email protected]>
Signed-off-by: Piotr Król <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No actual code review on my side. I can just confirm that with the build I took from CI I could run these two tests using iPXE: Dasharo/open-source-firmware-validation@2b55fd5
@macpijan do you think we need a detailed review? Who can do that? |
@pietrushnic It looks to me that @miczyg1 already looked into that and when we resolve open thread I think we are good to move forward. |
Remove iPXE option name as built time paramater to keep Dasharo (UEFI) build for QEMU Q35 as close to UefiPayloadPkg as possible. Signed-off-by: Piotr Król <[email protected]>
Fixes: Dasharo/dasharo-issues#543