public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Lu, James" <james.lu@intel.com>
To: "Guo, Gua" <gua.guo@intel.com>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "Dong, Guo" <guo.dong@intel.com>, "Rhodes, Sean" <sean@starlabs.systems>
Subject: Re: [edk2-devel] [PATCH v1] UefiPayloadPkg: UPL arch backward support ELF
Date: Mon, 4 Mar 2024 07:31:18 +0000	[thread overview]
Message-ID: <IA0PR11MB78375F2C456F9467A2A2EB7988232@IA0PR11MB7837.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20240304072857.1862-1-gua.guo@intel.com>

[-- 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 --]

      reply	other threads:[~2024-03-04  7:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

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=IA0PR11MB78375F2C456F9467A2A2EB7988232@IA0PR11MB7837.namprd11.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