public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv issue
@ 2023-06-29  3:34 Yuwei Chen
  2023-06-29  6:54 ` Bob Feng
  0 siblings, 1 reply; 9+ messages in thread
From: Yuwei Chen @ 2023-06-29  3:34 UTC (permalink / raw)
  To: devel; +Cc: Rebecca Cran, Liming Gao, Bob Feng

1. FvLength not change issue;
2. FileSystemGuid align with File Size;

Cc: Rebecca Cran <rebecca@bsdio.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Bob Feng <bob.c.feng@intel.com>
Signed-off-by: Yuwei Chen <yuwei.chen@intel.com>
---
 BaseTools/Source/Python/FMMT/core/FMMTOperation.py |  2 +-
 BaseTools/Source/Python/FMMT/core/FvHandler.py     | 10 +++++++---
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/BaseTools/Source/Python/FMMT/core/FMMTOperation.py b/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
index a86f8dda9a1a..d4aa3397036d 100644
--- a/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
+++ b/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
@@ -188,7 +188,7 @@ def ExtractFfs(inputfile: str, Ffs_name: str, outputfile: str, Fv_name: str=None
                 FmmtParser.WholeFvTree.Findlist.remove(FmmtParser.WholeFvTree.Findlist[index])
     if FmmtParser.WholeFvTree.Findlist != []:
         TargetNode = FmmtParser.WholeFvTree.Findlist[0]
-        if TargetNode.type == FV_TREE or SEC_FV_TREE or DATA_FV_TREE:
+        if TargetNode.type == FV_TREE or TargetNode.type == SEC_FV_TREE or TargetNode.type == DATA_FV_TREE:
             FinalData = struct2stream(TargetNode.Data.Header) + TargetNode.Data.Data
             with open(outputfile, "wb") as f:
                 f.write(FinalData)
diff --git a/BaseTools/Source/Python/FMMT/core/FvHandler.py b/BaseTools/Source/Python/FMMT/core/FvHandler.py
index ff3d637623f8..b0cc1951a1c6 100644
--- a/BaseTools/Source/Python/FMMT/core/FvHandler.py
+++ b/BaseTools/Source/Python/FMMT/core/FvHandler.py
@@ -279,7 +279,7 @@ class FvHandler:
                             ParTree.Child.remove(ParTree.Child[-1])
                             ParTree.Data.Free_Space = 0
                         ParTree.Data.Size += Needed_Space
-                        ParTree.Data.Header.Fvlength = ParTree.Data.Size
+                        ParTree.Data.Header.FvLength = ParTree.Data.Size
                 ModifyFvSystemGuid(ParTree)
                 for item in ParTree.Child:
                     if item.type == FFS_FREE_SPACE:
@@ -650,8 +650,12 @@ class FvHandler:
             Removed_Space = TargetFv.Data.Free_Space - New_Free_Space
             TargetFv.Child[-1].Data.Data = b'\xff' * New_Free_Space
             TargetFv.Data.Size -= Removed_Space
-            TargetFv.Data.Header.Fvlength = TargetFv.Data.Size
-            ModifyFvSystemGuid(TargetFv)
+            TargetFv.Data.Header.FvLength = TargetFv.Data.Size
+            if struct2stream(TargetFv.Data.Header.FileSystemGuid) == EFI_FIRMWARE_FILE_SYSTEM3_GUID_BYTE:
+                if TargetFv.Data.Size <= 0xFFFFFF:
+                    TargetFv.Data.Header.FileSystemGuid = ModifyGuidFormat(
+                        "8c8ce578-8a3d-4f1c-9935-896185c32dd3")
+
             for item in TargetFv.Child:
                 if item.type == FFS_FREE_SPACE:
                     TargetFv.Data.Data += item.Data.Data + item.Data.PadData
-- 
2.27.0.windows.1


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

* Re: [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv issue
  2023-06-29  3:34 [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv issue Yuwei Chen
@ 2023-06-29  6:54 ` Bob Feng
  2023-08-30  8:43   ` 回复: [edk2-devel] " gaoliming via groups.io
  0 siblings, 1 reply; 9+ messages in thread
From: Bob Feng @ 2023-06-29  6:54 UTC (permalink / raw)
  To: Chen, Christine, devel@edk2.groups.io; +Cc: Rebecca Cran, Gao, Liming

Reviewed-by: Bob Feng <bob.c.feng@intel.com>

-----Original Message-----
From: Chen, Christine <yuwei.chen@intel.com> 
Sent: Thursday, June 29, 2023 11:34 AM
To: devel@edk2.groups.io
Cc: Rebecca Cran <rebecca@bsdio.com>; Gao, Liming <gaoliming@byosoft.com.cn>; Feng, Bob C <bob.c.feng@intel.com>
Subject: [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv issue

1. FvLength not change issue;
2. FileSystemGuid align with File Size;

Cc: Rebecca Cran <rebecca@bsdio.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Bob Feng <bob.c.feng@intel.com>
Signed-off-by: Yuwei Chen <yuwei.chen@intel.com>
---
 BaseTools/Source/Python/FMMT/core/FMMTOperation.py |  2 +-
 BaseTools/Source/Python/FMMT/core/FvHandler.py     | 10 +++++++---
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/BaseTools/Source/Python/FMMT/core/FMMTOperation.py b/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
index a86f8dda9a1a..d4aa3397036d 100644
--- a/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
+++ b/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
@@ -188,7 +188,7 @@ def ExtractFfs(inputfile: str, Ffs_name: str, outputfile: str, Fv_name: str=None
                 FmmtParser.WholeFvTree.Findlist.remove(FmmtParser.WholeFvTree.Findlist[index])
     if FmmtParser.WholeFvTree.Findlist != []:
         TargetNode = FmmtParser.WholeFvTree.Findlist[0]
-        if TargetNode.type == FV_TREE or SEC_FV_TREE or DATA_FV_TREE:
+        if TargetNode.type == FV_TREE or TargetNode.type == SEC_FV_TREE or TargetNode.type == DATA_FV_TREE:
             FinalData = struct2stream(TargetNode.Data.Header) + TargetNode.Data.Data
             with open(outputfile, "wb") as f:
                 f.write(FinalData)
diff --git a/BaseTools/Source/Python/FMMT/core/FvHandler.py b/BaseTools/Source/Python/FMMT/core/FvHandler.py
index ff3d637623f8..b0cc1951a1c6 100644
--- a/BaseTools/Source/Python/FMMT/core/FvHandler.py
+++ b/BaseTools/Source/Python/FMMT/core/FvHandler.py
@@ -279,7 +279,7 @@ class FvHandler:
                             ParTree.Child.remove(ParTree.Child[-1])
                             ParTree.Data.Free_Space = 0
                         ParTree.Data.Size += Needed_Space
-                        ParTree.Data.Header.Fvlength = ParTree.Data.Size
+                        ParTree.Data.Header.FvLength = ParTree.Data.Size
                 ModifyFvSystemGuid(ParTree)
                 for item in ParTree.Child:
                     if item.type == FFS_FREE_SPACE:
@@ -650,8 +650,12 @@ class FvHandler:
             Removed_Space = TargetFv.Data.Free_Space - New_Free_Space
             TargetFv.Child[-1].Data.Data = b'\xff' * New_Free_Space
             TargetFv.Data.Size -= Removed_Space
-            TargetFv.Data.Header.Fvlength = TargetFv.Data.Size
-            ModifyFvSystemGuid(TargetFv)
+            TargetFv.Data.Header.FvLength = TargetFv.Data.Size
+            if struct2stream(TargetFv.Data.Header.FileSystemGuid) == EFI_FIRMWARE_FILE_SYSTEM3_GUID_BYTE:
+                if TargetFv.Data.Size <= 0xFFFFFF:
+                    TargetFv.Data.Header.FileSystemGuid = ModifyGuidFormat(
+                        "8c8ce578-8a3d-4f1c-9935-896185c32dd3")
+
             for item in TargetFv.Child:
                 if item.type == FFS_FREE_SPACE:
                     TargetFv.Data.Data += item.Data.Data + item.Data.PadData
-- 
2.27.0.windows.1


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

* 回复: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv issue
  2023-06-29  6:54 ` Bob Feng
@ 2023-08-30  8:43   ` gaoliming via groups.io
  2023-09-11  1:23     ` Yuwei Chen
       [not found]     ` <1783B3A3A09571FB.23877@groups.io>
  0 siblings, 2 replies; 9+ messages in thread
From: gaoliming via groups.io @ 2023-08-30  8:43 UTC (permalink / raw)
  To: devel, bob.c.feng, 'Chen, Christine'; +Cc: 'Rebecca Cran'

Christine:
  I have no comments for this patch set. Reviewed-by: Liming Gao
<gaoliming@byosoft.com.cn>

Thanks
Liming
> -----邮件原件-----
> 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Bob Feng
> 发送时间: 2023年6月29日 14:54
> 收件人: Chen, Christine <yuwei.chen@intel.com>; devel@edk2.groups.io
> 抄送: Rebecca Cran <rebecca@bsdio.com>; Gao, Liming
> <gaoliming@byosoft.com.cn>
> 主题: Re: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv
issue
> 
> Reviewed-by: Bob Feng <bob.c.feng@intel.com>
> 
> -----Original Message-----
> From: Chen, Christine <yuwei.chen@intel.com>
> Sent: Thursday, June 29, 2023 11:34 AM
> To: devel@edk2.groups.io
> Cc: Rebecca Cran <rebecca@bsdio.com>; Gao, Liming
> <gaoliming@byosoft.com.cn>; Feng, Bob C <bob.c.feng@intel.com>
> Subject: [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv issue
> 
> 1. FvLength not change issue;
> 2. FileSystemGuid align with File Size;
> 
> Cc: Rebecca Cran <rebecca@bsdio.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> Cc: Bob Feng <bob.c.feng@intel.com>
> Signed-off-by: Yuwei Chen <yuwei.chen@intel.com>
> ---
>  BaseTools/Source/Python/FMMT/core/FMMTOperation.py |  2 +-
>  BaseTools/Source/Python/FMMT/core/FvHandler.py     | 10 +++++++---
>  2 files changed, 8 insertions(+), 4 deletions(-)
> 
> diff --git a/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
> b/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
> index a86f8dda9a1a..d4aa3397036d 100644
> --- a/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
> +++ b/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
> @@ -188,7 +188,7 @@ def ExtractFfs(inputfile: str, Ffs_name: str,
outputfile:
> str, Fv_name: str=None
> 
> FmmtParser.WholeFvTree.Findlist.remove(FmmtParser.WholeFvTree.Findlist[i
> ndex])
>      if FmmtParser.WholeFvTree.Findlist != []:
>          TargetNode = FmmtParser.WholeFvTree.Findlist[0]
> -        if TargetNode.type == FV_TREE or SEC_FV_TREE or
> DATA_FV_TREE:
> +        if TargetNode.type == FV_TREE or TargetNode.type ==
> SEC_FV_TREE or TargetNode.type == DATA_FV_TREE:
>              FinalData = struct2stream(TargetNode.Data.Header) +
> TargetNode.Data.Data
>              with open(outputfile, "wb") as f:
>                  f.write(FinalData)
> diff --git a/BaseTools/Source/Python/FMMT/core/FvHandler.py
> b/BaseTools/Source/Python/FMMT/core/FvHandler.py
> index ff3d637623f8..b0cc1951a1c6 100644
> --- a/BaseTools/Source/Python/FMMT/core/FvHandler.py
> +++ b/BaseTools/Source/Python/FMMT/core/FvHandler.py
> @@ -279,7 +279,7 @@ class FvHandler:
>                              ParTree.Child.remove(ParTree.Child[-1])
>                              ParTree.Data.Free_Space = 0
>                          ParTree.Data.Size += Needed_Space
> -                        ParTree.Data.Header.Fvlength =
> ParTree.Data.Size
> +                        ParTree.Data.Header.FvLength =
> ParTree.Data.Size
>                  ModifyFvSystemGuid(ParTree)
>                  for item in ParTree.Child:
>                      if item.type == FFS_FREE_SPACE:
> @@ -650,8 +650,12 @@ class FvHandler:
>              Removed_Space = TargetFv.Data.Free_Space -
> New_Free_Space
>              TargetFv.Child[-1].Data.Data = b'\xff' * New_Free_Space
>              TargetFv.Data.Size -= Removed_Space
> -            TargetFv.Data.Header.Fvlength = TargetFv.Data.Size
> -            ModifyFvSystemGuid(TargetFv)
> +            TargetFv.Data.Header.FvLength = TargetFv.Data.Size
> +            if struct2stream(TargetFv.Data.Header.FileSystemGuid) ==
> EFI_FIRMWARE_FILE_SYSTEM3_GUID_BYTE:
> +                if TargetFv.Data.Size <= 0xFFFFFF:
> +                    TargetFv.Data.Header.FileSystemGuid =
> ModifyGuidFormat(
> +                        "8c8ce578-8a3d-4f1c-9935-896185c32dd3")
> +
>              for item in TargetFv.Child:
>                  if item.type == FFS_FREE_SPACE:
>                      TargetFv.Data.Data += item.Data.Data +
> item.Data.PadData
> --
> 2.27.0.windows.1
> 
> 
> 
> 
> 





-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#108140): https://edk2.groups.io/g/devel/message/108140
Mute This Topic: https://groups.io/mt/101048509/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] [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv issue
  2023-08-30  8:43   ` 回复: [edk2-devel] " gaoliming via groups.io
@ 2023-09-11  1:23     ` Yuwei Chen
       [not found]     ` <1783B3A3A09571FB.23877@groups.io>
  1 sibling, 0 replies; 9+ messages in thread
From: Yuwei Chen @ 2023-09-11  1:23 UTC (permalink / raw)
  To: Gao, Liming, devel@edk2.groups.io, Feng, Bob C; +Cc: 'Rebecca Cran'

Thanks liming~ Hope it will be merged soon~ 😊

Many thanks,
Christine

> -----Original Message-----
> From: gaoliming <gaoliming@byosoft.com.cn>
> Sent: Wednesday, August 30, 2023 4:43 PM
> To: devel@edk2.groups.io; Feng, Bob C <bob.c.feng@intel.com>; Chen,
> Christine <yuwei.chen@intel.com>
> Cc: 'Rebecca Cran' <rebecca@bsdio.com>
> Subject: 回复: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv
> issue
> 
> Christine:
>   I have no comments for this patch set. Reviewed-by: Liming Gao
> <gaoliming@byosoft.com.cn>
> 
> Thanks
> Liming
> > -----邮件原件-----
> > 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Bob Feng
> > 发送时间: 2023年6月29日 14:54
> > 收件人: Chen, Christine <yuwei.chen@intel.com>; devel@edk2.groups.io
> > 抄送: Rebecca Cran <rebecca@bsdio.com>; Gao, Liming
> > <gaoliming@byosoft.com.cn>
> > 主题: Re: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv
> issue
> >
> > Reviewed-by: Bob Feng <bob.c.feng@intel.com>
> >
> > -----Original Message-----
> > From: Chen, Christine <yuwei.chen@intel.com>
> > Sent: Thursday, June 29, 2023 11:34 AM
> > To: devel@edk2.groups.io
> > Cc: Rebecca Cran <rebecca@bsdio.com>; Gao, Liming
> > <gaoliming@byosoft.com.cn>; Feng, Bob C <bob.c.feng@intel.com>
> > Subject: [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv issue
> >
> > 1. FvLength not change issue;
> > 2. FileSystemGuid align with File Size;
> >
> > Cc: Rebecca Cran <rebecca@bsdio.com>
> > Cc: Liming Gao <gaoliming@byosoft.com.cn>
> > Cc: Bob Feng <bob.c.feng@intel.com>
> > Signed-off-by: Yuwei Chen <yuwei.chen@intel.com>
> > ---
> >  BaseTools/Source/Python/FMMT/core/FMMTOperation.py |  2 +-
> >  BaseTools/Source/Python/FMMT/core/FvHandler.py     | 10 +++++++---
> >  2 files changed, 8 insertions(+), 4 deletions(-)
> >
> > diff --git a/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
> > b/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
> > index a86f8dda9a1a..d4aa3397036d 100644
> > --- a/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
> > +++ b/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
> > @@ -188,7 +188,7 @@ def ExtractFfs(inputfile: str, Ffs_name: str,
> outputfile:
> > str, Fv_name: str=None
> >
> > FmmtParser.WholeFvTree.Findlist.remove(FmmtParser.WholeFvTree.Findlist
> > [i
> > ndex])
> >      if FmmtParser.WholeFvTree.Findlist != []:
> >          TargetNode = FmmtParser.WholeFvTree.Findlist[0]
> > -        if TargetNode.type == FV_TREE or SEC_FV_TREE or
> > DATA_FV_TREE:
> > +        if TargetNode.type == FV_TREE or TargetNode.type ==
> > SEC_FV_TREE or TargetNode.type == DATA_FV_TREE:
> >              FinalData = struct2stream(TargetNode.Data.Header) +
> > TargetNode.Data.Data
> >              with open(outputfile, "wb") as f:
> >                  f.write(FinalData)
> > diff --git a/BaseTools/Source/Python/FMMT/core/FvHandler.py
> > b/BaseTools/Source/Python/FMMT/core/FvHandler.py
> > index ff3d637623f8..b0cc1951a1c6 100644
> > --- a/BaseTools/Source/Python/FMMT/core/FvHandler.py
> > +++ b/BaseTools/Source/Python/FMMT/core/FvHandler.py
> > @@ -279,7 +279,7 @@ class FvHandler:
> >                              ParTree.Child.remove(ParTree.Child[-1])
> >                              ParTree.Data.Free_Space = 0
> >                          ParTree.Data.Size += Needed_Space
> > -                        ParTree.Data.Header.Fvlength =
> > ParTree.Data.Size
> > +                        ParTree.Data.Header.FvLength =
> > ParTree.Data.Size
> >                  ModifyFvSystemGuid(ParTree)
> >                  for item in ParTree.Child:
> >                      if item.type == FFS_FREE_SPACE:
> > @@ -650,8 +650,12 @@ class FvHandler:
> >              Removed_Space = TargetFv.Data.Free_Space - New_Free_Space
> >              TargetFv.Child[-1].Data.Data = b'\xff' * New_Free_Space
> >              TargetFv.Data.Size -= Removed_Space
> > -            TargetFv.Data.Header.Fvlength = TargetFv.Data.Size
> > -            ModifyFvSystemGuid(TargetFv)
> > +            TargetFv.Data.Header.FvLength = TargetFv.Data.Size
> > +            if struct2stream(TargetFv.Data.Header.FileSystemGuid) ==
> > EFI_FIRMWARE_FILE_SYSTEM3_GUID_BYTE:
> > +                if TargetFv.Data.Size <= 0xFFFFFF:
> > +                    TargetFv.Data.Header.FileSystemGuid =
> > ModifyGuidFormat(
> > +                        "8c8ce578-8a3d-4f1c-9935-896185c32dd3")
> > +
> >              for item in TargetFv.Child:
> >                  if item.type == FFS_FREE_SPACE:
> >                      TargetFv.Data.Data += item.Data.Data +
> > item.Data.PadData
> > --
> > 2.27.0.windows.1
> >
> >
> >
> > 
> >
> 
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#108471): https://edk2.groups.io/g/devel/message/108471
Mute This Topic: https://groups.io/mt/101284551/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] [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv issue
       [not found]     ` <1783B3A3A09571FB.23877@groups.io>
@ 2023-11-29  8:25       ` Yuwei Chen
  2023-11-29 15:53         ` 回复: " gaoliming via groups.io
  0 siblings, 1 reply; 9+ messages in thread
From: Yuwei Chen @ 2023-11-29  8:25 UTC (permalink / raw)
  To: Gao, Liming, Feng, Bob C
  Cc: 'Rebecca Cran', devel@edk2.groups.io, Chen, Christine,
	Guo, Gua

Hi Liming and Cran,

I have created the Edk2 PR for this one: https://github.com/tianocore/edk2/pull/5009
As it has been reviewed, please help merge that. Thanks~

Thanks,
Yuwei (Christine)

> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Yuwei
> Chen
> Sent: Monday, September 11, 2023 9:23 AM
> To: Gao, Liming <gaoliming@byosoft.com.cn>; devel@edk2.groups.io; Feng,
> Bob C <bob.c.feng@intel.com>
> Cc: 'Rebecca Cran' <rebecca@bsdio.com>
> Subject: Re: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv
> issue
> 
> Thanks liming~ Hope it will be merged soon~ 😊
> 
> Many thanks,
> Christine
> 
> > -----Original Message-----
> > From: gaoliming <gaoliming@byosoft.com.cn>
> > Sent: Wednesday, August 30, 2023 4:43 PM
> > To: devel@edk2.groups.io; Feng, Bob C <bob.c.feng@intel.com>; Chen,
> > Christine <yuwei.chen@intel.com>
> > Cc: 'Rebecca Cran' <rebecca@bsdio.com>
> > Subject: 回复: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT
> > ShrinkFv issue
> >
> > Christine:
> >   I have no comments for this patch set. Reviewed-by: Liming Gao
> > <gaoliming@byosoft.com.cn>
> >
> > Thanks
> > Liming
> > > -----邮件原件-----
> > > 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Bob Feng
> > > 发送时间: 2023年6月29日 14:54
> > > 收件人: Chen, Christine <yuwei.chen@intel.com>; devel@edk2.groups.io
> > > 抄送: Rebecca Cran <rebecca@bsdio.com>; Gao, Liming
> > > <gaoliming@byosoft.com.cn>
> > > 主题: Re: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv
> > issue
> > >
> > > Reviewed-by: Bob Feng <bob.c.feng@intel.com>
> > >
> > > -----Original Message-----
> > > From: Chen, Christine <yuwei.chen@intel.com>
> > > Sent: Thursday, June 29, 2023 11:34 AM
> > > To: devel@edk2.groups.io
> > > Cc: Rebecca Cran <rebecca@bsdio.com>; Gao, Liming
> > > <gaoliming@byosoft.com.cn>; Feng, Bob C <bob.c.feng@intel.com>
> > > Subject: [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv issue
> > >
> > > 1. FvLength not change issue;
> > > 2. FileSystemGuid align with File Size;
> > >
> > > Cc: Rebecca Cran <rebecca@bsdio.com>
> > > Cc: Liming Gao <gaoliming@byosoft.com.cn>
> > > Cc: Bob Feng <bob.c.feng@intel.com>
> > > Signed-off-by: Yuwei Chen <yuwei.chen@intel.com>
> > > ---
> > >  BaseTools/Source/Python/FMMT/core/FMMTOperation.py |  2 +-
> > >  BaseTools/Source/Python/FMMT/core/FvHandler.py     | 10 +++++++---
> > >  2 files changed, 8 insertions(+), 4 deletions(-)
> > >
> > > diff --git a/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
> > > b/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
> > > index a86f8dda9a1a..d4aa3397036d 100644
> > > --- a/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
> > > +++ b/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
> > > @@ -188,7 +188,7 @@ def ExtractFfs(inputfile: str, Ffs_name: str,
> > outputfile:
> > > str, Fv_name: str=None
> > >
> > > FmmtParser.WholeFvTree.Findlist.remove(FmmtParser.WholeFvTree.Findli
> > > st
> > > [i
> > > ndex])
> > >      if FmmtParser.WholeFvTree.Findlist != []:
> > >          TargetNode = FmmtParser.WholeFvTree.Findlist[0]
> > > -        if TargetNode.type == FV_TREE or SEC_FV_TREE or
> > > DATA_FV_TREE:
> > > +        if TargetNode.type == FV_TREE or TargetNode.type ==
> > > SEC_FV_TREE or TargetNode.type == DATA_FV_TREE:
> > >              FinalData = struct2stream(TargetNode.Data.Header) +
> > > TargetNode.Data.Data
> > >              with open(outputfile, "wb") as f:
> > >                  f.write(FinalData)
> > > diff --git a/BaseTools/Source/Python/FMMT/core/FvHandler.py
> > > b/BaseTools/Source/Python/FMMT/core/FvHandler.py
> > > index ff3d637623f8..b0cc1951a1c6 100644
> > > --- a/BaseTools/Source/Python/FMMT/core/FvHandler.py
> > > +++ b/BaseTools/Source/Python/FMMT/core/FvHandler.py
> > > @@ -279,7 +279,7 @@ class FvHandler:
> > >                              ParTree.Child.remove(ParTree.Child[-1])
> > >                              ParTree.Data.Free_Space = 0
> > >                          ParTree.Data.Size += Needed_Space
> > > -                        ParTree.Data.Header.Fvlength =
> > > ParTree.Data.Size
> > > +                        ParTree.Data.Header.FvLength =
> > > ParTree.Data.Size
> > >                  ModifyFvSystemGuid(ParTree)
> > >                  for item in ParTree.Child:
> > >                      if item.type == FFS_FREE_SPACE:
> > > @@ -650,8 +650,12 @@ class FvHandler:
> > >              Removed_Space = TargetFv.Data.Free_Space - New_Free_Space
> > >              TargetFv.Child[-1].Data.Data = b'\xff' * New_Free_Space
> > >              TargetFv.Data.Size -= Removed_Space
> > > -            TargetFv.Data.Header.Fvlength = TargetFv.Data.Size
> > > -            ModifyFvSystemGuid(TargetFv)
> > > +            TargetFv.Data.Header.FvLength = TargetFv.Data.Size
> > > +            if struct2stream(TargetFv.Data.Header.FileSystemGuid)
> > > + ==
> > > EFI_FIRMWARE_FILE_SYSTEM3_GUID_BYTE:
> > > +                if TargetFv.Data.Size <= 0xFFFFFF:
> > > +                    TargetFv.Data.Header.FileSystemGuid =
> > > ModifyGuidFormat(
> > > +                        "8c8ce578-8a3d-4f1c-9935-896185c32dd3")
> > > +
> > >              for item in TargetFv.Child:
> > >                  if item.type == FFS_FREE_SPACE:
> > >                      TargetFv.Data.Data += item.Data.Data +
> > > item.Data.PadData
> > > --
> > > 2.27.0.windows.1
> > >
> > >
> > >
> > >
> > >
> >
> >
> 
> 
> 
> 
> 



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

* 回复: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv issue
  2023-11-29  8:25       ` Yuwei Chen
@ 2023-11-29 15:53         ` gaoliming via groups.io
  2023-12-04  2:58           ` Yuwei Chen
  0 siblings, 1 reply; 9+ messages in thread
From: gaoliming via groups.io @ 2023-11-29 15:53 UTC (permalink / raw)
  To: devel, yuwei.chen, 'Feng, Bob C'
  Cc: 'Rebecca Cran', 'Guo, Gua'

Yuwei:
  Please update commit message with reviewed-by info, then I will add push label for this patch set. 

Thanks
Liming
> -----邮件原件-----
> 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Yuwei Chen
> 发送时间: 2023年11月29日 16:26
> 收件人: Gao, Liming <gaoliming@byosoft.com.cn>; Feng, Bob C
> <bob.c.feng@intel.com>
> 抄送: 'Rebecca Cran' <rebecca@bsdio.com>; devel@edk2.groups.io; Chen,
> Christine <yuwei.chen@intel.com>; Guo, Gua <gua.guo@intel.com>
> 主题: Re: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv issue
> 
> Hi Liming and Cran,
> 
> I have created the Edk2 PR for this one:
> https://github.com/tianocore/edk2/pull/5009
> As it has been reviewed, please help merge that. Thanks~
> 
> Thanks,
> Yuwei (Christine)
> 
> > -----Original Message-----
> > From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Yuwei
> > Chen
> > Sent: Monday, September 11, 2023 9:23 AM
> > To: Gao, Liming <gaoliming@byosoft.com.cn>; devel@edk2.groups.io; Feng,
> > Bob C <bob.c.feng@intel.com>
> > Cc: 'Rebecca Cran' <rebecca@bsdio.com>
> > Subject: Re: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv
> > issue
> >
> > Thanks liming~ Hope it will be merged soon~ 😊
> >
> > Many thanks,
> > Christine
> >
> > > -----Original Message-----
> > > From: gaoliming <gaoliming@byosoft.com.cn>
> > > Sent: Wednesday, August 30, 2023 4:43 PM
> > > To: devel@edk2.groups.io; Feng, Bob C <bob.c.feng@intel.com>; Chen,
> > > Christine <yuwei.chen@intel.com>
> > > Cc: 'Rebecca Cran' <rebecca@bsdio.com>
> > > Subject: 回复: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT
> > > ShrinkFv issue
> > >
> > > Christine:
> > >   I have no comments for this patch set. Reviewed-by: Liming Gao
> > > <gaoliming@byosoft.com.cn>
> > >
> > > Thanks
> > > Liming
> > > > -----邮件原件-----
> > > > 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Bob
> Feng
> > > > 发送时间: 2023年6月29日 14:54
> > > > 收件人: Chen, Christine <yuwei.chen@intel.com>;
> devel@edk2.groups.io
> > > > 抄送: Rebecca Cran <rebecca@bsdio.com>; Gao, Liming
> > > > <gaoliming@byosoft.com.cn>
> > > > 主题: Re: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv
> > > issue
> > > >
> > > > Reviewed-by: Bob Feng <bob.c.feng@intel.com>
> > > >
> > > > -----Original Message-----
> > > > From: Chen, Christine <yuwei.chen@intel.com>
> > > > Sent: Thursday, June 29, 2023 11:34 AM
> > > > To: devel@edk2.groups.io
> > > > Cc: Rebecca Cran <rebecca@bsdio.com>; Gao, Liming
> > > > <gaoliming@byosoft.com.cn>; Feng, Bob C <bob.c.feng@intel.com>
> > > > Subject: [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv issue
> > > >
> > > > 1. FvLength not change issue;
> > > > 2. FileSystemGuid align with File Size;
> > > >
> > > > Cc: Rebecca Cran <rebecca@bsdio.com>
> > > > Cc: Liming Gao <gaoliming@byosoft.com.cn>
> > > > Cc: Bob Feng <bob.c.feng@intel.com>
> > > > Signed-off-by: Yuwei Chen <yuwei.chen@intel.com>
> > > > ---
> > > >  BaseTools/Source/Python/FMMT/core/FMMTOperation.py |  2 +-
> > > >  BaseTools/Source/Python/FMMT/core/FvHandler.py     | 10
> +++++++---
> > > >  2 files changed, 8 insertions(+), 4 deletions(-)
> > > >
> > > > diff --git a/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
> > > > b/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
> > > > index a86f8dda9a1a..d4aa3397036d 100644
> > > > --- a/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
> > > > +++ b/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
> > > > @@ -188,7 +188,7 @@ def ExtractFfs(inputfile: str, Ffs_name: str,
> > > outputfile:
> > > > str, Fv_name: str=None
> > > >
> > > >
> FmmtParser.WholeFvTree.Findlist.remove(FmmtParser.WholeFvTree.Findli
> > > > st
> > > > [i
> > > > ndex])
> > > >      if FmmtParser.WholeFvTree.Findlist != []:
> > > >          TargetNode = FmmtParser.WholeFvTree.Findlist[0]
> > > > -        if TargetNode.type == FV_TREE or SEC_FV_TREE or
> > > > DATA_FV_TREE:
> > > > +        if TargetNode.type == FV_TREE or TargetNode.type ==
> > > > SEC_FV_TREE or TargetNode.type == DATA_FV_TREE:
> > > >              FinalData = struct2stream(TargetNode.Data.Header) +
> > > > TargetNode.Data.Data
> > > >              with open(outputfile, "wb") as f:
> > > >                  f.write(FinalData)
> > > > diff --git a/BaseTools/Source/Python/FMMT/core/FvHandler.py
> > > > b/BaseTools/Source/Python/FMMT/core/FvHandler.py
> > > > index ff3d637623f8..b0cc1951a1c6 100644
> > > > --- a/BaseTools/Source/Python/FMMT/core/FvHandler.py
> > > > +++ b/BaseTools/Source/Python/FMMT/core/FvHandler.py
> > > > @@ -279,7 +279,7 @@ class FvHandler:
> > > >
> ParTree.Child.remove(ParTree.Child[-1])
> > > >                              ParTree.Data.Free_Space = 0
> > > >                          ParTree.Data.Size += Needed_Space
> > > > -                        ParTree.Data.Header.Fvlength =
> > > > ParTree.Data.Size
> > > > +                        ParTree.Data.Header.FvLength =
> > > > ParTree.Data.Size
> > > >                  ModifyFvSystemGuid(ParTree)
> > > >                  for item in ParTree.Child:
> > > >                      if item.type == FFS_FREE_SPACE:
> > > > @@ -650,8 +650,12 @@ class FvHandler:
> > > >              Removed_Space = TargetFv.Data.Free_Space -
> New_Free_Space
> > > >              TargetFv.Child[-1].Data.Data = b'\xff' *
> New_Free_Space
> > > >              TargetFv.Data.Size -= Removed_Space
> > > > -            TargetFv.Data.Header.Fvlength = TargetFv.Data.Size
> > > > -            ModifyFvSystemGuid(TargetFv)
> > > > +            TargetFv.Data.Header.FvLength = TargetFv.Data.Size
> > > > +            if struct2stream(TargetFv.Data.Header.FileSystemGuid)
> > > > + ==
> > > > EFI_FIRMWARE_FILE_SYSTEM3_GUID_BYTE:
> > > > +                if TargetFv.Data.Size <= 0xFFFFFF:
> > > > +                    TargetFv.Data.Header.FileSystemGuid =
> > > > ModifyGuidFormat(
> > > > +
> "8c8ce578-8a3d-4f1c-9935-896185c32dd3")
> > > > +
> > > >              for item in TargetFv.Child:
> > > >                  if item.type == FFS_FREE_SPACE:
> > > >                      TargetFv.Data.Data += item.Data.Data +
> > > > item.Data.PadData
> > > > --
> > > > 2.27.0.windows.1
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
> >
> >
> >
> 
> 
> 
> 
> 





-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#111846): https://edk2.groups.io/g/devel/message/111846
Mute This Topic: https://groups.io/mt/102874227/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] [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv issue
  2023-11-29 15:53         ` 回复: " gaoliming via groups.io
@ 2023-12-04  2:58           ` Yuwei Chen
  2023-12-11  9:04             ` 回复: " gaoliming via groups.io
  0 siblings, 1 reply; 9+ messages in thread
From: Yuwei Chen @ 2023-12-04  2:58 UTC (permalink / raw)
  To: Gao, Liming, devel@edk2.groups.io, Feng, Bob C
  Cc: 'Rebecca Cran', Guo, Gua

Hi Liming,
To avoid wrong operation. I create a new PR for this patch series with Reviewed-by. 
Please help adding push label. Thanks.
https://github.com/tianocore/edk2/pull/5102

Thanks,
Christine

> -----Original Message-----
> From: gaoliming <gaoliming@byosoft.com.cn>
> Sent: Wednesday, November 29, 2023 11:53 PM
> To: devel@edk2.groups.io; Chen, Christine <yuwei.chen@intel.com>; Feng,
> Bob C <bob.c.feng@intel.com>
> Cc: 'Rebecca Cran' <rebecca@bsdio.com>; Guo, Gua <gua.guo@intel.com>
> Subject: 回复: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv
> issue
> 
> Yuwei:
>   Please update commit message with reviewed-by info, then I will add push
> label for this patch set.
> 
> Thanks
> Liming
> > -----邮件原件-----
> > 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Yuwei Chen
> > 发送时间: 2023年11月29日 16:26
> > 收件人: Gao, Liming <gaoliming@byosoft.com.cn>; Feng, Bob C
> > <bob.c.feng@intel.com>
> > 抄送: 'Rebecca Cran' <rebecca@bsdio.com>; devel@edk2.groups.io; Chen,
> > Christine <yuwei.chen@intel.com>; Guo, Gua <gua.guo@intel.com>
> > 主题: Re: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv
> > issue
> >
> > Hi Liming and Cran,
> >
> > I have created the Edk2 PR for this one:
> > https://github.com/tianocore/edk2/pull/5009
> > As it has been reviewed, please help merge that. Thanks~
> >
> > Thanks,
> > Yuwei (Christine)
> >
> > > -----Original Message-----
> > > From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Yuwei
> > > Chen
> > > Sent: Monday, September 11, 2023 9:23 AM
> > > To: Gao, Liming <gaoliming@byosoft.com.cn>; devel@edk2.groups.io;
> > > Feng, Bob C <bob.c.feng@intel.com>
> > > Cc: 'Rebecca Cran' <rebecca@bsdio.com>
> > > Subject: Re: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT
> > > ShrinkFv issue
> > >
> > > Thanks liming~ Hope it will be merged soon~ 😊
> > >
> > > Many thanks,
> > > Christine
> > >
> > > > -----Original Message-----
> > > > From: gaoliming <gaoliming@byosoft.com.cn>
> > > > Sent: Wednesday, August 30, 2023 4:43 PM
> > > > To: devel@edk2.groups.io; Feng, Bob C <bob.c.feng@intel.com>;
> > > > Chen, Christine <yuwei.chen@intel.com>
> > > > Cc: 'Rebecca Cran' <rebecca@bsdio.com>
> > > > Subject: 回复: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT
> > > > ShrinkFv issue
> > > >
> > > > Christine:
> > > >   I have no comments for this patch set. Reviewed-by: Liming Gao
> > > > <gaoliming@byosoft.com.cn>
> > > >
> > > > Thanks
> > > > Liming
> > > > > -----邮件原件-----
> > > > > 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Bob
> > Feng
> > > > > 发送时间: 2023年6月29日 14:54
> > > > > 收件人: Chen, Christine <yuwei.chen@intel.com>;
> > devel@edk2.groups.io
> > > > > 抄送: Rebecca Cran <rebecca@bsdio.com>; Gao, Liming
> > > > > <gaoliming@byosoft.com.cn>
> > > > > 主题: Re: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT
> > > > > ShrinkFv
> > > > issue
> > > > >
> > > > > Reviewed-by: Bob Feng <bob.c.feng@intel.com>
> > > > >
> > > > > -----Original Message-----
> > > > > From: Chen, Christine <yuwei.chen@intel.com>
> > > > > Sent: Thursday, June 29, 2023 11:34 AM
> > > > > To: devel@edk2.groups.io
> > > > > Cc: Rebecca Cran <rebecca@bsdio.com>; Gao, Liming
> > > > > <gaoliming@byosoft.com.cn>; Feng, Bob C <bob.c.feng@intel.com>
> > > > > Subject: [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv issue
> > > > >
> > > > > 1. FvLength not change issue;
> > > > > 2. FileSystemGuid align with File Size;
> > > > >
> > > > > Cc: Rebecca Cran <rebecca@bsdio.com>
> > > > > Cc: Liming Gao <gaoliming@byosoft.com.cn>
> > > > > Cc: Bob Feng <bob.c.feng@intel.com>
> > > > > Signed-off-by: Yuwei Chen <yuwei.chen@intel.com>
> > > > > ---
> > > > >  BaseTools/Source/Python/FMMT/core/FMMTOperation.py |  2 +-
> > > > >  BaseTools/Source/Python/FMMT/core/FvHandler.py     | 10
> > +++++++---
> > > > >  2 files changed, 8 insertions(+), 4 deletions(-)
> > > > >
> > > > > diff --git a/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
> > > > > b/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
> > > > > index a86f8dda9a1a..d4aa3397036d 100644
> > > > > --- a/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
> > > > > +++ b/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
> > > > > @@ -188,7 +188,7 @@ def ExtractFfs(inputfile: str, Ffs_name:
> > > > > str,
> > > > outputfile:
> > > > > str, Fv_name: str=None
> > > > >
> > > > >
> > FmmtParser.WholeFvTree.Findlist.remove(FmmtParser.WholeFvTree.Findli
> > > > > st
> > > > > [i
> > > > > ndex])
> > > > >      if FmmtParser.WholeFvTree.Findlist != []:
> > > > >          TargetNode = FmmtParser.WholeFvTree.Findlist[0]
> > > > > -        if TargetNode.type == FV_TREE or SEC_FV_TREE or
> > > > > DATA_FV_TREE:
> > > > > +        if TargetNode.type == FV_TREE or TargetNode.type ==
> > > > > SEC_FV_TREE or TargetNode.type == DATA_FV_TREE:
> > > > >              FinalData = struct2stream(TargetNode.Data.Header) +
> > > > > TargetNode.Data.Data
> > > > >              with open(outputfile, "wb") as f:
> > > > >                  f.write(FinalData) diff --git
> > > > > a/BaseTools/Source/Python/FMMT/core/FvHandler.py
> > > > > b/BaseTools/Source/Python/FMMT/core/FvHandler.py
> > > > > index ff3d637623f8..b0cc1951a1c6 100644
> > > > > --- a/BaseTools/Source/Python/FMMT/core/FvHandler.py
> > > > > +++ b/BaseTools/Source/Python/FMMT/core/FvHandler.py
> > > > > @@ -279,7 +279,7 @@ class FvHandler:
> > > > >
> > ParTree.Child.remove(ParTree.Child[-1])
> > > > >                              ParTree.Data.Free_Space = 0
> > > > >                          ParTree.Data.Size += Needed_Space
> > > > > -                        ParTree.Data.Header.Fvlength =
> > > > > ParTree.Data.Size
> > > > > +                        ParTree.Data.Header.FvLength =
> > > > > ParTree.Data.Size
> > > > >                  ModifyFvSystemGuid(ParTree)
> > > > >                  for item in ParTree.Child:
> > > > >                      if item.type == FFS_FREE_SPACE:
> > > > > @@ -650,8 +650,12 @@ class FvHandler:
> > > > >              Removed_Space = TargetFv.Data.Free_Space -
> > New_Free_Space
> > > > >              TargetFv.Child[-1].Data.Data = b'\xff' *
> > New_Free_Space
> > > > >              TargetFv.Data.Size -= Removed_Space
> > > > > -            TargetFv.Data.Header.Fvlength = TargetFv.Data.Size
> > > > > -            ModifyFvSystemGuid(TargetFv)
> > > > > +            TargetFv.Data.Header.FvLength = TargetFv.Data.Size
> > > > > +            if
> > > > > + struct2stream(TargetFv.Data.Header.FileSystemGuid)
> > > > > + ==
> > > > > EFI_FIRMWARE_FILE_SYSTEM3_GUID_BYTE:
> > > > > +                if TargetFv.Data.Size <= 0xFFFFFF:
> > > > > +                    TargetFv.Data.Header.FileSystemGuid =
> > > > > ModifyGuidFormat(
> > > > > +
> > "8c8ce578-8a3d-4f1c-9935-896185c32dd3")
> > > > > +
> > > > >              for item in TargetFv.Child:
> > > > >                  if item.type == FFS_FREE_SPACE:
> > > > >                      TargetFv.Data.Data += item.Data.Data +
> > > > > item.Data.PadData
> > > > > --
> > > > > 2.27.0.windows.1
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> > 
> >
> 
> 



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

* 回复: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv issue
  2023-12-04  2:58           ` Yuwei Chen
@ 2023-12-11  9:04             ` gaoliming via groups.io
  2023-12-11  9:34               ` Yuwei Chen
  0 siblings, 1 reply; 9+ messages in thread
From: gaoliming via groups.io @ 2023-12-11  9:04 UTC (permalink / raw)
  To: 'Chen, Christine', devel, 'Feng, Bob C'
  Cc: 'Rebecca Cran', 'Guo, Gua'

Christine:
  I add PUSH label for this PR.

Thanks
Liming
> -----邮件原件-----
> 发件人: Chen, Christine <yuwei.chen@intel.com>
> 发送时间: 2023年12月4日 10:59
> 收件人: Gao, Liming <gaoliming@byosoft.com.cn>; devel@edk2.groups.io;
> Feng, Bob C <bob.c.feng@intel.com>
> 抄送: 'Rebecca Cran' <rebecca@bsdio.com>; Guo, Gua <gua.guo@intel.com>
> 主题: RE: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv issue
> 
> Hi Liming,
> To avoid wrong operation. I create a new PR for this patch series with
> Reviewed-by.
> Please help adding push label. Thanks.
> https://github.com/tianocore/edk2/pull/5102
> 
> Thanks,
> Christine
> 
> > -----Original Message-----
> > From: gaoliming <gaoliming@byosoft.com.cn>
> > Sent: Wednesday, November 29, 2023 11:53 PM
> > To: devel@edk2.groups.io; Chen, Christine <yuwei.chen@intel.com>; Feng,
> > Bob C <bob.c.feng@intel.com>
> > Cc: 'Rebecca Cran' <rebecca@bsdio.com>; Guo, Gua <gua.guo@intel.com>
> > Subject: 回复: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT
> ShrinkFv
> > issue
> >
> > Yuwei:
> >   Please update commit message with reviewed-by info, then I will add
> push
> > label for this patch set.
> >
> > Thanks
> > Liming
> > > -----邮件原件-----
> > > 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Yuwei
> Chen
> > > 发送时间: 2023年11月29日 16:26
> > > 收件人: Gao, Liming <gaoliming@byosoft.com.cn>; Feng, Bob C
> > > <bob.c.feng@intel.com>
> > > 抄送: 'Rebecca Cran' <rebecca@bsdio.com>; devel@edk2.groups.io;
> Chen,
> > > Christine <yuwei.chen@intel.com>; Guo, Gua <gua.guo@intel.com>
> > > 主题: Re: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv
> > > issue
> > >
> > > Hi Liming and Cran,
> > >
> > > I have created the Edk2 PR for this one:
> > > https://github.com/tianocore/edk2/pull/5009
> > > As it has been reviewed, please help merge that. Thanks~
> > >
> > > Thanks,
> > > Yuwei (Christine)
> > >
> > > > -----Original Message-----
> > > > From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of
> Yuwei
> > > > Chen
> > > > Sent: Monday, September 11, 2023 9:23 AM
> > > > To: Gao, Liming <gaoliming@byosoft.com.cn>; devel@edk2.groups.io;
> > > > Feng, Bob C <bob.c.feng@intel.com>
> > > > Cc: 'Rebecca Cran' <rebecca@bsdio.com>
> > > > Subject: Re: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT
> > > > ShrinkFv issue
> > > >
> > > > Thanks liming~ Hope it will be merged soon~ 😊
> > > >
> > > > Many thanks,
> > > > Christine
> > > >
> > > > > -----Original Message-----
> > > > > From: gaoliming <gaoliming@byosoft.com.cn>
> > > > > Sent: Wednesday, August 30, 2023 4:43 PM
> > > > > To: devel@edk2.groups.io; Feng, Bob C <bob.c.feng@intel.com>;
> > > > > Chen, Christine <yuwei.chen@intel.com>
> > > > > Cc: 'Rebecca Cran' <rebecca@bsdio.com>
> > > > > Subject: 回复: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT
> > > > > ShrinkFv issue
> > > > >
> > > > > Christine:
> > > > >   I have no comments for this patch set. Reviewed-by: Liming Gao
> > > > > <gaoliming@byosoft.com.cn>
> > > > >
> > > > > Thanks
> > > > > Liming
> > > > > > -----邮件原件-----
> > > > > > 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Bob
> > > Feng
> > > > > > 发送时间: 2023年6月29日 14:54
> > > > > > 收件人: Chen, Christine <yuwei.chen@intel.com>;
> > > devel@edk2.groups.io
> > > > > > 抄送: Rebecca Cran <rebecca@bsdio.com>; Gao, Liming
> > > > > > <gaoliming@byosoft.com.cn>
> > > > > > 主题: Re: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT
> > > > > > ShrinkFv
> > > > > issue
> > > > > >
> > > > > > Reviewed-by: Bob Feng <bob.c.feng@intel.com>
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: Chen, Christine <yuwei.chen@intel.com>
> > > > > > Sent: Thursday, June 29, 2023 11:34 AM
> > > > > > To: devel@edk2.groups.io
> > > > > > Cc: Rebecca Cran <rebecca@bsdio.com>; Gao, Liming
> > > > > > <gaoliming@byosoft.com.cn>; Feng, Bob C <bob.c.feng@intel.com>
> > > > > > Subject: [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv issue
> > > > > >
> > > > > > 1. FvLength not change issue;
> > > > > > 2. FileSystemGuid align with File Size;
> > > > > >
> > > > > > Cc: Rebecca Cran <rebecca@bsdio.com>
> > > > > > Cc: Liming Gao <gaoliming@byosoft.com.cn>
> > > > > > Cc: Bob Feng <bob.c.feng@intel.com>
> > > > > > Signed-off-by: Yuwei Chen <yuwei.chen@intel.com>
> > > > > > ---
> > > > > >  BaseTools/Source/Python/FMMT/core/FMMTOperation.py |  2 +-
> > > > > >  BaseTools/Source/Python/FMMT/core/FvHandler.py     | 10
> > > +++++++---
> > > > > >  2 files changed, 8 insertions(+), 4 deletions(-)
> > > > > >
> > > > > > diff --git
> a/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
> > > > > > b/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
> > > > > > index a86f8dda9a1a..d4aa3397036d 100644
> > > > > > --- a/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
> > > > > > +++ b/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
> > > > > > @@ -188,7 +188,7 @@ def ExtractFfs(inputfile: str, Ffs_name:
> > > > > > str,
> > > > > outputfile:
> > > > > > str, Fv_name: str=None
> > > > > >
> > > > > >
> > > FmmtParser.WholeFvTree.Findlist.remove(FmmtParser.WholeFvTree.Findli
> > > > > > st
> > > > > > [i
> > > > > > ndex])
> > > > > >      if FmmtParser.WholeFvTree.Findlist != []:
> > > > > >          TargetNode = FmmtParser.WholeFvTree.Findlist[0]
> > > > > > -        if TargetNode.type == FV_TREE or SEC_FV_TREE or
> > > > > > DATA_FV_TREE:
> > > > > > +        if TargetNode.type == FV_TREE or TargetNode.type ==
> > > > > > SEC_FV_TREE or TargetNode.type == DATA_FV_TREE:
> > > > > >              FinalData = struct2stream(TargetNode.Data.Header)
> +
> > > > > > TargetNode.Data.Data
> > > > > >              with open(outputfile, "wb") as f:
> > > > > >                  f.write(FinalData) diff --git
> > > > > > a/BaseTools/Source/Python/FMMT/core/FvHandler.py
> > > > > > b/BaseTools/Source/Python/FMMT/core/FvHandler.py
> > > > > > index ff3d637623f8..b0cc1951a1c6 100644
> > > > > > --- a/BaseTools/Source/Python/FMMT/core/FvHandler.py
> > > > > > +++ b/BaseTools/Source/Python/FMMT/core/FvHandler.py
> > > > > > @@ -279,7 +279,7 @@ class FvHandler:
> > > > > >
> > > ParTree.Child.remove(ParTree.Child[-1])
> > > > > >                              ParTree.Data.Free_Space = 0
> > > > > >                          ParTree.Data.Size += Needed_Space
> > > > > > -                        ParTree.Data.Header.Fvlength =
> > > > > > ParTree.Data.Size
> > > > > > +                        ParTree.Data.Header.FvLength =
> > > > > > ParTree.Data.Size
> > > > > >                  ModifyFvSystemGuid(ParTree)
> > > > > >                  for item in ParTree.Child:
> > > > > >                      if item.type == FFS_FREE_SPACE:
> > > > > > @@ -650,8 +650,12 @@ class FvHandler:
> > > > > >              Removed_Space = TargetFv.Data.Free_Space -
> > > New_Free_Space
> > > > > >              TargetFv.Child[-1].Data.Data = b'\xff' *
> > > New_Free_Space
> > > > > >              TargetFv.Data.Size -= Removed_Space
> > > > > > -            TargetFv.Data.Header.Fvlength = TargetFv.Data.Size
> > > > > > -            ModifyFvSystemGuid(TargetFv)
> > > > > > +            TargetFv.Data.Header.FvLength = TargetFv.Data.Size
> > > > > > +            if
> > > > > > + struct2stream(TargetFv.Data.Header.FileSystemGuid)
> > > > > > + ==
> > > > > > EFI_FIRMWARE_FILE_SYSTEM3_GUID_BYTE:
> > > > > > +                if TargetFv.Data.Size <= 0xFFFFFF:
> > > > > > +                    TargetFv.Data.Header.FileSystemGuid =
> > > > > > ModifyGuidFormat(
> > > > > > +
> > > "8c8ce578-8a3d-4f1c-9935-896185c32dd3")
> > > > > > +
> > > > > >              for item in TargetFv.Child:
> > > > > >                  if item.type == FFS_FREE_SPACE:
> > > > > >                      TargetFv.Data.Data += item.Data.Data +
> > > > > > item.Data.PadData
> > > > > > --
> > > > > > 2.27.0.windows.1
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > 
> > >
> >
> >





-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#112274): https://edk2.groups.io/g/devel/message/112274
Mute This Topic: https://groups.io/mt/103105535/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] [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv issue
  2023-12-11  9:04             ` 回复: " gaoliming via groups.io
@ 2023-12-11  9:34               ` Yuwei Chen
  0 siblings, 0 replies; 9+ messages in thread
From: Yuwei Chen @ 2023-12-11  9:34 UTC (permalink / raw)
  To: Gao, Liming, devel@edk2.groups.io, Feng, Bob C
  Cc: 'Rebecca Cran', Guo, Gua

Thanks a lot~

> -----Original Message-----
> From: gaoliming <gaoliming@byosoft.com.cn>
> Sent: Monday, December 11, 2023 5:04 PM
> To: Chen, Christine <yuwei.chen@intel.com>; devel@edk2.groups.io; Feng,
> Bob C <bob.c.feng@intel.com>
> Cc: 'Rebecca Cran' <rebecca@bsdio.com>; Guo, Gua <gua.guo@intel.com>
> Subject: 回复: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv
> issue
> 
> Christine:
>   I add PUSH label for this PR.
> 
> Thanks
> Liming
> > -----邮件原件-----
> > 发件人: Chen, Christine <yuwei.chen@intel.com>
> > 发送时间: 2023年12月4日 10:59
> > 收件人: Gao, Liming <gaoliming@byosoft.com.cn>; devel@edk2.groups.io;
> > Feng, Bob C <bob.c.feng@intel.com>
> > 抄送: 'Rebecca Cran' <rebecca@bsdio.com>; Guo, Gua
> <gua.guo@intel.com>
> > 主题: RE: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv
> > issue
> >
> > Hi Liming,
> > To avoid wrong operation. I create a new PR for this patch series with
> > Reviewed-by.
> > Please help adding push label. Thanks.
> > https://github.com/tianocore/edk2/pull/5102
> >
> > Thanks,
> > Christine
> >
> > > -----Original Message-----
> > > From: gaoliming <gaoliming@byosoft.com.cn>
> > > Sent: Wednesday, November 29, 2023 11:53 PM
> > > To: devel@edk2.groups.io; Chen, Christine <yuwei.chen@intel.com>;
> > > Feng, Bob C <bob.c.feng@intel.com>
> > > Cc: 'Rebecca Cran' <rebecca@bsdio.com>; Guo, Gua
> <gua.guo@intel.com>
> > > Subject: 回复: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT
> > ShrinkFv
> > > issue
> > >
> > > Yuwei:
> > >   Please update commit message with reviewed-by info, then I will
> > > add
> > push
> > > label for this patch set.
> > >
> > > Thanks
> > > Liming
> > > > -----邮件原件-----
> > > > 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Yuwei
> > Chen
> > > > 发送时间: 2023年11月29日 16:26
> > > > 收件人: Gao, Liming <gaoliming@byosoft.com.cn>; Feng, Bob C
> > > > <bob.c.feng@intel.com>
> > > > 抄送: 'Rebecca Cran' <rebecca@bsdio.com>; devel@edk2.groups.io;
> > Chen,
> > > > Christine <yuwei.chen@intel.com>; Guo, Gua <gua.guo@intel.com>
> > > > 主题: Re: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT
> > > > ShrinkFv issue
> > > >
> > > > Hi Liming and Cran,
> > > >
> > > > I have created the Edk2 PR for this one:
> > > > https://github.com/tianocore/edk2/pull/5009
> > > > As it has been reviewed, please help merge that. Thanks~
> > > >
> > > > Thanks,
> > > > Yuwei (Christine)
> > > >
> > > > > -----Original Message-----
> > > > > From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of
> > Yuwei
> > > > > Chen
> > > > > Sent: Monday, September 11, 2023 9:23 AM
> > > > > To: Gao, Liming <gaoliming@byosoft.com.cn>;
> > > > > devel@edk2.groups.io; Feng, Bob C <bob.c.feng@intel.com>
> > > > > Cc: 'Rebecca Cran' <rebecca@bsdio.com>
> > > > > Subject: Re: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT
> > > > > ShrinkFv issue
> > > > >
> > > > > Thanks liming~ Hope it will be merged soon~ 😊
> > > > >
> > > > > Many thanks,
> > > > > Christine
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: gaoliming <gaoliming@byosoft.com.cn>
> > > > > > Sent: Wednesday, August 30, 2023 4:43 PM
> > > > > > To: devel@edk2.groups.io; Feng, Bob C <bob.c.feng@intel.com>;
> > > > > > Chen, Christine <yuwei.chen@intel.com>
> > > > > > Cc: 'Rebecca Cran' <rebecca@bsdio.com>
> > > > > > Subject: 回复: [edk2-devel] [Patch V2 1/4] BaseTools: fixing
> > > > > > FMMT ShrinkFv issue
> > > > > >
> > > > > > Christine:
> > > > > >   I have no comments for this patch set. Reviewed-by: Liming
> > > > > > Gao <gaoliming@byosoft.com.cn>
> > > > > >
> > > > > > Thanks
> > > > > > Liming
> > > > > > > -----邮件原件-----
> > > > > > > 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Bob
> > > > Feng
> > > > > > > 发送时间: 2023年6月29日 14:54
> > > > > > > 收件人: Chen, Christine <yuwei.chen@intel.com>;
> > > > devel@edk2.groups.io
> > > > > > > 抄送: Rebecca Cran <rebecca@bsdio.com>; Gao, Liming
> > > > > > > <gaoliming@byosoft.com.cn>
> > > > > > > 主题: Re: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT
> > > > > > > ShrinkFv
> > > > > > issue
> > > > > > >
> > > > > > > Reviewed-by: Bob Feng <bob.c.feng@intel.com>
> > > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: Chen, Christine <yuwei.chen@intel.com>
> > > > > > > Sent: Thursday, June 29, 2023 11:34 AM
> > > > > > > To: devel@edk2.groups.io
> > > > > > > Cc: Rebecca Cran <rebecca@bsdio.com>; Gao, Liming
> > > > > > > <gaoliming@byosoft.com.cn>; Feng, Bob C
> > > > > > > <bob.c.feng@intel.com>
> > > > > > > Subject: [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv
> > > > > > > issue
> > > > > > >
> > > > > > > 1. FvLength not change issue; 2. FileSystemGuid align with
> > > > > > > File Size;
> > > > > > >
> > > > > > > Cc: Rebecca Cran <rebecca@bsdio.com>
> > > > > > > Cc: Liming Gao <gaoliming@byosoft.com.cn>
> > > > > > > Cc: Bob Feng <bob.c.feng@intel.com>
> > > > > > > Signed-off-by: Yuwei Chen <yuwei.chen@intel.com>
> > > > > > > ---
> > > > > > >  BaseTools/Source/Python/FMMT/core/FMMTOperation.py |  2 +-
> > > > > > >  BaseTools/Source/Python/FMMT/core/FvHandler.py     | 10
> > > > +++++++---
> > > > > > >  2 files changed, 8 insertions(+), 4 deletions(-)
> > > > > > >
> > > > > > > diff --git
> > a/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
> > > > > > > b/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
> > > > > > > index a86f8dda9a1a..d4aa3397036d 100644
> > > > > > > --- a/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
> > > > > > > +++ b/BaseTools/Source/Python/FMMT/core/FMMTOperation.py
> > > > > > > @@ -188,7 +188,7 @@ def ExtractFfs(inputfile: str, Ffs_name:
> > > > > > > str,
> > > > > > outputfile:
> > > > > > > str, Fv_name: str=None
> > > > > > >
> > > > > > >
> > > > FmmtParser.WholeFvTree.Findlist.remove(FmmtParser.WholeFvTree.Find
> > > > li
> > > > > > > st
> > > > > > > [i
> > > > > > > ndex])
> > > > > > >      if FmmtParser.WholeFvTree.Findlist != []:
> > > > > > >          TargetNode = FmmtParser.WholeFvTree.Findlist[0]
> > > > > > > -        if TargetNode.type == FV_TREE or SEC_FV_TREE or
> > > > > > > DATA_FV_TREE:
> > > > > > > +        if TargetNode.type == FV_TREE or TargetNode.type ==
> > > > > > > SEC_FV_TREE or TargetNode.type == DATA_FV_TREE:
> > > > > > >              FinalData =
> > > > > > > struct2stream(TargetNode.Data.Header)
> > +
> > > > > > > TargetNode.Data.Data
> > > > > > >              with open(outputfile, "wb") as f:
> > > > > > >                  f.write(FinalData) diff --git
> > > > > > > a/BaseTools/Source/Python/FMMT/core/FvHandler.py
> > > > > > > b/BaseTools/Source/Python/FMMT/core/FvHandler.py
> > > > > > > index ff3d637623f8..b0cc1951a1c6 100644
> > > > > > > --- a/BaseTools/Source/Python/FMMT/core/FvHandler.py
> > > > > > > +++ b/BaseTools/Source/Python/FMMT/core/FvHandler.py
> > > > > > > @@ -279,7 +279,7 @@ class FvHandler:
> > > > > > >
> > > > ParTree.Child.remove(ParTree.Child[-1])
> > > > > > >                              ParTree.Data.Free_Space = 0
> > > > > > >                          ParTree.Data.Size += Needed_Space
> > > > > > > -                        ParTree.Data.Header.Fvlength =
> > > > > > > ParTree.Data.Size
> > > > > > > +                        ParTree.Data.Header.FvLength =
> > > > > > > ParTree.Data.Size
> > > > > > >                  ModifyFvSystemGuid(ParTree)
> > > > > > >                  for item in ParTree.Child:
> > > > > > >                      if item.type == FFS_FREE_SPACE:
> > > > > > > @@ -650,8 +650,12 @@ class FvHandler:
> > > > > > >              Removed_Space = TargetFv.Data.Free_Space -
> > > > New_Free_Space
> > > > > > >              TargetFv.Child[-1].Data.Data = b'\xff' *
> > > > New_Free_Space
> > > > > > >              TargetFv.Data.Size -= Removed_Space
> > > > > > > -            TargetFv.Data.Header.Fvlength = TargetFv.Data.Size
> > > > > > > -            ModifyFvSystemGuid(TargetFv)
> > > > > > > +            TargetFv.Data.Header.FvLength = TargetFv.Data.Size
> > > > > > > +            if
> > > > > > > + struct2stream(TargetFv.Data.Header.FileSystemGuid)
> > > > > > > + ==
> > > > > > > EFI_FIRMWARE_FILE_SYSTEM3_GUID_BYTE:
> > > > > > > +                if TargetFv.Data.Size <= 0xFFFFFF:
> > > > > > > +                    TargetFv.Data.Header.FileSystemGuid =
> > > > > > > ModifyGuidFormat(
> > > > > > > +
> > > > "8c8ce578-8a3d-4f1c-9935-896185c32dd3")
> > > > > > > +
> > > > > > >              for item in TargetFv.Child:
> > > > > > >                  if item.type == FFS_FREE_SPACE:
> > > > > > >                      TargetFv.Data.Data += item.Data.Data +
> > > > > > > item.Data.PadData
> > > > > > > --
> > > > > > > 2.27.0.windows.1
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > 
> > > >
> > >
> > >
> 
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#112279): https://edk2.groups.io/g/devel/message/112279
Mute This Topic: https://groups.io/mt/103105779/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:[~2023-12-11  9:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-29  3:34 [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv issue Yuwei Chen
2023-06-29  6:54 ` Bob Feng
2023-08-30  8:43   ` 回复: [edk2-devel] " gaoliming via groups.io
2023-09-11  1:23     ` Yuwei Chen
     [not found]     ` <1783B3A3A09571FB.23877@groups.io>
2023-11-29  8:25       ` Yuwei Chen
2023-11-29 15:53         ` 回复: " gaoliming via groups.io
2023-12-04  2:58           ` Yuwei Chen
2023-12-11  9:04             ` 回复: " gaoliming via groups.io
2023-12-11  9:34               ` Yuwei Chen

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