public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Marvin Häuser" <mhaeuser@posteo.de>
To: devel@edk2.groups.io, bob.c.feng@intel.com,
	"gaoliming@byosoft.com.cn" <gaoliming@byosoft.com.cn>,
	"Chen, Christine" <yuwei.chen@intel.com>,
	"rfc@edk2.groups.io" <rfc@edk2.groups.io>
Cc: "Kinney, Michael D" <michael.d.kinney@intel.com>
Subject: Re: [edk2-devel] RFC: Replace FMMT Tool from C to Python Version
Date: Fri, 29 Oct 2021 13:27:15 +0000	[thread overview]
Message-ID: <efa8a453-e379-9cdd-5574-04083949e373@posteo.de> (raw)
In-Reply-To: <DM6PR11MB40732085D6775B1B403EA73CC9879@DM6PR11MB4073.namprd11.prod.outlook.com>

Good day,

Is there any information available on PyGenFv? It also handles ELF to PE 
conversion (who knows why...), is that planned to be ported to Python as 
well? For Project Amaranth, we are currently implementing a tool to 
replace the ELF to PE conversion (among other things) and decided to 
write it in C to leverage the existing EDK II libraries for PE and ELF 
parsing, rather than re-implementing parsing in a different language. 
We'd like to stay compatible with upstream EDK II for as long as 
possible, and plan to send patches for a tool proposal whenever it is 
ready (do not expect it before mid next year, if at all).

Best regards,
Marvin

On 29.10.21 12:43, Bob Feng wrote:
>
> Liming,
>
> Correct. PyFMMT does not depend on GenSec, GenFfs and GenFv.  Yes. the 
> future PyGenSec, PyGenFfs and PyGenFv can reuse code from PyFMMT.
>
> Thanks,
>
> Bob
>
> *From:* devel@edk2.groups.io <devel@edk2.groups.io> *On Behalf Of 
> *gaoliming
> *Sent:* Friday, October 29, 2021 10:16 AM
> *To:* Chen, Christine <yuwei.chen@intel.com>; devel@edk2.groups.io; 
> rfc@edk2.groups.io
> *Cc:* Feng, Bob C <bob.c.feng@intel.com>; Kinney, Michael D 
> <michael.d.kinney@intel.com>
> *Subject:* 回复: [edk2-devel] RFC: Replace FMMT Tool from C to Python 
> Version
>
> Christine:
>
>  This is a good news. Thanks for your great work. With this change, 
> FMMT doesn’t depend on GenSec, GenFfs and GenFv C tool. Right? If yes, 
> can those logic be reused to replace GenSec, GenFfs and GenFv C tools?
>
> Thanks
>
> Liming
>
> *发件人**:*Chen, Christine <yuwei.chen@intel.com>
> *发送时间:* 2021年10月29日 8:33
> *收件人:* devel@edk2.groups.io; rfc@edk2.groups.io
> *抄送:* Feng, Bob C <bob.c.feng@intel.com>; Kinney, Michael D 
> <michael.d.kinney@intel.com>; Liming Gao <gaoliming@byosoft.com.cn>
> *主题:* [edk2-devel] RFC: Replace FMMT Tool from C to Python Version
>
> Hi everyone,
>
> I would like to propose the new FMMT Python tool, which is used to 
> replace the origin C version tool.
>
> Currently the FMMT C tool is saved in edk2-staging repo, but its 
> quality and coding style can’t meet the Edk2 quality, which is hard to 
> maintain (Hard/Duplicate Code; Regression bugs; Restrict usage).
>
> The new Python version keeps same functions with origin C version. It 
> has higher quality and better coding style, and it is much easier to 
> extend new functions and to maintain.
>
> You can get the FMMT Python tool through below link.
>
> https://github.com/tianocore/edk2-staging/tree/PyFMMT 
> <https://github.com/tianocore/edk2-staging/tree/PyFMMT>
>
> If you are interested in that, pls have a try.
>
> Looking forward to your feedback~
>
> Thanks,
>
> Christine (Yuwei)
>
> 


  reply	other threads:[~2021-10-29 13:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-29  0:32 [edk2-devel] RFC: Replace FMMT Tool from C to Python Version Yuwei Chen
2021-10-29  2:16 ` 回复: " gaoliming
2021-10-29 10:43   ` Bob Feng
2021-10-29 13:27     ` Marvin Häuser [this message]
2021-10-29 14:55       ` [edk2-rfc] " Bob Feng

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=efa8a453-e379-9cdd-5574-04083949e373@posteo.de \
    --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