Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: b5f5106c1e2fb027776a88178fab844f81930b59
      
https://github.com/tianocore/edk2/commit/b5f5106c1e2fb027776a88178fab844f81930b59
  Author: Yuwei Chen <[email protected]>
  Date:   2023-12-11 (Mon, 11 Dec 2023)

  Changed paths:
    M BaseTools/Source/Python/FMMT/core/FvHandler.py

  Log Message:
  -----------
  BaseTools: FMMT replace new free space fixing in replace

In FMMT replace function, when newffs size <= targetffs size,
the new free space is calculated wrong as loss the pad data delta size.
That will cause invalid binary generated.
This patch fixes this issue.

Cc: Rebecca Cran <[email protected]>
Cc: Liming Gao <[email protected]>
Cc: Bob Feng <[email protected]>
Signed-off-by: Yuwei Chen <[email protected]>
Reviewed-by: Liming Gao <[email protected]>
Reviewed-by: Bob Feng <[email protected]>


  Commit: 96274476257bd8e4e5d9e3b8983382c159972e64
      
https://github.com/tianocore/edk2/commit/96274476257bd8e4e5d9e3b8983382c159972e64
  Author: Yuwei Chen <[email protected]>
  Date:   2023-12-11 (Mon, 11 Dec 2023)

  Changed paths:
    M BaseTools/Source/Python/FMMT/core/BiosTree.py
    M BaseTools/Source/Python/FMMT/core/FvHandler.py

  Log Message:
  -----------
  BaseTools: FMMT replace output file is not generated successfully

For replace function, when target Ffs and new ffs are with
same size, the output file can not be generated successfully.
This patch fixes this issue.

Cc: Rebecca Cran <[email protected]>
Cc: Bob Feng <[email protected]>
Cc: Liming Gao <[email protected]>
Signed-off-by: Yuwei Chen <[email protected]>
Reviewed-by: Liming Gao <[email protected]>
Reviewed-by: Bob Feng <[email protected]>


  Commit: 59f0d350a9f39fdb1d26295457eaf14306703afb
      
https://github.com/tianocore/edk2/commit/59f0d350a9f39fdb1d26295457eaf14306703afb
  Author: Yuwei Chen <[email protected]>
  Date:   2023-12-11 (Mon, 11 Dec 2023)

  Changed paths:
    M BaseTools/Source/Python/FMMT/FMMT.py
    M BaseTools/Source/Python/FMMT/core/BinaryFactoryProduct.py
    M BaseTools/Source/Python/FMMT/core/BiosTree.py
    M BaseTools/Source/Python/FMMT/core/BiosTreeNode.py
    M BaseTools/Source/Python/FMMT/core/FMMTParser.py
    A BaseTools/Source/Python/FirmwareStorageFormat/UPLHeader.py

  Log Message:
  -----------
  BaseTools: FMMT support ELF UPLD parser

FMMT add new function to support the .elf file parsing.
Using '-v' option, the UPLD info will be printed out.

'''
- UNIVERSAL_PAYLOAD_INFO
  - 4 bytes align (BOOLEAN)
    - Identifier
    - SpecRevision
    - Attribute
    - Revision
    - Capability
    - ProducerId
    - ImageId
UPLD Buffer
'''

Cc: Rebecca Cran <[email protected]>
Cc: Bob Feng <[email protected]>
Cc: Liming Gao <[email protected]>
Signed-off-by: Yuwei Chen <[email protected]>
Reviewed-by: Liming Gao <[email protected]>
Reviewed-by: Bob Feng <[email protected]>


  Commit: 5b5481526fc9b89e5f3843d9bb3d6c4f5ce41060
      
https://github.com/tianocore/edk2/commit/5b5481526fc9b89e5f3843d9bb3d6c4f5ce41060
  Author: Yuwei Chen <[email protected]>
  Date:   2023-12-11 (Mon, 11 Dec 2023)

  Changed paths:
    M BaseTools/Source/Python/FMMT/core/FMMTOperation.py
    M BaseTools/Source/Python/FMMT/core/FvHandler.py

  Log Message:
  -----------
  BaseTools: fixing FMMT ShrinkFv issue

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

Cc: Rebecca Cran <[email protected]>
Cc: Liming Gao <[email protected]>
Cc: Bob Feng <[email protected]>
Signed-off-by: Yuwei Chen <[email protected]>
Reviewed-by: Liming Gao <[email protected]>
Reviewed-by: Bob Feng <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/bb13a4adabcf...5b5481526fc9


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to