Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: b03dceb87f400e2e5437f775427fab5338532ee7 https://github.com/tianocore/edk2/commit/b03dceb87f400e2e5437f775427fab5338532ee7 Author: Pierre Gondois <pierre.gond...@arm.com> Date: 2022-10-19 (Wed, 19 Oct 2022)
Changed paths: M BaseTools/Source/Python/Ecc/EccToolError.py M BaseTools/Source/Python/build/build.py Log Message: ----------- BaseTools: Remove duplicated words in Python tools In an effort to clean the documentation of the above package, remove duplicated words. Cc: Bob Feng <bob.c.f...@intel.com> Cc: Liming Gao <gaolim...@byosoft.com.cn> Reviewed-by: Bob Feng <bob.c.f...@intel.com> Signed-off-by: Pierre Gondois <pierre.gond...@arm.com> Commit: 0e6db46b1be173e7207bfadc05221a20f9b0dd02 https://github.com/tianocore/edk2/commit/0e6db46b1be173e7207bfadc05221a20f9b0dd02 Author: Chen, Christine <yuwei.c...@intel.com> Date: 2022-10-19 (Wed, 19 Oct 2022) Changed paths: M BaseTools/Source/Python/FMMT/FMMT.py M BaseTools/Source/Python/FMMT/core/FMMTOperation.py M BaseTools/Source/Python/FMMT/core/FvHandler.py Log Message: ----------- BaseTools/FMMT: Add Extract FV function REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3938 With this patch "-e" parameter supports extract FV function. Usage: FMMT -e Inputfile TargetFv Outputfile Cc: Bob Feng <bob.c.f...@intel.com> Cc: Liming Gao <gaolim...@byosoft.com.cn> Signed-off-by: Yuwei Chen <yuwei.c...@intel.com> Reviewed-by: Bob Feng <bob.c.f...@intel.com> Commit: 09e74b81ba7178588d4636762ffb852987f18525 https://github.com/tianocore/edk2/commit/09e74b81ba7178588d4636762ffb852987f18525 Author: Chen, Christine <yuwei.c...@intel.com> Date: 2022-10-19 (Wed, 19 Oct 2022) Changed paths: M BaseTools/Source/Python/FMMT/FMMT.py M BaseTools/Source/Python/FMMT/core/FMMTOperation.py M BaseTools/Source/Python/FMMT/core/FvHandler.py Log Message: ----------- BaseTools/FMMT: Add Shrink Fv function REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3938 This function is used to remove the useless FV free space. Usage: FMMT -s Inputfile Outputfile Cc: Bob Feng <bob.c.f...@intel.com> Cc: Liming Gao <gaolim...@byosoft.com.cn> Signed-off-by: Yuwei Chen <yuwei.c...@intel.com> Reviewed-by: Bob Feng <bob.c.f...@intel.com> Commit: 81aeb9464821b59aa850c681abca3524d5164cc8 https://github.com/tianocore/edk2/commit/81aeb9464821b59aa850c681abca3524d5164cc8 Author: Konstantin Aladyshev <aladyshe...@gmail.com> Date: 2022-10-19 (Wed, 19 Oct 2022) Changed paths: M BaseTools/Source/Python/Common/VpdInfoFile.py Log Message: ----------- BaseTools: Correct BPDG tool error prints Popen communication returns bytestrings. It is necessary to perform decode on these strings before passing them to the EdkLogger that works with ordinary strings. Signed-off-by: Konstantin Aladyshev <aladyshe...@gmail.com> Reviewed-by: Liming Gao <gaolim...@byosoft.com.cn> Reviewed-by: Bob Feng <bob.c.f...@intel.com> Commit: 225810a18249de541840396c74d9a918c691aa9e https://github.com/tianocore/edk2/commit/225810a18249de541840396c74d9a918c691aa9e Author: Konstantin Aladyshev <aladyshe...@gmail.com> Date: 2022-10-19 (Wed, 19 Oct 2022) Changed paths: M BaseTools/Source/Python/CommonDataClass/FdfClass.py M BaseTools/Source/Python/GenFds/FdfParser.py A BaseTools/Source/Python/GenFds/SubTypeGuidSection.py Log Message: ----------- BaseTools: Add support for SUBTYPE_GUID section generation EFI_SECTION_FREEFORM_SUBTYPE_GUID is a leaf section type that contains a single EFI_GUID in the header to describe the raw data. Currently is is not possible to generate such section. This patch adds initial support for the generation of such sections. The added syntax for this type of section corresponds to EDKII "[FV] section" documentation from the FDF Specification: ``` SECTION SUBTYPE_GUID <GUID> = <File> ``` Signed-off-by: Konstantin Aladyshev <aladyshe...@gmail.com> Reviewed-by: Bob Feng <bob.c.f...@intel.com> Commit: 0a29933ea98747209f4682e5ad6b111260b805e9 https://github.com/tianocore/edk2/commit/0a29933ea98747209f4682e5ad6b111260b805e9 Author: Konstantin Aladyshev <aladyshe...@gmail.com> Date: 2022-10-19 (Wed, 19 Oct 2022) Changed paths: M BaseTools/Source/Python/GenFds/Section.py Log Message: ----------- BaseTools: Support COMPAT16 section generation Currently COMPAT16 section type is not recognized and GenSec is called without the "-s [SectionType]" argument. Add COMPAT16 type to the SectionType dictionary to fix the issue. Now this syntax works correctly: ``` FILE FREEFORM = <GUID> { SECTION COMPAT16 = <FILE> } ``` Signed-off-by: Konstantin Aladyshev <aladyshe...@gmail.com> Reviewed-by: Liming Gao <gaolim...@byosoft.com.cn> Reviewed-by: Bob Feng <bob.c.f...@intel.com> Commit: d23eb3aa993b8788dd45b6c2390f3edd3577dd13 https://github.com/tianocore/edk2/commit/d23eb3aa993b8788dd45b6c2390f3edd3577dd13 Author: Konstantin Aladyshev <aladyshe...@gmail.com> Date: 2022-10-19 (Wed, 19 Oct 2022) Changed paths: M BaseTools/Source/Python/GenFds/FdfParser.py Log Message: ----------- BaseTools/GenFds: Correct file type set for the PIC section Corrently the set of file types for the PIC section contains two duplicate values. Replace the duplicate value with the correct one to fix the issue. Signed-off-by: Konstantin Aladyshev <aladyshe...@gmail.com> Reviewed-by: Liming Gao <gaolim...@byosoft.com.cn> Reviewed-by: Bob Feng <bob.c.f...@intel.com> Commit: 1d0ff11526fc6da71a6575c6720494dd5961ab83 https://github.com/tianocore/edk2/commit/1d0ff11526fc6da71a6575c6720494dd5961ab83 Author: Konstantin Aladyshev <aladyshe...@gmail.com> Date: 2022-10-19 (Wed, 19 Oct 2022) Changed paths: M BaseTools/Source/Python/Workspace/DscBuildData.py Log Message: ----------- BaseTools: Correct initialization data size check for array PCDs Currently it is not possible to initialize all elements in the array PCD. For example, this PCD would result to a build failure: gTokenSpaceGuid.PcdArray|{0x11, 0x22}|UINT8[2]|0x4C4CB9A3 Correct logical operator in the initialization data size checks to fix the issue. Signed-off-by: Konstantin Aladyshev <aladyshe...@gmail.com> Reviewed-by: Liming Gao <gaolim...@byosoft.com.cn> Reviewed-by: Bob Feng <bob.c.f...@intel.com> Commit: 0f6eccdbf75885631221388d362417eb7b873ce0 https://github.com/tianocore/edk2/commit/0f6eccdbf75885631221388d362417eb7b873ce0 Author: Konstantin Aladyshev <aladyshe...@gmail.com> Date: 2022-10-19 (Wed, 19 Oct 2022) Changed paths: M BaseTools/Source/Python/Common/Expression.py Log Message: ----------- BaseTools: Add missing spaces for PCD expression values in AutoGenC Currently the PCD values calculated from the expressions have different formating from the simple byte arrays in AutoGenC. Example: The following definition in DEC: gTokenSpaceGuid.PcdArray|{0x44, 0x33, 0x22, 0x11}|VOID*|0x55555555 gTokenSpaceGuid.PcdArrayByExpression|{UINT32(0x11223344)}|VOID*|0x66666666 Produces these strings in AutoGenC: <...> _gPcd_<...>_PcdArray[4] = {0x44, 0x33, 0x22, 0x11}; <...> _gPcd_<...>_PcdArrayByExpression[4] = {0x44,0x33,0x22,0x11}; Add missing space character between the array elements to unify PCD value formatting. Signed-off-by: Konstantin Aladyshev <aladyshe...@gmail.com> Reviewed-by: Liming Gao <gaolim...@byosoft.com.cn> Reviewed-by: Bob Feng <bob.c.f...@intel.com> Compare: https://github.com/tianocore/edk2/compare/c4663e7277d1...0f6eccdbf758 _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits