On 12/05/14 19:17, Laszlo Ersek wrote:
> Changes in v2:
> - The DTB bindings have been updated ("standardized") for patch #1.
> (Changes are mentioned there in a bit more detail.)
>
> V1 was posted at
> <http://thread.gmane.org/gmane.comp.bios.tianocore.devel/11493/focus=11497>.
> Quoting the blurb:
>
>> The series
>> - adds a DTB- and MMIO-based fw_cfg client library to the
>> ArmVirtualizationQemu platform (patches #1 and #2),
>>
>> - makes OvmfPkg's OpenFirmware to UEFI devpath translation logic
>> reusable for the ArmVirtualizationQemu platform, making the
>> virtio-pci specific bits conditional (patches #5 and #6),
>>
>> - introduces (similarly conditional) coverage for virtio-mmio device
>> paths (patches #7, #8, #9, #10),
>>
>> - introduces a new Intel BDS boot policy for ArmVirtualizationQemu
>> that considers the QEMU boot order, similarly to OVMF (patches #3,
>> #4, #11),
>>
>> - somewhat independently, ensures that the UEFI shell is always
>> present as a boot option (patch #12).
>>
>> The patches are interleaved in a "demand driven" order, showing the
>> dependencies between ArmVirtualizationPkg and OvmfPkg.
>> ArmVirtualizationPkg takes the edges, providing the low level fw_cfg
>> client service and consuming the top-level feature, whereas OvmfPkg
>> sits in the middle, consuming the fw_cfg capability and providing the
>> boot order logic.
>
> Here's an inter-series dependency map:
>
> kernel qemu edk2 topic
> ------ ---- ---- --------------------------------------------------
> [0] device tree binding spec for the fw_cfg device
> ^
> |
> +------[1]<--[2] fw_cfg device implementation
> ^ ^ and bootorder handling
> | |
> | |
> [3]<--[4] -kernel / -initrd / -append booting on top of UEFI
>
>
> [0] http://thread.gmane.org/gmane.linux.drivers.devicetree/101276
> [kernel PATCH v2 0/2] devicetree: document ARM bindings for QEMU's
> Firmware Config interface
>
> ACKed by Peter, queued by Rob Herring
>
> [1] http://thread.gmane.org/gmane.comp.emulators.qemu/308650
> [qemu-devel] [PATCH v2] arm: add fw_cfg to "virt" board
>
> pending review
>
> [2] this patchset
>
> [edk2] [PATCH v2 00/12] consume fw_cfg boot order in
> ArmVirtualizationQemu
>
> [3] to be posted
>
> [4] to be posted
>
> Thanks
> Laszlo
>
> Laszlo Ersek (12):
> ArmVirtualizationPkg: VirtFdtDxe: forward FwCfg addresses from DTB to
> PCDs
> ArmVirtualizationPkg: introduce QemuFwCfgLib instance for DXE drivers
> ArmVirtualizationPkg: clone PlatformIntelBdsLib from ArmPlatformPkg
> ArmVirtualizationPkg: PlatformIntelBdsLib: add basic policy
> OvmfPkg: extract QemuBootOrderLib
> OvmfPkg: QemuBootOrderLib: featurize PCI-like device path translation
> OvmfPkg: introduce VIRTIO_MMIO_TRANSPORT_GUID
> ArmVirtualizationPkg: VirtFdtDxe: use dedicated
> VIRTIO_MMIO_TRANSPORT_GUID
> OvmfPkg: QemuBootOrderLib: widen ParseUnitAddressHexList() to UINT64
> OvmfPkg: QemuBootOrderLib: OFW-to-UEFI translation for virtio-mmio
> ArmVirtualizationPkg: PlatformIntelBdsLib: adhere to QEMU's boot order
> ArmVirtualizationPkg: identify "new shell" as builtin shell for Intel
> BDS
>
>
> ArmPlatformPkg/ArmVirtualizationPkg/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf
> | 67 ++++++++++
> ArmPlatformPkg/ArmVirtualizationPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf
> | 52 ++++++++
> ArmPlatformPkg/ArmVirtualizationPkg/VirtFdtDxe/VirtFdtDxe.inf
> | 5 +-
> OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
> | 3 +-
> OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
> | 59 +++++++++
>
> ArmPlatformPkg/ArmVirtualizationPkg/Library/PlatformIntelBdsLib/IntelBdsPlatform.h
> | 41 ++++++
> OvmfPkg/Include/Guid/VirtioMmioTransport.h
> | 25 ++++
> OvmfPkg/{Library/PlatformBdsLib/QemuBootOrder.h =>
> Include/Library/QemuBootOrderLib.h} | 6 +-
>
> ArmPlatformPkg/ArmVirtualizationPkg/Library/PlatformIntelBdsLib/IntelBdsPlatform.c
> | 390 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
> ArmPlatformPkg/ArmVirtualizationPkg/Library/QemuFwCfgLib/QemuFwCfgLib.c
> | 326 +++++++++++++++++++++++++++++++++++++++++++++
> ArmPlatformPkg/ArmVirtualizationPkg/VirtFdtDxe/VirtFdtDxe.c
> | 28 +++-
> OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c
> | 2 +-
> OvmfPkg/Library/{PlatformBdsLib/QemuBootOrder.c =>
> QemuBootOrderLib/QemuBootOrderLib.c} | 299
> +++++++++++++++++++++++++++++++++++++----
> ArmPlatformPkg/ArmVirtualizationPkg/ArmVirtualizationPkg.dec
> | 3 +
> ArmPlatformPkg/ArmVirtualizationPkg/ArmVirtualizationQemu.dsc
> | 13 +-
> OvmfPkg/OvmfPkg.dec
> | 8 ++
> OvmfPkg/OvmfPkgIa32.dsc
> | 1 +
> OvmfPkg/OvmfPkgIa32X64.dsc
> | 1 +
> OvmfPkg/OvmfPkgX64.dsc
> | 1 +
> 19 files changed, 1299 insertions(+), 31 deletions(-)
> create mode 100644
> ArmPlatformPkg/ArmVirtualizationPkg/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf
> create mode 100644
> ArmPlatformPkg/ArmVirtualizationPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf
> create mode 100644 OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
> create mode 100644
> ArmPlatformPkg/ArmVirtualizationPkg/Library/PlatformIntelBdsLib/IntelBdsPlatform.h
> create mode 100644 OvmfPkg/Include/Guid/VirtioMmioTransport.h
> rename OvmfPkg/{Library/PlatformBdsLib/QemuBootOrder.h =>
> Include/Library/QemuBootOrderLib.h} (91%)
> create mode 100644
> ArmPlatformPkg/ArmVirtualizationPkg/Library/PlatformIntelBdsLib/IntelBdsPlatform.c
> create mode 100644
> ArmPlatformPkg/ArmVirtualizationPkg/Library/QemuFwCfgLib/QemuFwCfgLib.c
> rename OvmfPkg/Library/{PlatformBdsLib/QemuBootOrder.c =>
> QemuBootOrderLib/QemuBootOrderLib.c} (77%)
>
Sending a new, fused version, with updates.
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel