Hi Patrick, I don't think TCG PEI modules could be used as a library for BlSupportDxe. Since measured boot and verified boot are important and wide used in EDKII, I also plan to enable them as advanced features in UEFI payload.
Thanks, Guo > -----Original Message----- > From: Patrick Rudolph <patrick.rudo...@9elements.com> > Sent: Thursday, January 28, 2021 12:40 AM > To: Dong, Guo <guo.d...@intel.com> > Cc: You, Benjamin <benjamin....@intel.com>; Ma, Maurice > <maurice...@intel.com>; devel@edk2.groups.io > Subject: Re: [edk2-devel] [PATCH V2 1/1] UefiPayloadPkg: Remove PEI phase > from Payload > > Hi, > Modifying the bootloader and defining an interface could take a while > and requires to add code that's already present in EDK2. > Would it be possible to move the Tcg*Pei code to a Library, so that it > could be directly used by BlSupportDxe in order to set the PCDs? > > Kind Regards, > Patrick Rudolph > > On Wed, Jan 27, 2021 at 5:10 PM Dong, Guo <guo.d...@intel.com> wrote: > > > > > > Hi Patrick, > > Bootloader (coreboot or Slim Bootloader) is similar with EDKII PEI, so > measured boot should > > work without PEI phase in UEFI payload. > > In general, bootloader need pass required information to UEFI payload. > > BlSupportDxe could get these information and set required PCDs. > > > > We need well define the interface with bootloader on how to support > measured boot, > > Also including measured boot enable/disable, TPM log event, etc. > > > > Thanks, > > Guo > > > -----Original Message----- > > > From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Patrick > > > Rudolph > > > Sent: Tuesday, January 26, 2021 8:21 > > > To: Dong, Guo <guo.d...@intel.com> > > > Cc: You, Benjamin <benjamin....@intel.com>; devel@edk2.groups.io; Ma, > > > Maurice <maurice...@intel.com> > > > Subject: Re: [edk2-devel] [PATCH V2 1/1] UefiPayloadPkg: Remove PEI > phase > > > from Payload > > > > > > Hi, > > > I'm trying to rebase my TPM support patches for UefiPayloadPkg on top of > > > master. > > > > > > The Tcg*Dxe needs the following PCDs set by their Tcg*Pei counterparts: > > > * PcdTpm2HashMask > > > * PcdTcg2HashAlgorithmBitmap > > > * PcdTpmInstanceGuid > > > > > > As there's no PEI stage any more, how do you plan to support TPMs in > > > UefiPayloadPkg? > > > > > > Kind Regards, > > > Patrick Rudolph > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#70868): https://edk2.groups.io/g/devel/message/70868 Mute This Topic: https://groups.io/mt/78282656/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-