public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Re: [edk2-devel] [edk2-stable202311][PATCH] BaseTools: Python VfrCompiler implementation
@ 2023-11-09 14:19 gaoliming via groups.io
  2023-11-13  0:32 ` Yuwei Chen
       [not found] ` <1797076B3E222792.28092@groups.io>
  0 siblings, 2 replies; 9+ messages in thread
From: gaoliming via groups.io @ 2023-11-09 14:19 UTC (permalink / raw)
  To: 'Rebecca Cran', 'Gao, Liming',
	'Zimmer, Vincent', 'Chen, Christine',
	'Kinney, Michael D', 'Leif Lindholm',
	'Andrew Fish'
  Cc: 'Feng, Bob C', 'Yang, Yuting2', devel,
	'Hartung, Stephen'

[-- Attachment #1: Type: text/plain, Size: 1744 bytes --]

Christine:

 I can't directly reply to the original mail because it is too large. This
is a new feature to add python version VfrCompiler. I don't think we have
enough time to review the design and implementation. Although it has no real
impact, its code may have many change in future. So, I suggest to merge it
after this stable tag. 

 

Thanks

Liming

 

Below is your request. 

 

Hi Liming and Cran, 

 

Could you help on quick reviewing this new VfrCompiler python tool, it has
the same functions with origin C version VfrCompiler, meanwhile it supports
more new features such as generated Vfr files config info into Yaml format. 

 

This feature is urgent for us to use, and we really hope it can be merged
into this stable tag. This patch is linked to the edk2-basetools PR:
https://github.com/tianocore/edk2-basetools/pull/109. We list all the known
issues which will be enhanced in the ReadMe file. And will enhance them one
by one after the patch merged.

For the code quality, in this patch, the new tool is not enabled in build
process, it just saves in the basetools python folder, which will not
influence the current edk2 behaviors. We will enable it with a new patch
when everything is ready.

Many thanks~

Hi Vincent, please help add more information if necessary~ Thanks a lot~

Thanks,

Christine

 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#110985): https://edk2.groups.io/g/devel/message/110985
Mute This Topic: https://groups.io/mt/102486097/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: 5833 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [edk2-devel] [edk2-stable202311][PATCH] BaseTools: Python VfrCompiler implementation
  2023-11-09 14:19 [edk2-devel] [edk2-stable202311][PATCH] BaseTools: Python VfrCompiler implementation gaoliming via groups.io
@ 2023-11-13  0:32 ` Yuwei Chen
       [not found] ` <1797076B3E222792.28092@groups.io>
  1 sibling, 0 replies; 9+ messages in thread
From: Yuwei Chen @ 2023-11-13  0:32 UTC (permalink / raw)
  To: Gao, Liming, 'Rebecca Cran', Gao, Liming, Zimmer, Vincent,
	Kinney, Michael D, 'Leif Lindholm', 'Andrew Fish'
  Cc: Feng, Bob C, Yang, Yuting2, devel@edk2.groups.io,
	Hartung, Stephen

[-- Attachment #1: Type: text/plain, Size: 2956 bytes --]

Hi Liming,

I know your point. Would you like to start reviewing it and give us more feedbacks? We really hope it can be merged as soon as possible.
We can do the merging after the stable tag, but just like you said, maybe we need to review it firstly.

Looking forward to your feedbacks, and I think this one is a very big step for BaseTools. Thanks a lot for your help and contribution on this.
I have created a BZ for this feature: https://bugzilla.tianocore.org/show_bug.cgi?id=4596
Will update the patch with Bugzilla link. (This step should not influence the reviewing)

Thanks,
Christine

From: gaoliming <gaoliming@byosoft.com.cn>
Sent: Thursday, November 9, 2023 10:19 PM
To: 'Rebecca Cran' <rebecca@bsdio.com>; Gao, Liming <gaoliming@byosoft.com.cn>; Zimmer, Vincent <vincent.zimmer@intel.com>; Chen, Christine <yuwei.chen@intel.com>; Kinney, Michael D <michael.d.kinney@intel.com>; 'Leif Lindholm' <quic_llindhol@quicinc.com>; 'Andrew Fish' <afish@apple.com>
Cc: Feng, Bob C <bob.c.feng@intel.com>; Yang, Yuting2 <yuting2.yang@intel.com>; devel@edk2.groups.io; Hartung, Stephen <stephen.hartung@intel.com>
Subject: RE: [edk2-stable202311][PATCH] BaseTools: Python VfrCompiler implementation


Christine:

 I can't directly reply to the original mail because it is too large. This is a new feature to add python version VfrCompiler. I don't think we have enough time to review the design and implementation. Although it has no real impact, its code may have many change in future. So, I suggest to merge it after this stable tag.



Thanks

Liming



Below is your request.



Hi Liming and Cran,



Could you help on quick reviewing this new VfrCompiler python tool, it has the same functions with origin C version VfrCompiler, meanwhile it supports more new features such as generated Vfr files config info into Yaml format.



This feature is urgent for us to use, and we really hope it can be merged into this stable tag. This patch is linked to the edk2-basetools PR: https://github.com/tianocore/edk2-basetools/pull/109. We list all the known issues which will be enhanced in the ReadMe file. And will enhance them one by one after the patch merged.



For the code quality, in this patch, the new tool is not enabled in build process, it just saves in the basetools python folder, which will not influence the current edk2 behaviors. We will enable it with a new patch when everything is ready.



Many thanks~



Hi Vincent, please help add more information if necessary~ Thanks a lot~



Thanks,

Christine



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#111115): https://edk2.groups.io/g/devel/message/111115
Mute This Topic: https://groups.io/mt/102486097/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: 8704 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [edk2-devel] [edk2-stable202311][PATCH] BaseTools: Python VfrCompiler implementation
       [not found] ` <1797076B3E222792.28092@groups.io>
@ 2023-12-07  9:08   ` Yuwei Chen
  2023-12-11  9:33     ` 回复: " gaoliming via groups.io
  2023-12-15 17:04     ` Pedro Falcato
  0 siblings, 2 replies; 9+ messages in thread
From: Yuwei Chen @ 2023-12-07  9:08 UTC (permalink / raw)
  To: devel@edk2.groups.io, Chen, Christine, Gao, Liming,
	'Rebecca Cran', Zimmer, Vincent, Kinney, Michael D,
	'Leif Lindholm', 'Andrew Fish'
  Cc: Feng, Bob C, Yang, Yuting2, Hartung, Stephen

[-- Attachment #1: Type: text/plain, Size: 4078 bytes --]

Hi Liming,

Is this feature been tested and reviewed these two weeks? 😊

Thanks,
Christine
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Yuwei Chen
Sent: Monday, November 13, 2023 8:32 AM
To: Gao, Liming <gaoliming@byosoft.com.cn>; 'Rebecca Cran' <rebecca@bsdio.com>; Gao, Liming <gaoliming@byosoft.com.cn>; Zimmer, Vincent <vincent.zimmer@intel.com>; Kinney, Michael D <michael.d.kinney@intel.com>; 'Leif Lindholm' <quic_llindhol@quicinc.com>; 'Andrew Fish' <afish@apple.com>
Cc: Feng, Bob C <bob.c.feng@intel.com>; Yang, Yuting2 <yuting2.yang@intel.com>; devel@edk2.groups.io; Hartung, Stephen <stephen.hartung@intel.com>
Subject: Re: [edk2-devel] [edk2-stable202311][PATCH] BaseTools: Python VfrCompiler implementation

Hi Liming,

I know your point. Would you like to start reviewing it and give us more feedbacks? We really hope it can be merged as soon as possible.
We can do the merging after the stable tag, but just like you said, maybe we need to review it firstly.

Looking forward to your feedbacks, and I think this one is a very big step for BaseTools. Thanks a lot for your help and contribution on this.
I have created a BZ for this feature: https://bugzilla.tianocore.org/show_bug.cgi?id=4596
Will update the patch with Bugzilla link. (This step should not influence the reviewing)

Thanks,
Christine

From: gaoliming <gaoliming@byosoft.com.cn<mailto:gaoliming@byosoft.com.cn>>
Sent: Thursday, November 9, 2023 10:19 PM
To: 'Rebecca Cran' <rebecca@bsdio.com<mailto:rebecca@bsdio.com>>; Gao, Liming <gaoliming@byosoft.com.cn<mailto:gaoliming@byosoft.com.cn>>; Zimmer, Vincent <vincent.zimmer@intel.com<mailto:vincent.zimmer@intel.com>>; Chen, Christine <yuwei.chen@intel.com<mailto:yuwei.chen@intel.com>>; Kinney, Michael D <michael.d.kinney@intel.com<mailto:michael.d.kinney@intel.com>>; 'Leif Lindholm' <quic_llindhol@quicinc.com<mailto:quic_llindhol@quicinc.com>>; 'Andrew Fish' <afish@apple.com<mailto:afish@apple.com>>
Cc: Feng, Bob C <bob.c.feng@intel.com<mailto:bob.c.feng@intel.com>>; Yang, Yuting2 <yuting2.yang@intel.com<mailto:yuting2.yang@intel.com>>; devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Hartung, Stephen <stephen.hartung@intel.com<mailto:stephen.hartung@intel.com>>
Subject: RE: [edk2-stable202311][PATCH] BaseTools: Python VfrCompiler implementation


Christine:

 I can’t directly reply to the original mail because it is too large. This is a new feature to add python version VfrCompiler. I don’t think we have enough time to review the design and implementation. Although it has no real impact, its code may have many change in future. So, I suggest to merge it after this stable tag.



Thanks

Liming



Below is your request.



Hi Liming and Cran,



Could you help on quick reviewing this new VfrCompiler python tool, it has the same functions with origin C version VfrCompiler, meanwhile it supports more new features such as generated Vfr files config info into Yaml format.



This feature is urgent for us to use, and we really hope it can be merged into this stable tag. This patch is linked to the edk2-basetools PR: https://github.com/tianocore/edk2-basetools/pull/109. We list all the known issues which will be enhanced in the ReadMe file. And will enhance them one by one after the patch merged.



For the code quality, in this patch, the new tool is not enabled in build process, it just saves in the basetools python folder, which will not influence the current edk2 behaviors. We will enable it with a new patch when everything is ready.



Many thanks~



Hi Vincent, please help add more information if necessary~ Thanks a lot~



Thanks,

Christine




-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#112173): https://edk2.groups.io/g/devel/message/112173
Mute This Topic: https://groups.io/mt/102486097/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: 11654 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* 回复: [edk2-devel] [edk2-stable202311][PATCH] BaseTools: Python VfrCompiler implementation
  2023-12-07  9:08   ` Yuwei Chen
@ 2023-12-11  9:33     ` gaoliming via groups.io
  2023-12-15  2:40       ` Yuting Yang
  2023-12-15 17:04     ` Pedro Falcato
  1 sibling, 1 reply; 9+ messages in thread
From: gaoliming via groups.io @ 2023-12-11  9:33 UTC (permalink / raw)
  To: 'Chen, Christine', devel, 'Rebecca Cran',
	'Zimmer, Vincent', 'Kinney, Michael D',
	'Leif Lindholm', 'Andrew Fish'
  Cc: 'Feng, Bob C', 'Yang, Yuting2',
	'Hartung, Stephen'

[-- Attachment #1: Type: text/plain, Size: 5473 bytes --]

Christine:

 Is there the change in Edk2 to apply new VfrCompiler? Can you share your code branch with new VfrCompiler to pass build on Emulator or Ovmf? I would like to try this tool first. 

 

Thanks

Liming

发件人: Chen, Christine <yuwei.chen@intel.com> 
发送时间: 2023年12月7日 17:08
收件人: devel@edk2.groups.io; Chen, Christine <yuwei.chen@intel.com>; Gao, Liming <gaoliming@byosoft.com.cn>; 'Rebecca Cran' <rebecca@bsdio.com>; Zimmer, Vincent <vincent.zimmer@intel.com>; Kinney, Michael D <michael.d.kinney@intel.com>; 'Leif Lindholm' <quic_llindhol@quicinc.com>; 'Andrew Fish' <afish@apple.com>
抄送: Feng, Bob C <bob.c.feng@intel.com>; Yang, Yuting2 <yuting2.yang@intel.com>; Hartung, Stephen <stephen.hartung@intel.com>
主题: RE: [edk2-devel] [edk2-stable202311][PATCH] BaseTools: Python VfrCompiler implementation

 

Hi Liming,

 

Is this feature been tested and reviewed these two weeks? 😊

 

Thanks,

Christine

From: devel@edk2.groups.io <mailto:devel@edk2.groups.io>  <devel@edk2.groups.io <mailto:devel@edk2.groups.io> > On Behalf Of Yuwei Chen
Sent: Monday, November 13, 2023 8:32 AM
To: Gao, Liming <gaoliming@byosoft.com.cn <mailto:gaoliming@byosoft.com.cn> >; 'Rebecca Cran' <rebecca@bsdio.com <mailto:rebecca@bsdio.com> >; Gao, Liming <gaoliming@byosoft.com.cn <mailto:gaoliming@byosoft.com.cn> >; Zimmer, Vincent <vincent.zimmer@intel.com <mailto:vincent.zimmer@intel.com> >; Kinney, Michael D <michael.d.kinney@intel.com <mailto:michael.d.kinney@intel.com> >; 'Leif Lindholm' <quic_llindhol@quicinc.com <mailto:quic_llindhol@quicinc.com> >; 'Andrew Fish' <afish@apple.com <mailto:afish@apple.com> >
Cc: Feng, Bob C <bob.c.feng@intel.com <mailto:bob.c.feng@intel.com> >; Yang, Yuting2 <yuting2.yang@intel.com <mailto:yuting2.yang@intel.com> >; devel@edk2.groups.io <mailto:devel@edk2.groups.io> ; Hartung, Stephen <stephen.hartung@intel.com <mailto:stephen.hartung@intel.com> >
Subject: Re: [edk2-devel] [edk2-stable202311][PATCH] BaseTools: Python VfrCompiler implementation

 

Hi Liming,

 

I know your point. Would you like to start reviewing it and give us more feedbacks? We really hope it can be merged as soon as possible.

We can do the merging after the stable tag, but just like you said, maybe we need to review it firstly.

 

Looking forward to your feedbacks, and I think this one is a very big step for BaseTools. Thanks a lot for your help and contribution on this.

I have created a BZ for this feature: https://bugzilla.tianocore.org/show_bug.cgi?id=4596

Will update the patch with Bugzilla link. (This step should not influence the reviewing)

 

Thanks,

Christine

 

From: gaoliming <gaoliming@byosoft.com.cn <mailto:gaoliming@byosoft.com.cn> > 
Sent: Thursday, November 9, 2023 10:19 PM
To: 'Rebecca Cran' <rebecca@bsdio.com <mailto:rebecca@bsdio.com> >; Gao, Liming <gaoliming@byosoft.com.cn <mailto:gaoliming@byosoft.com.cn> >; Zimmer, Vincent <vincent.zimmer@intel.com <mailto:vincent.zimmer@intel.com> >; Chen, Christine <yuwei.chen@intel.com <mailto:yuwei.chen@intel.com> >; Kinney, Michael D <michael.d.kinney@intel.com <mailto:michael.d.kinney@intel.com> >; 'Leif Lindholm' <quic_llindhol@quicinc.com <mailto:quic_llindhol@quicinc.com> >; 'Andrew Fish' <afish@apple.com <mailto:afish@apple.com> >
Cc: Feng, Bob C <bob.c.feng@intel.com <mailto:bob.c.feng@intel.com> >; Yang, Yuting2 <yuting2.yang@intel.com <mailto:yuting2.yang@intel.com> >; devel@edk2.groups.io <mailto:devel@edk2.groups.io> ; Hartung, Stephen <stephen.hartung@intel.com <mailto:stephen.hartung@intel.com> >
Subject: RE: [edk2-stable202311][PATCH] BaseTools: Python VfrCompiler implementation

 

Christine:

 I can’t directly reply to the original mail because it is too large. This is a new feature to add python version VfrCompiler. I don’t think we have enough time to review the design and implementation. Although it has no real impact, its code may have many change in future. So, I suggest to merge it after this stable tag. 

 

Thanks

Liming

 

Below is your request. 

 

Hi Liming and Cran, 

 

Could you help on quick reviewing this new VfrCompiler python tool, it has the same functions with origin C version VfrCompiler, meanwhile it supports more new features such as generated Vfr files config info into Yaml format. 

 

This feature is urgent for us to use, and we really hope it can be merged into this stable tag. This patch is linked to the edk2-basetools PR: https://github.com/tianocore/edk2-basetools/pull/109. We list all the known issues which will be enhanced in the ReadMe file. And will enhance them one by one after the patch merged.

 

For the code quality, in this patch, the new tool is not enabled in build process, it just saves in the basetools python folder, which will not influence the current edk2 behaviors. We will enable it with a new patch when everything is ready.

 

Many thanks~

 

Hi Vincent, please help add more information if necessary~ Thanks a lot~

 

Thanks,

Christine

 





-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#112278): https://edk2.groups.io/g/devel/message/112278
Mute This Topic: https://groups.io/mt/103105777/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: 15006 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [edk2-devel] [edk2-stable202311][PATCH] BaseTools: Python VfrCompiler implementation
  2023-12-11  9:33     ` 回复: " gaoliming via groups.io
@ 2023-12-15  2:40       ` Yuting Yang
  0 siblings, 0 replies; 9+ messages in thread
From: Yuting Yang @ 2023-12-15  2:40 UTC (permalink / raw)
  To: devel@edk2.groups.io, Gao, Liming, 'Rebecca Cran',
	Zimmer, Vincent, Kinney, Michael D, 'Leif Lindholm',
	'Andrew Fish'
  Cc: Feng, Bob C, Yang, Yuting2, Hartung, Stephen, Chen, Christine

[-- Attachment #1: Type: text/plain, Size: 6576 bytes --]


Hi Liming,

The way to apply new VfrCompiler in Edk2  is detailed in the BaseTools/Source/Python/VfrCompiler/Readme.md file
You can use this branch to have a try ~😊
https://github.com/yytshirley/edk2/tree/PyVfrCompiler_Tool

Thanks,
Yuting
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of gaoliming via groups.io
Sent: Monday, December 11, 2023 5:34 PM
To: Chen, Christine <yuwei.chen@intel.com>; devel@edk2.groups.io; 'Rebecca Cran' <rebecca@bsdio.com>; Zimmer, Vincent <vincent.zimmer@intel.com>; Kinney, Michael D <michael.d.kinney@intel.com>; 'Leif Lindholm' <quic_llindhol@quicinc.com>; 'Andrew Fish' <afish@apple.com>
Cc: Feng, Bob C <bob.c.feng@intel.com>; Yang, Yuting2 <yuting2.yang@intel.com>; Hartung, Stephen <stephen.hartung@intel.com>
Subject: 回复: [edk2-devel] [edk2-stable202311][PATCH] BaseTools: Python VfrCompiler implementation

Christine:
 Is there the change in Edk2 to apply new VfrCompiler? Can you share your code branch with new VfrCompiler to pass build on Emulator or Ovmf? I would like to try this tool first.

Thanks
Liming
发件人: Chen, Christine <yuwei.chen@intel.com<mailto:yuwei.chen@intel.com>>
发送时间: 2023年12月7日 17:08
收件人: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Chen, Christine <yuwei.chen@intel.com<mailto:yuwei.chen@intel.com>>; Gao, Liming <gaoliming@byosoft.com.cn<mailto:gaoliming@byosoft.com.cn>>; 'Rebecca Cran' <rebecca@bsdio.com<mailto:rebecca@bsdio.com>>; Zimmer, Vincent <vincent.zimmer@intel.com<mailto:vincent.zimmer@intel.com>>; Kinney, Michael D <michael.d.kinney@intel.com<mailto:michael.d.kinney@intel.com>>; 'Leif Lindholm' <quic_llindhol@quicinc.com<mailto:quic_llindhol@quicinc.com>>; 'Andrew Fish' <afish@apple.com<mailto:afish@apple.com>>
抄送: Feng, Bob C <bob.c.feng@intel.com<mailto:bob.c.feng@intel.com>>; Yang, Yuting2 <yuting2.yang@intel.com<mailto:yuting2.yang@intel.com>>; Hartung, Stephen <stephen.hartung@intel.com<mailto:stephen.hartung@intel.com>>
主题: RE: [edk2-devel] [edk2-stable202311][PATCH] BaseTools: Python VfrCompiler implementation

Hi Liming,

Is this feature been tested and reviewed these two weeks? 😊

Thanks,
Christine
From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> <devel@edk2.groups.io<mailto:devel@edk2.groups.io>> On Behalf Of Yuwei Chen
Sent: Monday, November 13, 2023 8:32 AM
To: Gao, Liming <gaoliming@byosoft.com.cn<mailto:gaoliming@byosoft.com.cn>>; 'Rebecca Cran' <rebecca@bsdio.com<mailto:rebecca@bsdio.com>>; Gao, Liming <gaoliming@byosoft.com.cn<mailto:gaoliming@byosoft.com.cn>>; Zimmer, Vincent <vincent.zimmer@intel.com<mailto:vincent.zimmer@intel.com>>; Kinney, Michael D <michael.d.kinney@intel.com<mailto:michael.d.kinney@intel.com>>; 'Leif Lindholm' <quic_llindhol@quicinc.com<mailto:quic_llindhol@quicinc.com>>; 'Andrew Fish' <afish@apple.com<mailto:afish@apple.com>>
Cc: Feng, Bob C <bob.c.feng@intel.com<mailto:bob.c.feng@intel.com>>; Yang, Yuting2 <yuting2.yang@intel.com<mailto:yuting2.yang@intel.com>>; devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Hartung, Stephen <stephen.hartung@intel.com<mailto:stephen.hartung@intel.com>>
Subject: Re: [edk2-devel] [edk2-stable202311][PATCH] BaseTools: Python VfrCompiler implementation

Hi Liming,

I know your point. Would you like to start reviewing it and give us more feedbacks? We really hope it can be merged as soon as possible.
We can do the merging after the stable tag, but just like you said, maybe we need to review it firstly.

Looking forward to your feedbacks, and I think this one is a very big step for BaseTools. Thanks a lot for your help and contribution on this.
I have created a BZ for this feature: https://bugzilla.tianocore.org/show_bug.cgi?id=4596
Will update the patch with Bugzilla link. (This step should not influence the reviewing)

Thanks,
Christine

From: gaoliming <gaoliming@byosoft.com.cn<mailto:gaoliming@byosoft.com.cn>>
Sent: Thursday, November 9, 2023 10:19 PM
To: 'Rebecca Cran' <rebecca@bsdio.com<mailto:rebecca@bsdio.com>>; Gao, Liming <gaoliming@byosoft.com.cn<mailto:gaoliming@byosoft.com.cn>>; Zimmer, Vincent <vincent.zimmer@intel.com<mailto:vincent.zimmer@intel.com>>; Chen, Christine <yuwei.chen@intel.com<mailto:yuwei.chen@intel.com>>; Kinney, Michael D <michael.d.kinney@intel.com<mailto:michael.d.kinney@intel.com>>; 'Leif Lindholm' <quic_llindhol@quicinc.com<mailto:quic_llindhol@quicinc.com>>; 'Andrew Fish' <afish@apple.com<mailto:afish@apple.com>>
Cc: Feng, Bob C <bob.c.feng@intel.com<mailto:bob.c.feng@intel.com>>; Yang, Yuting2 <yuting2.yang@intel.com<mailto:yuting2.yang@intel.com>>; devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Hartung, Stephen <stephen.hartung@intel.com<mailto:stephen.hartung@intel.com>>
Subject: RE: [edk2-stable202311][PATCH] BaseTools: Python VfrCompiler implementation


Christine:

 I can’t directly reply to the original mail because it is too large. This is a new feature to add python version VfrCompiler. I don’t think we have enough time to review the design and implementation. Although it has no real impact, its code may have many change in future. So, I suggest to merge it after this stable tag.



Thanks

Liming



Below is your request.



Hi Liming and Cran,



Could you help on quick reviewing this new VfrCompiler python tool, it has the same functions with origin C version VfrCompiler, meanwhile it supports more new features such as generated Vfr files config info into Yaml format.



This feature is urgent for us to use, and we really hope it can be merged into this stable tag. This patch is linked to the edk2-basetools PR: https://github.com/tianocore/edk2-basetools/pull/109. We list all the known issues which will be enhanced in the ReadMe file. And will enhance them one by one after the patch merged.



For the code quality, in this patch, the new tool is not enabled in build process, it just saves in the basetools python folder, which will not influence the current edk2 behaviors. We will enable it with a new patch when everything is ready.



Many thanks~



Hi Vincent, please help add more information if necessary~ Thanks a lot~



Thanks,

Christine




-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#112584): https://edk2.groups.io/g/devel/message/112584
Mute This Topic: https://groups.io/mt/103183775/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: 17799 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [edk2-devel] [edk2-stable202311][PATCH] BaseTools: Python VfrCompiler implementation
  2023-12-07  9:08   ` Yuwei Chen
  2023-12-11  9:33     ` 回复: " gaoliming via groups.io
@ 2023-12-15 17:04     ` Pedro Falcato
  2023-12-15 17:31       ` Michael D Kinney
  1 sibling, 1 reply; 9+ messages in thread
From: Pedro Falcato @ 2023-12-15 17:04 UTC (permalink / raw)
  To: devel, yuwei.chen
  Cc: Gao, Liming, Rebecca Cran, Zimmer, Vincent, Kinney, Michael D,
	Leif Lindholm, Andrew Fish, Feng, Bob C, Yang, Yuting2,
	Hartung, Stephen

On Thu, Dec 7, 2023 at 9:08 AM Yuwei Chen <yuwei.chen@intel.com> wrote:
>
> Hi Liming,
>
>
>
> Is this feature been tested and reviewed these two weeks? 😊

Two questions:

1) What testing strategy do you have to test for regressions in such a
huge rewrite?
2) What's the point in shipping this to upstream if you're not aiming
for the replacement of the original VfrCompiler?
3) What's the value of rewriting this in Python? If the existing
VfrCompiler is already working fine (AFAIK?), a python version will
likely just be slower (unless the original C version is super badly
written).
I *seriously* struggle to understand what this Python movement is
supposed to do, except gratuitously rewrite large bits of BaseTools
for a net loss (performance)

-- 
Pedro


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#112604): https://edk2.groups.io/g/devel/message/112604
Mute This Topic: https://groups.io/mt/102486097/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [edk2-devel] [edk2-stable202311][PATCH] BaseTools: Python VfrCompiler implementation
  2023-12-15 17:04     ` Pedro Falcato
@ 2023-12-15 17:31       ` Michael D Kinney
  2024-01-09  8:23         ` Yuwei Chen
  0 siblings, 1 reply; 9+ messages in thread
From: Michael D Kinney @ 2023-12-15 17:31 UTC (permalink / raw)
  To: Pedro Falcato, devel@edk2.groups.io, Chen, Christine
  Cc: Gao, Liming, Rebecca Cran, Zimmer, Vincent, Leif Lindholm,
	Andrew Fish, Feng, Bob C, Yang, Yuting2, Hartung, Stephen,
	Kinney, Michael D

There are several advantages for this direction:


* Current VFR compiler in C has dependencies on very old libs that
  have not been updated.

* The movement to python will remove the pre-build step that requires
  some of the build tools to be built using host C compiler before
  running edk2 build command.

* The other element is moving all the python code into edk2-basetools
  repo with a published pip package.  This enables the use of 
  pip-requirements.txt to provide developers all the content needed
  to build.

I agree that we should not have both VFR compilers.  We need to make
sure the new one in Python is 100% compatible with the C version and
make the decision to simultaneously add Python one and delete the C
one and commit to the Python one.  I provided this feedback to the
VFR developers in the TianoCore Tools/CI meeting earlier this year.

The perf question is very good. It would be good for the VFR developers
to provide some perf comparisons.  I do not expect any significant
different that would impact overall platform build times.

Mike

> -----Original Message-----
> From: Pedro Falcato <pedro.falcato@gmail.com>
> Sent: Friday, December 15, 2023 9:04 AM
> To: devel@edk2.groups.io; Chen, Christine <yuwei.chen@intel.com>
> Cc: Gao, Liming <gaoliming@byosoft.com.cn>; Rebecca Cran
> <rebecca@bsdio.com>; Zimmer, Vincent <vincent.zimmer@intel.com>; Kinney,
> Michael D <michael.d.kinney@intel.com>; Leif Lindholm
> <quic_llindhol@quicinc.com>; Andrew Fish <afish@apple.com>; Feng, Bob C
> <bob.c.feng@intel.com>; Yang, Yuting2 <yuting2.yang@intel.com>; Hartung,
> Stephen <stephen.hartung@intel.com>
> Subject: Re: [edk2-devel] [edk2-stable202311][PATCH] BaseTools: Python
> VfrCompiler implementation
> 
> On Thu, Dec 7, 2023 at 9:08 AM Yuwei Chen <yuwei.chen@intel.com> wrote:
> >
> > Hi Liming,
> >
> >
> >
> > Is this feature been tested and reviewed these two weeks? 😊
> 
> Two questions:
> 
> 1) What testing strategy do you have to test for regressions in such a
> huge rewrite?
> 2) What's the point in shipping this to upstream if you're not aiming
> for the replacement of the original VfrCompiler?
> 3) What's the value of rewriting this in Python? If the existing
> VfrCompiler is already working fine (AFAIK?), a python version will
> likely just be slower (unless the original C version is super badly
> written).
> I *seriously* struggle to understand what this Python movement is
> supposed to do, except gratuitously rewrite large bits of BaseTools
> for a net loss (performance)
> 
> --
> Pedro


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#112605): https://edk2.groups.io/g/devel/message/112605
Mute This Topic: https://groups.io/mt/102486097/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/leave/12367111/7686176/1913456212/xyzzy [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [edk2-devel] [edk2-stable202311][PATCH] BaseTools: Python VfrCompiler implementation
  2023-12-15 17:31       ` Michael D Kinney
@ 2024-01-09  8:23         ` Yuwei Chen
  2024-03-06 15:04           ` Chang, Abner via groups.io
  0 siblings, 1 reply; 9+ messages in thread
From: Yuwei Chen @ 2024-01-09  8:23 UTC (permalink / raw)
  To: Kinney, Michael D, Pedro Falcato, devel@edk2.groups.io
  Cc: Gao, Liming, Rebecca Cran, Zimmer, Vincent, Leif Lindholm,
	Andrew Fish, Feng, Bob C, Yang, Yuting2, Hartung, Stephen,
	Narayanan, Bimod

Hi Liming,

Have you tried with the new python tool? Any comments or concerns?

Thanks,
Christine

> -----Original Message-----
> From: Kinney, Michael D <michael.d.kinney@intel.com>
> Sent: Saturday, December 16, 2023 1:31 AM
> To: Pedro Falcato <pedro.falcato@gmail.com>; devel@edk2.groups.io; Chen,
> Christine <yuwei.chen@intel.com>
> Cc: Gao, Liming <gaoliming@byosoft.com.cn>; Rebecca Cran
> <rebecca@bsdio.com>; Zimmer, Vincent <vincent.zimmer@intel.com>; Leif
> Lindholm <quic_llindhol@quicinc.com>; Andrew Fish <afish@apple.com>;
> Feng, Bob C <bob.c.feng@intel.com>; Yang, Yuting2
> <yuting2.yang@intel.com>; Hartung, Stephen <stephen.hartung@intel.com>;
> Kinney, Michael D <michael.d.kinney@intel.com>
> Subject: RE: [edk2-devel] [edk2-stable202311][PATCH] BaseTools: Python
> VfrCompiler implementation
> 
> There are several advantages for this direction:
> 
> 
> * Current VFR compiler in C has dependencies on very old libs that
>   have not been updated.
> 
> * The movement to python will remove the pre-build step that requires
>   some of the build tools to be built using host C compiler before
>   running edk2 build command.
> 
> * The other element is moving all the python code into edk2-basetools
>   repo with a published pip package.  This enables the use of
>   pip-requirements.txt to provide developers all the content needed
>   to build.
> 
> I agree that we should not have both VFR compilers.  We need to make sure
> the new one in Python is 100% compatible with the C version and make the
> decision to simultaneously add Python one and delete the C one and commit
> to the Python one.  I provided this feedback to the VFR developers in the
> TianoCore Tools/CI meeting earlier this year.
> 
> The perf question is very good. It would be good for the VFR developers to
> provide some perf comparisons.  I do not expect any significant different that
> would impact overall platform build times.
> 
> Mike
> 
> > -----Original Message-----
> > From: Pedro Falcato <pedro.falcato@gmail.com>
> > Sent: Friday, December 15, 2023 9:04 AM
> > To: devel@edk2.groups.io; Chen, Christine <yuwei.chen@intel.com>
> > Cc: Gao, Liming <gaoliming@byosoft.com.cn>; Rebecca Cran
> > <rebecca@bsdio.com>; Zimmer, Vincent <vincent.zimmer@intel.com>;
> > Kinney, Michael D <michael.d.kinney@intel.com>; Leif Lindholm
> > <quic_llindhol@quicinc.com>; Andrew Fish <afish@apple.com>; Feng, Bob
> > C <bob.c.feng@intel.com>; Yang, Yuting2 <yuting2.yang@intel.com>;
> > Hartung, Stephen <stephen.hartung@intel.com>
> > Subject: Re: [edk2-devel] [edk2-stable202311][PATCH] BaseTools: Python
> > VfrCompiler implementation
> >
> > On Thu, Dec 7, 2023 at 9:08 AM Yuwei Chen <yuwei.chen@intel.com>
> wrote:
> > >
> > > Hi Liming,
> > >
> > >
> > >
> > > Is this feature been tested and reviewed these two weeks? 😊
> >
> > Two questions:
> >
> > 1) What testing strategy do you have to test for regressions in such a
> > huge rewrite?
> > 2) What's the point in shipping this to upstream if you're not aiming
> > for the replacement of the original VfrCompiler?
> > 3) What's the value of rewriting this in Python? If the existing
> > VfrCompiler is already working fine (AFAIK?), a python version will
> > likely just be slower (unless the original C version is super badly
> > written).
> > I *seriously* struggle to understand what this Python movement is
> > supposed to do, except gratuitously rewrite large bits of BaseTools
> > for a net loss (performance)
> >
> > --
> > Pedro


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#113430): https://edk2.groups.io/g/devel/message/113430
Mute This Topic: https://groups.io/mt/102486097/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [edk2-devel] [edk2-stable202311][PATCH] BaseTools: Python VfrCompiler implementation
  2024-01-09  8:23         ` Yuwei Chen
@ 2024-03-06 15:04           ` Chang, Abner via groups.io
  0 siblings, 0 replies; 9+ messages in thread
From: Chang, Abner via groups.io @ 2024-03-06 15:04 UTC (permalink / raw)
  To: devel@edk2.groups.io, yuwei.chen@intel.com, Kinney, Michael D,
	Pedro Falcato
  Cc: Gao, Liming, Rebecca Cran, Zimmer, Vincent, Leif Lindholm,
	Andrew Fish, Feng, Bob C, Yang, Yuting2, Hartung, Stephen,
	Narayanan, Bimod, nicklew@nvidia.com, Igor Kulchytskyy

[AMD Official Use Only - General]

Hi Christine,
Is the VFR python tool upstream to edk2-staging?  May I know where can I get it? I would like to try it and see the flexibility of output some VFR information in JSON/YAML file. For edk2 Redfish, we are looking for the solution to automatically adding necessary edk2 Redfish drivers to platform DSC/FDF according to the UNI file.

Thanks
Abner

> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Yuwei
> Chen via groups.io
> Sent: Tuesday, January 9, 2024 4:24 PM
> To: Kinney, Michael D <michael.d.kinney@intel.com>; Pedro Falcato
> <pedro.falcato@gmail.com>; devel@edk2.groups.io
> Cc: Gao, Liming <gaoliming@byosoft.com.cn>; Rebecca Cran
> <rebecca@bsdio.com>; Zimmer, Vincent <vincent.zimmer@intel.com>; Leif
> Lindholm <quic_llindhol@quicinc.com>; Andrew Fish <afish@apple.com>;
> Feng, Bob C <bob.c.feng@intel.com>; Yang, Yuting2
> <yuting2.yang@intel.com>; Hartung, Stephen <stephen.hartung@intel.com>;
> Narayanan, Bimod <bimod.narayanan@intel.com>
> Subject: Re: [edk2-devel] [edk2-stable202311][PATCH] BaseTools: Python
> VfrCompiler implementation
>
> Caution: This message originated from an External Source. Use proper caution
> when opening attachments, clicking links, or responding.
>
>
> Hi Liming,
>
> Have you tried with the new python tool? Any comments or concerns?
>
> Thanks,
> Christine
>
> > -----Original Message-----
> > From: Kinney, Michael D <michael.d.kinney@intel.com>
> > Sent: Saturday, December 16, 2023 1:31 AM
> > To: Pedro Falcato <pedro.falcato@gmail.com>; devel@edk2.groups.io; Chen,
> > Christine <yuwei.chen@intel.com>
> > Cc: Gao, Liming <gaoliming@byosoft.com.cn>; Rebecca Cran
> > <rebecca@bsdio.com>; Zimmer, Vincent <vincent.zimmer@intel.com>; Leif
> > Lindholm <quic_llindhol@quicinc.com>; Andrew Fish <afish@apple.com>;
> > Feng, Bob C <bob.c.feng@intel.com>; Yang, Yuting2
> > <yuting2.yang@intel.com>; Hartung, Stephen
> <stephen.hartung@intel.com>;
> > Kinney, Michael D <michael.d.kinney@intel.com>
> > Subject: RE: [edk2-devel] [edk2-stable202311][PATCH] BaseTools: Python
> > VfrCompiler implementation
> >
> > There are several advantages for this direction:
> >
> >
> > * Current VFR compiler in C has dependencies on very old libs that
> >   have not been updated.
> >
> > * The movement to python will remove the pre-build step that requires
> >   some of the build tools to be built using host C compiler before
> >   running edk2 build command.
> >
> > * The other element is moving all the python code into edk2-basetools
> >   repo with a published pip package.  This enables the use of
> >   pip-requirements.txt to provide developers all the content needed
> >   to build.
> >
> > I agree that we should not have both VFR compilers.  We need to make sure
> > the new one in Python is 100% compatible with the C version and make the
> > decision to simultaneously add Python one and delete the C one and commit
> > to the Python one.  I provided this feedback to the VFR developers in the
> > TianoCore Tools/CI meeting earlier this year.
> >
> > The perf question is very good. It would be good for the VFR developers to
> > provide some perf comparisons.  I do not expect any significant different that
> > would impact overall platform build times.
> >
> > Mike
> >
> > > -----Original Message-----
> > > From: Pedro Falcato <pedro.falcato@gmail.com>
> > > Sent: Friday, December 15, 2023 9:04 AM
> > > To: devel@edk2.groups.io; Chen, Christine <yuwei.chen@intel.com>
> > > Cc: Gao, Liming <gaoliming@byosoft.com.cn>; Rebecca Cran
> > > <rebecca@bsdio.com>; Zimmer, Vincent <vincent.zimmer@intel.com>;
> > > Kinney, Michael D <michael.d.kinney@intel.com>; Leif Lindholm
> > > <quic_llindhol@quicinc.com>; Andrew Fish <afish@apple.com>; Feng, Bob
> > > C <bob.c.feng@intel.com>; Yang, Yuting2 <yuting2.yang@intel.com>;
> > > Hartung, Stephen <stephen.hartung@intel.com>
> > > Subject: Re: [edk2-devel] [edk2-stable202311][PATCH] BaseTools: Python
> > > VfrCompiler implementation
> > >
> > > On Thu, Dec 7, 2023 at 9:08 AM Yuwei Chen <yuwei.chen@intel.com>
> > wrote:
> > > >
> > > > Hi Liming,
> > > >
> > > >
> > > >
> > > > Is this feature been tested and reviewed these two weeks? 😊
> > >
> > > Two questions:
> > >
> > > 1) What testing strategy do you have to test for regressions in such a
> > > huge rewrite?
> > > 2) What's the point in shipping this to upstream if you're not aiming
> > > for the replacement of the original VfrCompiler?
> > > 3) What's the value of rewriting this in Python? If the existing
> > > VfrCompiler is already working fine (AFAIK?), a python version will
> > > likely just be slower (unless the original C version is super badly
> > > written).
> > > I *seriously* struggle to understand what this Python movement is
> > > supposed to do, except gratuitously rewrite large bits of BaseTools
> > > for a net loss (performance)
> > >
> > > --
> > > Pedro
>
>
> 
>



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#116449): https://edk2.groups.io/g/devel/message/116449
Mute This Topic: https://groups.io/mt/102486097/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-03-06 15:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-09 14:19 [edk2-devel] [edk2-stable202311][PATCH] BaseTools: Python VfrCompiler implementation gaoliming via groups.io
2023-11-13  0:32 ` Yuwei Chen
     [not found] ` <1797076B3E222792.28092@groups.io>
2023-12-07  9:08   ` Yuwei Chen
2023-12-11  9:33     ` 回复: " gaoliming via groups.io
2023-12-15  2:40       ` Yuting Yang
2023-12-15 17:04     ` Pedro Falcato
2023-12-15 17:31       ` Michael D Kinney
2024-01-09  8:23         ` Yuwei Chen
2024-03-06 15:04           ` Chang, Abner via groups.io

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox