From: "Sami Mujawar via groups.io" <sami.mujawar=arm.com@groups.io>
To: Tuan Phan <tphan@ventanamicro.com>,
"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "andyw@imsa.edu" <andyw@imsa.edu>,
"maobibo@loongson.cn" <maobibo@loongson.cn>,
"lichao@loongson.cn" <lichao@loongson.cn>,
"kraxel@redhat.com" <kraxel@redhat.com>,
"jiewen.yao@intel.com" <jiewen.yao@intel.com>,
"leif.lindholm@oss.qualcomm.com" <leif.lindholm@oss.qualcomm.com>,
"sunilvl@ventanamicro.com" <sunilvl@ventanamicro.com>,
"ardb+tianocore@kernel.org" <ardb+tianocore@kernel.org>,
"lixianglai@loongson.cn" <lixianglai@loongson.cn>,
Tuan Phan <tphan@ventanamicro.com>
Subject: Re: [edk2-devel] [PATCH 0/3] OvmfPkg/RiscVVirt: Add support for Capsule Firmware Upgrade
Date: Tue, 22 Apr 2025 09:01:05 +0000 [thread overview]
Message-ID: <AS8PR08MB68067C6524A78735B41043FE84BB2@AS8PR08MB6806.eurprd08.prod.outlook.com> (raw)
In-Reply-To: <20250421165819.18451-1-tphan@ventanamicro.com>
[-- Attachment #1: Type: text/plain, Size: 5026 bytes --]
Hi Tuan,
EDK2 has moved to a Github Pull Request model for code reviews and merge.
Is there a PR for this patch series? If not, can you create a PR, please?
Regards,
Sami Mujawar
From: Tuan Phan <tphan@ventanamicro.com>
Date: Monday, 21 April 2025 at 17:58
To: devel@edk2.groups.io <devel@edk2.groups.io>
Cc: andyw@imsa.edu <andyw@imsa.edu>, maobibo@loongson.cn <maobibo@loongson.cn>, lichao@loongson.cn <lichao@loongson.cn>, kraxel@redhat.com <kraxel@redhat.com>, jiewen.yao@intel.com <jiewen.yao@intel.com>, leif.lindholm@oss.qualcomm.com <leif.lindholm@oss.qualcomm.com>, Sami Mujawar <Sami.Mujawar@arm.com>, sunilvl@ventanamicro.com <sunilvl@ventanamicro.com>, ardb+tianocore@kernel.org <ardb+tianocore@kernel.org>, lixianglai@loongson.cn <lixianglai@loongson.cn>, Tuan Phan <tphan@ventanamicro.com>
Subject: [PATCH 0/3] OvmfPkg/RiscVVirt: Add support for Capsule Firmware Upgrade
This patch series introduces capsule-based firmware upgrade support
for the RISC-V Virt platform.
Changes:
- Moved low level NOR flash functions to a seperate library.
- Implemented capsule firmware upgrade support.
Tuan Phan (3):
OvmfPkg/VirtNorFlash: Move low level NOR flash functions into library
ArmVirtPkg: Link all targets to the new VirtNorFlashDeviceLib
OvmfPkg/RiscVVirt: Add support for Capsule Firmware Upgrade
ArmVirtPkg/ArmVirtKvmTool.dsc | 1 +
ArmVirtPkg/ArmVirtQemu.dsc | 1 +
ArmVirtPkg/ArmVirtQemuKernel.dsc | 1 +
.../Include/Library/VirtNorFlashDeviceLib.h | 201 +++++
.../VirtNorFlashDeviceLib.c} | 411 ++++++----
.../VirtNorFlashDeviceLib.inf | 30 +
OvmfPkg/LoongArchVirt/LoongArchVirtQemu.dsc | 5 +-
OvmfPkg/OvmfPkg.ci.yaml | 3 +-
OvmfPkg/OvmfPkg.dec | 4 +
.../Capsule/GenerateCapsule/GenCapsule.py | 332 ++++++++
.../CapsuleUpdatePolicyLib.c | 121 +++
.../CapsuleUpdatePolicyLib.inf | 29 +
.../CapsuleUpdatePolicyLib.uni | 12 +
.../Library/FmpDeviceLib/FmpDeviceLib.c | 774 ++++++++++++++++++
.../Library/FmpDeviceLib/FmpDeviceLib.inf | 46 ++
.../PlatformFlashAccessLib.c | 236 ++++++
.../PlatformFlashAccessLib.h | 95 +++
.../PlatformFlashAccessLib.inf | 34 +
OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc | 44 +-
OvmfPkg/RiscVVirt/RiscVVirtQemu.fdf | 5 +
OvmfPkg/RiscVVirt/RiscVVirtSystemFW.dsc.inc | 61 ++
OvmfPkg/VirtNorFlashDxe/VirtNorFlash.h | 345 --------
OvmfPkg/VirtNorFlashDxe/VirtNorFlashDxe.c | 180 +---
OvmfPkg/VirtNorFlashDxe/VirtNorFlashDxe.h | 156 ++++
OvmfPkg/VirtNorFlashDxe/VirtNorFlashDxe.inf | 3 +-
OvmfPkg/VirtNorFlashDxe/VirtNorFlashFvb.c | 53 +-
26 files changed, 2538 insertions(+), 645 deletions(-)
create mode 100644 OvmfPkg/Include/Library/VirtNorFlashDeviceLib.h
rename OvmfPkg/{VirtNorFlashDxe/VirtNorFlash.c => Library/VirtNorFlashDeviceLib/VirtNorFlashDeviceLib.c} (63%)
create mode 100644 OvmfPkg/Library/VirtNorFlashDeviceLib/VirtNorFlashDeviceLib.inf
create mode 100644 OvmfPkg/RiscVVirt/Feature/Capsule/GenerateCapsule/GenCapsule.py
create mode 100644 OvmfPkg/RiscVVirt/Feature/Capsule/Library/CapsuleUpdatePolicyLib/CapsuleUpdatePolicyLib.c
create mode 100644 OvmfPkg/RiscVVirt/Feature/Capsule/Library/CapsuleUpdatePolicyLib/CapsuleUpdatePolicyLib.inf
create mode 100644 OvmfPkg/RiscVVirt/Feature/Capsule/Library/CapsuleUpdatePolicyLib/CapsuleUpdatePolicyLib.uni
create mode 100644 OvmfPkg/RiscVVirt/Feature/Capsule/Library/FmpDeviceLib/FmpDeviceLib.c
create mode 100644 OvmfPkg/RiscVVirt/Feature/Capsule/Library/FmpDeviceLib/FmpDeviceLib.inf
create mode 100644 OvmfPkg/RiscVVirt/Feature/Capsule/Library/PlatformFlashAccessLib/PlatformFlashAccessLib.c
create mode 100644 OvmfPkg/RiscVVirt/Feature/Capsule/Library/PlatformFlashAccessLib/PlatformFlashAccessLib.h
create mode 100644 OvmfPkg/RiscVVirt/Feature/Capsule/Library/PlatformFlashAccessLib/PlatformFlashAccessLib.inf
create mode 100644 OvmfPkg/RiscVVirt/RiscVVirtSystemFW.dsc.inc
delete mode 100644 OvmfPkg/VirtNorFlashDxe/VirtNorFlash.h
create mode 100644 OvmfPkg/VirtNorFlashDxe/VirtNorFlashDxe.h
--
2.34.1
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#121280): https://edk2.groups.io/g/devel/message/121280
Mute This Topic: https://groups.io/mt/112379037/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-
[-- Attachment #2: Type: text/html, Size: 10100 bytes --]
next prev parent reply other threads:[~2025-04-22 9:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-21 16:58 [edk2-devel] [PATCH 0/3] OvmfPkg/RiscVVirt: Add support for Capsule Firmware Upgrade Tuan Phan
2025-04-21 16:58 ` [edk2-devel] [PATCH 1/3] OvmfPkg/VirtNorFlash: Move low level NOR flash functions into library Tuan Phan
2025-04-21 16:58 ` [edk2-devel] [PATCH 2/3] ArmVirtPkg: Link all targets to the new VirtNorFlashDeviceLib Tuan Phan
2025-04-21 16:58 ` [edk2-devel] [PATCH 3/3] OvmfPkg/RiscVVirt: Add support for Capsule Firmware Upgrade Tuan Phan
2025-04-22 9:01 ` Sami Mujawar via groups.io [this message]
2025-04-22 13:55 ` [edk2-devel] [PATCH 0/3] " Tuan Phan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AS8PR08MB68067C6524A78735B41043FE84BB2@AS8PR08MB6806.eurprd08.prod.outlook.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox