Cheng-Chieh, Thanks for the detailed explanation in doc https://docs.google.com/document/d/1mU6ICHTh0ot8U45uuRENKOGI8cVzizdyWHGYHpEguVg/edit#heading=h.xzptrog8pyxf.
My original thought was LinuxBoot is a payload that aims to boot OS. But the idea of chaining UefiPayload producing UEFI services is very brilliant. Have you considered to produce the universal payload interfaces (https://universalpayload.github.io/documentation/) from LinuxBoot so no LbParseLib is required? Thanks, Ray > -----Original Message----- > From: [email protected] <[email protected]> On Behalf Of Cheng-Chieh > Huang via groups.io > Sent: Wednesday, July 21, 2021 9:23 PM > To: [email protected] > Cc: Cheng-Chieh Huang <[email protected]>; Schaefer, Daniel > <[email protected]>; Trammell Hudson > <[email protected]>; Ma, Maurice <[email protected]>; Dong, Guo > <[email protected]>; You, Benjamin > <[email protected]> > Subject: [edk2-devel] [PATCH 0/6] UefiPayloadPkg: LinuxBoot Support in > UefiPayload > > These are necessary patches to Support LinuxBoot in UefiPayload. > With these paches, we can boot to ESXi and Windows from a linux in QEMU. > > LinuxBoot README: > https://github.com/linuxboot/edk2/blob/uefipayload/UefiPayloadPkg/README.md > > PR to tianocore: > https://github.com/tianocore/edk2/pull/1820 > > Cheng-Chieh Huang (5): > Add LINUXBOOT payload target > Use legacy timer in Linuxboot payload > Update maximum logic processor to 256 > Reserve Payload config in runtime services data > Add DISABLE_MMX_SSE to avoid generating floating points operation > > Trammell Hudson (1): > LinuxBoot: use a text format for the configuration block. > > UefiPayloadPkg/UefiPayloadPkg.dsc | 29 +- > UefiPayloadPkg/UefiPayloadPkg.fdf | 5 + > .../Library/LbParseLib/LbParseLib.inf | 39 ++ > UefiPayloadPkg/Include/Linuxboot.h | 58 +++ > .../Library/LbParseLib/LbParseLib.c | 348 ++++++++++++++++++ > .../PciHostBridgeLib/PciHostBridgeSupport.c | 6 +- > .../UefiPayloadEntry/UefiPayloadEntry.c | 2 + > CryptoPkg/Library/OpensslLib/openssl | 2 +- > 8 files changed, 480 insertions(+), 9 deletions(-) > create mode 100644 UefiPayloadPkg/Library/LbParseLib/LbParseLib.inf > create mode 100644 UefiPayloadPkg/Include/Linuxboot.h > create mode 100644 UefiPayloadPkg/Library/LbParseLib/LbParseLib.c > > Cc: Cheng-Chieh Huang <[email protected]> > Cc: Daniel Schaefer <[email protected]> > Cc: Trammell Hudson <[email protected]> > Cc: Maurice Ma <[email protected]> > Cc: Guo Dong <[email protected]> > Cc: Benjamin You <[email protected]> > -- > 2.32.0.402.g57bb445576-goog > > > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#78048): https://edk2.groups.io/g/devel/message/78048 Mute This Topic: https://groups.io/mt/84357532/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
