public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Ni, Ray" <ray.ni@intel.com>
To: "Shi, Steven" <steven.shi@intel.com>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>
Subject: Re: [edk2-devel] [PATCH 0/4] Support payload in ELF format
Date: Thu, 27 May 2021 12:51:03 +0000	[thread overview]
Message-ID: <CO1PR11MB4930C82FBC21E7AEAB387B708C239@CO1PR11MB4930.namprd11.prod.outlook.com> (raw)
In-Reply-To: <MWHPR11MB19502319C2D1D724FB71663A8C249@MWHPR11MB1950.namprd11.prod.outlook.com>

Steven,
Thanks for the comments. Yes, it's a general toolchain that can generate ELF executable.
I also received your comments to 1/4.
I will post V2 of 1/4 as a separate patch with your comments addressed.

Thanks,
Ray
> -----Original Message-----
> From: Shi, Steven <steven.shi@intel.com>
> Sent: Wednesday, May 26, 2021 6:53 PM
> To: devel@edk2.groups.io; Ni, Ray <ray.ni@intel.com>
> Subject: RE: [edk2-devel] [PATCH 0/4] Support payload in ELF format
> 
> Is the CLANGDWARF a general toolchain? I suggest separating the CLANGDWARF toolchain code as a stand-alone patch.
> 
> 
> Thanks
> 
> Steven Shi
> 
> 
> > -----Original Message-----
> > From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Ni, Ray
> > Sent: Wednesday, May 26, 2021 4:23 PM
> > To: devel@edk2.groups.io
> > Subject: [edk2-devel] [PATCH 0/4] Support payload in ELF format
> >
> > Per universal payload spec, the payload is in ELF format.
> >
> > The patch set adds toolchain CLANGDWARF for building ELF image and
> >
> > adds a payload loader that can load ELF image.
> >
> > Ray Ni (4):
> >   BaseTools: Create CLANGDWARF toolchain
> >   MdePkg/UniversalPayload: Add definition for extra info in payload
> >   UefiPayloadPkg: Add PayloadLoaderPeim which can load ELF payload
> >   PeiCore: Remove assertion when failing to load PE image
> >
> >  BaseTools/Conf/build_rule.template            |  10 +-
> >  BaseTools/Conf/tools_def.template             |  98 ++
> >  MdeModulePkg/Core/Pei/Image/Image.c           |   5 +-
> >  MdePkg/Include/UniversalPayload/ExtraData.h   |  28 +
> >  .../UniversalPayload/UniversalPayload.h       |  38 +
> >  MdePkg/MdePkg.dec                             |   3 +
> >  UefiPayloadPkg/PayloadLoaderPeim/ElfLib.h     | 122 +++
> >  .../PayloadLoaderPeim/ElfLib/Elf32.h          | 252 +++++
> >  .../PayloadLoaderPeim/ElfLib/Elf32Lib.c       | 398 +++++++
> >  .../PayloadLoaderPeim/ElfLib/Elf64.h          | 254 +++++
> >  .../PayloadLoaderPeim/ElfLib/Elf64Lib.c       | 407 ++++++++
> >  .../PayloadLoaderPeim/ElfLib/ElfCommon.h      | 983 ++++++++++++++++++
> >  .../PayloadLoaderPeim/ElfLib/ElfLib.c         | 499 +++++++++
> >  .../PayloadLoaderPeim/ElfLib/ElfLibInternal.h |  88 ++
> >  .../PayloadLoaderPeim/PayloadLoaderPeim.c     | 187 ++++
> >  .../PayloadLoaderPeim/PayloadLoaderPeim.inf   |  59 ++
> >  16 files changed, 3426 insertions(+), 5 deletions(-)
> >  create mode 100644 MdePkg/Include/UniversalPayload/ExtraData.h
> >  create mode 100644 MdePkg/Include/UniversalPayload/UniversalPayload.h
> >  create mode 100644 UefiPayloadPkg/PayloadLoaderPeim/ElfLib.h
> >  create mode 100644 UefiPayloadPkg/PayloadLoaderPeim/ElfLib/Elf32.h
> >  create mode 100644 UefiPayloadPkg/PayloadLoaderPeim/ElfLib/Elf32Lib.c
> >  create mode 100644 UefiPayloadPkg/PayloadLoaderPeim/ElfLib/Elf64.h
> >  create mode 100644 UefiPayloadPkg/PayloadLoaderPeim/ElfLib/Elf64Lib.c
> >  create mode 100644
> > UefiPayloadPkg/PayloadLoaderPeim/ElfLib/ElfCommon.h
> >  create mode 100644 UefiPayloadPkg/PayloadLoaderPeim/ElfLib/ElfLib.c
> >  create mode 100644
> > UefiPayloadPkg/PayloadLoaderPeim/ElfLib/ElfLibInternal.h
> >  create mode 100644
> > UefiPayloadPkg/PayloadLoaderPeim/PayloadLoaderPeim.c
> >  create mode 100644
> > UefiPayloadPkg/PayloadLoaderPeim/PayloadLoaderPeim.inf
> >
> > --
> > 2.31.1.windows.1
> >
> >
> >
> > -=-=-=-=-=-=
> > Groups.io Links: You receive all messages sent to this group.
> > View/Reply Online (#75598): https://edk2.groups.io/g/devel/message/75598
> > Mute This Topic: https://groups.io/mt/83095852/1781003
> > Group Owner: devel+owner@edk2.groups.io
> > Unsubscribe: https://edk2.groups.io/g/devel/unsub [steven.shi@intel.com]
> > -=-=-=-=-=-=
> >


      reply	other threads:[~2021-05-27 12:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-26  8:23 [PATCH 0/4] Support payload in ELF format Ni, Ray
2021-05-26  8:23 ` [PATCH 1/4] BaseTools: Create CLANGDWARF toolchain Ni, Ray
2021-05-26 11:35   ` [edk2-devel] " Steven Shi
2021-05-28  2:52     ` 回复: " gaoliming
2021-05-28 14:31       ` Ni, Ray
2021-05-31  3:23         ` 回复: " gaoliming
2021-06-01 15:11           ` Ni, Ray
2021-06-02  2:18             ` 回复: " gaoliming
2021-05-26  8:23 ` [PATCH 2/4] MdePkg/UniversalPayload: Add definition for extra info in payload Ni, Ray
2021-05-26  8:23 ` [PATCH 3/4] UefiPayloadPkg: Add PayloadLoaderPeim which can load ELF payload Ni, Ray
2021-06-02  4:35   ` Guo Dong
2021-05-26  8:23 ` [PATCH 4/4] PeiCore: Remove assertion when failing to load PE image Ni, Ray
2021-05-26 10:53 ` [edk2-devel] [PATCH 0/4] Support payload in ELF format Steven Shi
2021-05-27 12:51   ` Ni, Ray [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=CO1PR11MB4930C82FBC21E7AEAB387B708C239@CO1PR11MB4930.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