Re: [EXTERNAL] Re: [edk2-discuss] [EXTERNAL] Re: [edk2-discuss] ESRT in OVMF


Tomas Pilar (tpilar)
 

HI Sandeep,

The EsrtDxe provides an API to add ESRT entries manually, you could
instrument that in SfcNicDriver actually - during controller binding check
if gEsrtManagementProtocolGuid is installed and if so, use the protocol to
add an entry for the FMP that you just installed. The EsrtFmpDxe is a
driver that enumerates all FMP instances and automatically generates ESRT
entries based on that. If it hangs there is a good chance that the
EsrtFmpDxe driver is hanging at the point when an FMP instance has been
just installed and an ESRT entry is being generated. The hang might have
something to do with the specific instance of the FMP. You could test this
by running OVMF with EsrtFmpDxe included but not passing in any devices
that install FMP instances.

Cheers,
Tom

On Thu, Jul 30, 2020 at 12:55 PM Sandeep Dhanvada <
sandeep.dhanvada@...> wrote:

Hi Tom,

I tried MdeModulePkg/Universal/EsrtFmpDxe, but booting hanged at selecting
Boot option.
I then used, MdeModulePkg/Universal/EsrtDxe/EsrtDxe.inf. There are no
issues observed in boot, but, still i am not able to update capsule.
CapsuleApp.efi was complaining that update image failed with status as
"Not Ready". Looks like QueryCapsule succeeded, but, UpdateCapsule failed.

Thanks,
Sandeep

Join discuss@edk2.groups.io to automatically receive all group messages.