Re: UefiPayloadPkg: assert error in PciHostBridgeDxe


King Sumo
 

For anyone having this issue,the below patch detects the error in PciHostBridge aperture, from 9elements github repository: https://github.com/9elements/edk2-1/commit/6be829a631e3e0e7f6043c88cfef33f9a0588298
 
also available in system76 repo: https://github.com/system76/edk2.git
 
commit cf6caab535e84e5d3b3f1462d7ad57c7a914a5b8
Author: Patrick Rudolph <patrick.rudolph@...>
Date: Mon Oct 12 07:55:44 2020 -0600
 
UefiPayloadPkg/Library/PciHostBridgeLib: Add warning for coreboot/EDK2 incompability
 
EDK2 expects PCI bars to be continously be allocated without "gaps" of reserverd
memory in between.
coreboot places PCI bars anyware in the PCI MMIO space, interleaved with MMCONF
and reserved I/O MMIO space.
 
Warn about this behaviour and refuse to add the BAR to the PCI aperature as it would
cause the PciHostBridgeDxe fo fail.
 
Signed-off-by: Patrick Rudolph <patrick.rudolph@...>

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