[edk2-devel] [PATCH 0/5] FmpDevicePkg: Add support for runtime FmpDxe driver

Bob Morgan via groups.io posted 5 patches 2 years, 7 months ago
Failed in applying to current master (apply log)
FmpDevicePkg/FmpDevicePkg.dsc                 |  29 +++
FmpDevicePkg/FmpDxe/FmpDxe.c                  |  34 +++-
FmpDevicePkg/FmpDxe/FmpRuntimeDxe.c           | 185 ++++++++++++++++++
FmpDevicePkg/FmpDxe/FmpRuntimeDxe.inf         |  87 ++++++++
FmpDevicePkg/FmpDxe/VariableSupport.c         |   7 +
.../FmpDependencyCheckLibNull.inf             |   2 +-
.../FmpDependencyDeviceLibNull.inf            |   2 +-
.../FmpDeviceLibNull/FmpDeviceLibNull.inf     |   2 +-
.../FmpPayloadHeaderLibV1.inf                 |   2 +-
9 files changed, 336 insertions(+), 14 deletions(-)
create mode 100644 FmpDevicePkg/FmpDxe/FmpRuntimeDxe.c
create mode 100644 FmpDevicePkg/FmpDxe/FmpRuntimeDxe.inf
[edk2-devel] [PATCH 0/5] FmpDevicePkg: Add support for runtime FmpDxe driver
Posted by Bob Morgan via groups.io 2 years, 7 months ago
Adds a runtime version of FmpDxe driver to allow firmware updates
after ExitBootServices() is called and enables DXE_RUNTIME_DRIVER
module type for associated FMP libraries.

Bob Morgan (5):
  FmpDevicePkg/FmpDeviceLibNull: Add DXE_RUNTIME_DRIVER support
  FmpDevicePkg/FmpPayloadHeaderLibV1: Add DXE_RUNTIME_DRIVER support
  FmpDevicePkg/FmpDependencyCheckLibNull: Add DXE_RUNTIME_DRIVER support
  FmpDevicePkg/FmpDependencyDeviceLibNull: Add DXE_RUNTIME_DRIVER
    support
  FmpDevicePkg/FmpDxe: Add runtime FmpDxe driver

 FmpDevicePkg/FmpDevicePkg.dsc                 |  29 +++
 FmpDevicePkg/FmpDxe/FmpDxe.c                  |  34 +++-
 FmpDevicePkg/FmpDxe/FmpRuntimeDxe.c           | 185 ++++++++++++++++++
 FmpDevicePkg/FmpDxe/FmpRuntimeDxe.inf         |  87 ++++++++
 FmpDevicePkg/FmpDxe/VariableSupport.c         |   7 +
 .../FmpDependencyCheckLibNull.inf             |   2 +-
 .../FmpDependencyDeviceLibNull.inf            |   2 +-
 .../FmpDeviceLibNull/FmpDeviceLibNull.inf     |   2 +-
 .../FmpPayloadHeaderLibV1.inf                 |   2 +-
 9 files changed, 336 insertions(+), 14 deletions(-)
 create mode 100644 FmpDevicePkg/FmpDxe/FmpRuntimeDxe.c
 create mode 100644 FmpDevicePkg/FmpDxe/FmpRuntimeDxe.inf

-- 
2.17.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#80996): https://edk2.groups.io/g/devel/message/80996
Mute This Topic: https://groups.io/mt/85803606/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-


回复: [edk2-devel] [PATCH 0/5] FmpDevicePkg: Add support for runtime FmpDxe driver
Posted by gaoliming 2 years, 7 months ago
Bob:
  Dose this change make FirmwareManagementProtocol to be used in runtime
phase?

Thanks
Liming
> -----邮件原件-----
> 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Bob Morgan
> via groups.io
> 发送时间: 2021年9月23日 8:00
> 收件人: devel@edk2.groups.io
> 抄送: gaoliming@byosoft.com.cn; michael.d.kinney@intel.com;
> guomin.jiang@intel.com; wei6.xu@intel.com; Bob Morgan
> <bobm@nvidia.com>
> 主题: [edk2-devel] [PATCH 0/5] FmpDevicePkg: Add support for runtime
> FmpDxe driver
> 
> Adds a runtime version of FmpDxe driver to allow firmware updates
> after ExitBootServices() is called and enables DXE_RUNTIME_DRIVER
> module type for associated FMP libraries.
> 
> Bob Morgan (5):
>   FmpDevicePkg/FmpDeviceLibNull: Add DXE_RUNTIME_DRIVER support
>   FmpDevicePkg/FmpPayloadHeaderLibV1: Add DXE_RUNTIME_DRIVER
> support
>   FmpDevicePkg/FmpDependencyCheckLibNull: Add DXE_RUNTIME_DRIVER
> support
>   FmpDevicePkg/FmpDependencyDeviceLibNull: Add
> DXE_RUNTIME_DRIVER
>     support
>   FmpDevicePkg/FmpDxe: Add runtime FmpDxe driver
> 
>  FmpDevicePkg/FmpDevicePkg.dsc                 |  29 +++
>  FmpDevicePkg/FmpDxe/FmpDxe.c                  |  34 +++-
>  FmpDevicePkg/FmpDxe/FmpRuntimeDxe.c           | 185
> ++++++++++++++++++
>  FmpDevicePkg/FmpDxe/FmpRuntimeDxe.inf         |  87 ++++++++
>  FmpDevicePkg/FmpDxe/VariableSupport.c         |   7 +
>  .../FmpDependencyCheckLibNull.inf             |   2 +-
>  .../FmpDependencyDeviceLibNull.inf            |   2 +-
>  .../FmpDeviceLibNull/FmpDeviceLibNull.inf     |   2 +-
>  .../FmpPayloadHeaderLibV1.inf                 |   2 +-
>  9 files changed, 336 insertions(+), 14 deletions(-)
>  create mode 100644 FmpDevicePkg/FmpDxe/FmpRuntimeDxe.c
>  create mode 100644 FmpDevicePkg/FmpDxe/FmpRuntimeDxe.inf
> 
> --
> 2.17.1
> 
> 
> 
> 
> 





-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#81057): https://edk2.groups.io/g/devel/message/81057
Mute This Topic: https://groups.io/mt/85829335/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [edk2-devel] [PATCH 0/5] FmpDevicePkg: Add support for runtime FmpDxe driver
Posted by Bob Morgan via groups.io 2 years, 7 months ago
Hi Liming,

Yes, this adds a new runtime variation of the FmpDxe driver that can process the FMP payload of a capsule at runtime if the capsule flags do not request PERSIST_ACROSS_RESET and INITIATE_RESET.  

There are also changes required to DxeCapsuleLibFmp to enable this runtime FMP processing that I will submit separately.

Thanks,

-bob

-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of gaoliming via groups.io
Sent: Thursday, September 23, 2021 6:57 PM
To: devel@edk2.groups.io; Bob Morgan <bobm@nvidia.com>
Cc: michael.d.kinney@intel.com; guomin.jiang@intel.com; wei6.xu@intel.com
Subject: 回复: [edk2-devel] [PATCH 0/5] FmpDevicePkg: Add support for runtime FmpDxe driver

External email: Use caution opening links or attachments


Bob:
  Dose this change make FirmwareManagementProtocol to be used in runtime phase?

Thanks
Liming
> -----邮件原件-----
> 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Bob Morgan via 
> groups.io
> 发送时间: 2021年9月23日 8:00
> 收件人: devel@edk2.groups.io
> 抄送: gaoliming@byosoft.com.cn; michael.d.kinney@intel.com; 
> guomin.jiang@intel.com; wei6.xu@intel.com; Bob Morgan 
> <bobm@nvidia.com>
> 主题: [edk2-devel] [PATCH 0/5] FmpDevicePkg: Add support for runtime 
> FmpDxe driver
>
> Adds a runtime version of FmpDxe driver to allow firmware updates 
> after ExitBootServices() is called and enables DXE_RUNTIME_DRIVER 
> module type for associated FMP libraries.
>
> Bob Morgan (5):
>   FmpDevicePkg/FmpDeviceLibNull: Add DXE_RUNTIME_DRIVER support
>   FmpDevicePkg/FmpPayloadHeaderLibV1: Add DXE_RUNTIME_DRIVER support
>   FmpDevicePkg/FmpDependencyCheckLibNull: Add DXE_RUNTIME_DRIVER 
> support
>   FmpDevicePkg/FmpDependencyDeviceLibNull: Add DXE_RUNTIME_DRIVER
>     support
>   FmpDevicePkg/FmpDxe: Add runtime FmpDxe driver
>
>  FmpDevicePkg/FmpDevicePkg.dsc                 |  29 +++
>  FmpDevicePkg/FmpDxe/FmpDxe.c                  |  34 +++-
>  FmpDevicePkg/FmpDxe/FmpRuntimeDxe.c           | 185
> ++++++++++++++++++
>  FmpDevicePkg/FmpDxe/FmpRuntimeDxe.inf         |  87 ++++++++
>  FmpDevicePkg/FmpDxe/VariableSupport.c         |   7 +
>  .../FmpDependencyCheckLibNull.inf             |   2 +-
>  .../FmpDependencyDeviceLibNull.inf            |   2 +-
>  .../FmpDeviceLibNull/FmpDeviceLibNull.inf     |   2 +-
>  .../FmpPayloadHeaderLibV1.inf                 |   2 +-
>  9 files changed, 336 insertions(+), 14 deletions(-)  create mode 
> 100644 FmpDevicePkg/FmpDxe/FmpRuntimeDxe.c
>  create mode 100644 FmpDevicePkg/FmpDxe/FmpRuntimeDxe.inf
>
> --
> 2.17.1
>
>
>
>
>










-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#81060): https://edk2.groups.io/g/devel/message/81060
Mute This Topic: https://groups.io/mt/85830738/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-