* [edk2-devel] [PATCH v1] UefiPayloadPkg: UPL arch backward support ELF
@ 2024-03-04 7:28 Guo, Gua
2024-03-04 7:31 ` Lu, James
0 siblings, 1 reply; 2+ messages in thread
From: Guo, Gua @ 2024-03-04 7:28 UTC (permalink / raw)
To: devel; +Cc: gua.guo, Guo Dong, Sean Rhodes, James Lu
From: Gua Guo <gua.guo@intel.com>
After 11ad164bcea6b0ed3628d merge,
ELF format API won't meet backward requirement.
Cc: Guo Dong <guo.dong@intel.com>
Cc: Sean Rhodes <sean@starlabs.systems>
Reviewed-by: James Lu <james.lu@intel.com>
Cc: Gua Guo <gua.guo@intel.com>
Signed-off-by: Gua Guo <gua.guo@intel.com>
---
UefiPayloadPkg/UniversalPayloadBuild.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/UefiPayloadPkg/UniversalPayloadBuild.py b/UefiPayloadPkg/UniversalPayloadBuild.py
index 49de882798..0423e6da17 100644
--- a/UefiPayloadPkg/UniversalPayloadBuild.py
+++ b/UefiPayloadPkg/UniversalPayloadBuild.py
@@ -348,7 +348,7 @@ def main():
if os.path.exists (SectionFvFile) == False:
continue
if (args.Fit == False):
- status = ReplaceFv (UniversalPayloadBinary, SectionFvFile, SectionName)
+ status = ReplaceFv (UniversalPayloadBinary, SectionFvFile, SectionName, args.Arch)
else:
status = ReplaceFv (UniversalPayloadBinary, SectionFvFile, SectionName.replace ("_", "-"), args.Arch)
if status != 0:
--
2.39.2.windows.1
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#116305): https://edk2.groups.io/g/devel/message/116305
Mute This Topic: https://groups.io/mt/104718144/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [edk2-devel] [PATCH v1] UefiPayloadPkg: UPL arch backward support ELF
2024-03-04 7:28 [edk2-devel] [PATCH v1] UefiPayloadPkg: UPL arch backward support ELF Guo, Gua
@ 2024-03-04 7:31 ` Lu, James
0 siblings, 0 replies; 2+ messages in thread
From: Lu, James @ 2024-03-04 7:31 UTC (permalink / raw)
To: Guo, Gua, devel@edk2.groups.io; +Cc: Dong, Guo, Rhodes, Sean
[-- Attachment #1: Type: text/plain, Size: 2223 bytes --]
Reviewed-by: James Lu <james.lu@intel.com>
Thanks,
James
-----Original Message-----
From: Guo, Gua <gua.guo@intel.com>
Sent: Monday, March 4, 2024 3:29 PM
To: devel@edk2.groups.io
Cc: Guo, Gua <gua.guo@intel.com>; Dong, Guo <guo.dong@intel.com>; Rhodes, Sean <sean@starlabs.systems>; Lu, James <james.lu@intel.com>
Subject: [PATCH v1] UefiPayloadPkg: UPL arch backward support ELF
From: Gua Guo <gua.guo@intel.com<mailto:gua.guo@intel.com>>
After 11ad164bcea6b0ed3628d merge,
ELF format API won't meet backward requirement.
Cc: Guo Dong <guo.dong@intel.com<mailto:guo.dong@intel.com>>
Cc: Sean Rhodes <sean@starlabs.systems<mailto:sean@starlabs.systems>>
Reviewed-by: James Lu <james.lu@intel.com<mailto:james.lu@intel.com>>
Cc: Gua Guo <gua.guo@intel.com<mailto:gua.guo@intel.com>>
Signed-off-by: Gua Guo <gua.guo@intel.com<mailto:gua.guo@intel.com>>
---
UefiPayloadPkg/UniversalPayloadBuild.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/UefiPayloadPkg/UniversalPayloadBuild.py b/UefiPayloadPkg/UniversalPayloadBuild.py
index 49de882798..0423e6da17 100644
--- a/UefiPayloadPkg/UniversalPayloadBuild.py
+++ b/UefiPayloadPkg/UniversalPayloadBuild.py
@@ -348,7 +348,7 @@ def main():
if os.path.exists (SectionFvFile) == False:
continue
if (args.Fit == False):
- status = ReplaceFv (UniversalPayloadBinary, SectionFvFile, SectionName)
+ status = ReplaceFv (UniversalPayloadBinary, SectionFvFile, SectionName, args.Arch)
else:
status = ReplaceFv (UniversalPayloadBinary, SectionFvFile, SectionName.replace ("_", "-"), args.Arch)
if status != 0:
--
2.39.2.windows.1
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#116306): https://edk2.groups.io/g/devel/message/116306
Mute This Topic: https://groups.io/mt/104718144/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: 7071 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-04 7:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-04 7:28 [edk2-devel] [PATCH v1] UefiPayloadPkg: UPL arch backward support ELF Guo, Gua
2024-03-04 7:31 ` Lu, James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox