[edk2-devel] [PATCH v1 1/1] UefiPayloadPkg: Revert "ProcessLibraryConstructorList()"

2024-03-18 Thread brucex . wang
From: Bruce Wang This reverts commit 1c0db2315109233e77e6b5a52704d14550dcba3c That commit cause a build error "ProcessLibraryConstructorList undefined" in FitUniversalPayloadEntry.c Cc: Gua Guo Cc: Guo Dong Cc: James Lu Cc: Sean Rhodes Signed-off-by: BruceX Wang --- .../UefiPa

[edk2-devel] [PATCH v1 0/1] Revert "ProcessLibraryConstructorList()

2024-03-18 Thread brucex . wang
From: Bruce Wang This reverts commit 1c0db2315109233e77e6b5a52704d14550dcba3c That commit caused debug messages to be missing in FitUniversalPayload.c. Bruce Wang (1): UefiPayloadPkg: Revert "ProcessLibraryConstructorList()" .../UefiPayloadEntry/FitUniversalPayloadEntry.inf | 2 +- Ue

[edk2-devel] [PATCH v1 1/1] UefiPayloadPkg: Cleanup ProcessLibraryConstructorList()

2024-03-18 Thread brucex . wang
From: Bruce Wang ProcessLibraryConstructorList() no needs to be called manually after INF version greater or equal to 1.30. Cc: Guo Dong Cc: Sean Rhodes Cc: James Lu Cc: Gua Guo Signed-off-by: BruceX Wang --- UefiPayloadPkg/UefiPayloadEntry/FitUniversalPayloadEntry.c | 2

[edk2-devel] [PATCH v1 0/1] Cleanup ProcessLibraryConstructorList()

2024-03-18 Thread brucex . wang
From: Bruce Wang ProcessLibraryConstructorList() no needs to be called manually after INF version greater or equal to 1.30. Bruce Wang (1): UefiPayloadPkg: Cleanup ProcessLibraryConstructorList() UefiPayloadPkg/UefiPayloadEntry/FitUniversalPayloadEntry.c | 2 -- UefiPayloadPkg/UefiPayloadEnt

[edk2-devel] [PATCH v2 0/1] UefiPayloadPkg: Fix Add FV broken on fit format and remove clang dependency for version check

2023-10-28 Thread brucex . wang
From: Gua Guo V2: Fix FIT Add FV failure broken. V1: Remove clang dependency. BruceX Wang (1): UefiPayloadPkg: Fix incorrect code on Fit function. UefiPayloadPkg/Tools/MkFitImage.py | 7 ++- UefiPayloadPkg/UniversalPayloadBuild.py | 10 -- 2 files changed, 6 insertions

[edk2-devel] [PATCH v2 1/1] UefiPayloadPkg: Fix incorrect code on Fit function.

2023-10-28 Thread brucex . wang
From: BruceX Wang 1. Add firmware volume need to check firmware volume exist or not. 2. Remove clang version check dependency. Cc: Guo Dong Cc: Sean Rhodes Cc: James Lu Cc: Gua Guo Signed-off-by: BruceX Wang --- UefiPayloadPkg/Tools/MkFitImage.py | 7 ++- UefiPayloadPkg

[edk2-devel] [PATCH v1 0/1] UefiPayloadPkg: Fix incorrect code on FIT function.

2023-10-26 Thread brucex . wang
From: "Brucex.Wang" v1: 1.MultiImage[Index] should be deleted if fv path of MultiImage[Index] not exist. 2.Remove redundant code. Brucex.Wang (1): UefiPayloadPkg: Fix incorrect code on Fit function. UefiPayloadPkg/Tools/MkFitImage.py | 2 ++ UefiPayloadPkg/UniversalPayloadBuild.py |

[edk2-devel] [PATCH v1 1/1] UefiPayloadPkg: Fix incorrect code on Fit function.

2023-10-26 Thread brucex . wang
From: "Brucex.Wang" 1. MultiImage[Index] should be deleted if fv path of MultiImage[Index] not exist. 2. Remove redundant code. Cc: Guo Dong Cc: Sean Rhodes Cc: James Lu Cc: Gua Guo Signed-off-by: BruceX Wang --- UefiPayloadPkg/Tools/MkFitImage.py | 2 ++ Uefi

[edk2-devel] [PATCH v5 2/2] UefiPayloadPkg: Add FIT support

2023-09-25 Thread brucex . wang
From: "Brucex.Wang" Provide Fit format for UniversalPayload, developer can use argument "--Fit" to build UniversalPayload.fit Cc: Guo Dong Cc: Sean Rhodes Cc: James Lu Cc: Gua Guo Signed-off-by: BruceX Wang --- MdePkg/Include/Library/FdtLib.h |

[edk2-devel] [PATCH v5 1/2] MdePkg/BaseFdtLib: Add Fdt function.

2023-09-25 Thread brucex . wang
From: "Brucex.Wang" Add FdtGetName() and FdtNodeDepth() function. Cc: Benny Lin Cc: Gua Guo Cc: Chasel Chiu Cc: James Lu Signed-off-by: BruceX Wang --- MdePkg/Include/Library/FdtLib.h| 34 + MdePkg/Library/BaseFdtLib/Fdt

[edk2-devel] [PATCH v5 0/2] Add FIT support

2023-09-25 Thread brucex . wang
From: "Brucex.Wang" V5: Fix Gcc build failure. V4: Fix Benny comment in patch mail. V3: Fix Lean Sheng comment in patch mail V2: Fix Gua and Chasel comment in PR V1: Initialize Version Brucex.Wang (2): MdePkg/BaseFdtLib: Add Fdt function. UefiPayloadPkg: Add FIT support MdePkg/Include/Lib

[edk2-devel] [PATCH v4 2/2] UefiPayloadPkg: Add FIT support

2023-09-18 Thread brucex . wang
From: "Brucex.Wang" Provide Fit format for UniversalPayload, developer can use argument "--Fit" to build UniversalPayload.fit Cc: Guo Dong Cc: Sean Rhodes Cc: James Lu Cc: Gua Guo Signed-off-by: BruceX Wang --- .../Include/Guid/UniversalPayloadBase.h |

[edk2-devel] [PATCH v4 4/4] UefiPayloadPkg: Add FIT support

2023-09-18 Thread brucex . wang
From: "Brucex.Wang" Provide Fit format for UniversalPayload, developer can use argument "--Fit" to build UniversalPayload.fit Cc: Guo Dong Cc: Sean Rhodes Cc: James Lu Cc: Gua Guo Signed-off-by: BruceX Wang --- .../Include/Guid/UniversalPayloadBase.h |

[edk2-devel] [PATCH v4 0/2] UefiPayloadPkg: Add FIT support

2023-09-18 Thread brucex . wang
From: "Brucex.Wang" V4: Fix Benny comment in patch mail. V3: Fix Lean Sheng comment in patch mail V2: Fix Gua and Chasel comment in PR V1: Initialize Version Brucex.Wang (2): MdePkg/BaseFdtLib: Add Fdt function. UefiPayloadPkg: Add FIT support MdePkg/Include/Library/FdtLib.h

[edk2-devel] [PATCH v4 4/4] UefiPayloadPkg: Add FIT support

2023-09-18 Thread brucex . wang
From: "Brucex.Wang" Provide Fit format for UniversalPayload, developer can use argument "--Fit" to build UniversalPayload.fit Cc: Guo Dong Cc: Sean Rhodes Cc: James Lu Cc: Gua Guo Signed-off-by: BruceX Wang --- .../Include/Guid/UniversalPayloadBase.h |

[edk2-devel] [PATCH v4 2/4] UefiCpuPkg/ResetVector: Remove AP waking vector from ResetVector

2023-09-18 Thread brucex . wang
From: Zhiguang Liu REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4494 Current reset vector uses 0xffe0 as AP waking vector, and expects GenFv generates code aligned on a 4k boundary which will jump to this location. However, some issues are listed below 1. GenFV doesn't generate code a

[edk2-devel] [PATCH v4 1/2] MdePkg/BaseFdtLib: Add Fdt function.

2023-09-18 Thread brucex . wang
From: "Brucex.Wang" Add FdtGetName() and FdtNodeDepth() function. Cc: Benny Lin Cc: Gua Guo Cc: Chasel Chiu Cc: James Lu Signed-off-by: BruceX Wang --- MdePkg/Include/Library/FdtLib.h| 34 + MdePkg/Library/BaseFdtLib/Fdt

[edk2-devel] [PATCH v4 1/4] OvmfPkg: Remove applicationProcessorEntryPoint

2023-09-18 Thread brucex . wang
From: Zhiguang Liu REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4494 Current reset vector uses 0xffe0 as AP waking vector, and expects GenFv generates code aligned on a 4k boundary which will jump to this location. However, some issues are listed below 1. GenFV doesn't generate code a

[edk2-devel] [PATCH v4 3/4] MdePkg/BaseFdtLib: Add Fdt function.

2023-09-18 Thread brucex . wang
From: "Brucex.Wang" Add FdtGetName() and FdtNodeDepth() function. Cc: Benny Lin Cc: Gua Guo Cc: Chasel Chiu Cc: James Lu Signed-off-by: BruceX Wang --- MdePkg/Include/Library/FdtLib.h| 34 + MdePkg/Library/BaseFdtLib/Fdt

[edk2-devel] [PATCH v4 3/4] MdePkg/BaseFdtLib: Add Fdt function.

2023-09-18 Thread brucex . wang
From: "Brucex.Wang" Add FdtGetName() and FdtNodeDepth() function. Cc: Benny Lin Cc: Gua Guo Cc: Chasel Chiu Cc: James Lu Signed-off-by: BruceX Wang --- MdePkg/Include/Library/FdtLib.h| 34 + MdePkg/Library/BaseFdtLib/Fdt

[edk2-devel] [PATCH v4 0/4] UefiPayloadPkg: Add FIT support

2023-09-18 Thread brucex . wang
From: "Brucex.Wang" V4: Fix Benny comment in patch mail. V3: Fix Lean Sheng comment in patch mail V2: Fix Gua and Chasel comment in PR V1: Initialize Version Brucex.Wang (2): MdePkg/BaseFdtLib: Add Fdt function. UefiPayloadPkg: Add FIT support Zhiguang Liu (2): OvmfPkg: Remove applicatio

[edk2-devel] [PATCH v4 1/4] OvmfPkg: Remove applicationProcessorEntryPoint

2023-09-18 Thread brucex . wang
From: Zhiguang Liu REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4494 Current reset vector uses 0xffe0 as AP waking vector, and expects GenFv generates code aligned on a 4k boundary which will jump to this location. However, some issues are listed below 1. GenFV doesn't generate code a

[edk2-devel] [PATCH v4 2/4] UefiCpuPkg/ResetVector: Remove AP waking vector from ResetVector

2023-09-18 Thread brucex . wang
From: Zhiguang Liu REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4494 Current reset vector uses 0xffe0 as AP waking vector, and expects GenFv generates code aligned on a 4k boundary which will jump to this location. However, some issues are listed below 1. GenFV doesn't generate code a

[edk2-devel] [PATCH v4 0/4] UefiPayloadPkg: Add FIT support

2023-09-18 Thread brucex . wang
From: "Brucex.Wang" V4: Fix Benny comment in patch mail. V3: Fix Lean Sheng comment in patch mail V2: Fix Gua and Chasel comment in PR V1: Initialize Version Brucex.Wang (2): MdePkg/BaseFdtLib: Add Fdt function. UefiPayloadPkg: Add FIT support Zhiguang Liu (2): OvmfPkg: Remove applicatio

[edk2-devel] [PATCH v3 2/2] UefiPayloadPkg: Add FIT support

2023-09-16 Thread brucex . wang
From: "Brucex.Wang" Provide Fit format for UniversalPayload, developer can use argument "--Fit" to build UniversalPayload.fit Cc: Guo Dong Cc: Sean Rhodes Cc: James Lu Cc: Gua Guo Signed-off-by: BruceX Wang --- .../Include/Guid/UniversalPayloadBase.h |

[edk2-devel] [PATCH v3 0/2] UefiPayloadPkg supports Fit

2023-09-16 Thread brucex . wang
From: Gua Guo V3: Fix Lean Sheng comment in patch mail V2: Fix Gua and Chasel comment in PR V1: Initialize Version Brucex.Wang (2): MdePkg/BaseFdtLib: Add Fdt function. UefiPayloadPkg: Add FIT support MdePkg/Include/Library/FdtLib.h | 34 + MdePkg/Library/BaseFdtLib/FdtLib.c

[edk2-devel] [PATCH v3 1/2] MdePkg/BaseFdtLib: Add Fdt function.

2023-09-16 Thread brucex . wang
From: "Brucex.Wang" Add FdtGetName() and FdtNodeDepth() function. Cc: Benny Lin Cc: Gua Guo Cc: Chasel Chiu Cc: James Lu Signed-off-by: BruceX Wang --- MdePkg/Include/Library/FdtLib.h| 34 + MdePkg/Library/BaseFdtLib/Fdt

[edk2-devel] [PATCH v2 2/2] UefiPayloadPkg: Add FIT support

2023-09-15 Thread brucex . wang
From: "Brucex.Wang" Provide Fit format for UniversalPayload, developer can use argument "--Fit" to build UniversalPayload.fit Cc: Guo Dong Cc: Sean Rhodes Cc: James Lu Cc: Gua Guo Signed-off-by: BruceX Wang --- .../Include/Guid/UniversalPayloadBase.h |

[edk2-devel] [PATCH v2 0/2] UefiPayloadPkg supports Fit

2023-09-15 Thread brucex . wang
From: "Brucex.Wang" v2: Add fit support and fix some spelling issues. Brucex.Wang (2): MdePkg/BaseFdtLib: Add Fdt function. UefiPayloadPkg: Add FIT support MdePkg/Include/Library/FdtLib.h | 34 + MdePkg/Library/BaseFdtLib/FdtLib.c| 40 ++ .../Include/Guid/Univer

[edk2-devel] [PATCH 21/22] MdePkg/BaseFdtLib: Add Fdt function.

2023-09-15 Thread brucex . wang
From: "Brucex.Wang" Add FdtGetName() and FdtNodeDepth() function. Cc: Benny Lin Cc: Gua Guo Cc: Chasel Chiu Cc: James Lu Signed-off-by: BruceX Wang --- MdePkg/Include/Library/FdtLib.h| 34 + MdePkg/Library/BaseFdtLib/Fdt

[edk2-devel] [PATCH 22/22] UefiPayloadPkg: Add FIT support

2023-09-15 Thread brucex . wang
From: "Brucex.Wang" Provide Fit format for UniversalPayload, developer can use argument "--Fit" to build UniversalPayload.fit Cc: Guo Dong Cc: Sean Rhodes Cc: James Lu Cc: Gua Guo Signed-off-by: BruceX Wang --- .../Include/Guid/UniversalPayloadBase.h |

[edk2-devel] [PATCH v2 1/2] MdePkg/BaseFdtLib: Add Fdt function.

2023-09-15 Thread brucex . wang
From: "Brucex.Wang" Add FdtGetName() and FdtNodeDepth() function. Cc: Benny Lin Cc: Gua Guo Cc: Chasel Chiu Cc: James Lu Signed-off-by: BruceX Wang --- MdePkg/Include/Library/FdtLib.h| 34 + MdePkg/Library/BaseFdtLib/Fdt

[edk2-devel] [PATCH] UefiPayloadPkg: Add FIT support

2023-07-12 Thread brucex . wang
From: BruceX Wang Cc: Guo Dong Cc: Sean Rhodes Cc: James Lu Cc: Gua Guo Signed-off-by: BruceX Wang --- .../UniversalPayload/UniversalPayload.h | 6 +- MdeModulePkg/MdeModulePkg.dec | 3 + MdePkg/Include/Library/FdtLib.h | 17 + MdePkg/Library

[edk2-devel] [PATCH] UefiPayloadPkg: Fix incorrect code on AddSectionHeader

2023-06-14 Thread brucex . wang
From: BruceX Wang Fix incorrect code on AddSectionHeader32() and AddSectionHeader64() Cc: Guo Dong Cc: Ray Ni Cc: Sean Rhodes Cc: James Lu Signed-off-by: BruceX Wang --- UefiPayloadPkg/Tools/ElfFv.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/UefiPayloadPkg

[edk2-devel] [PATCH] * UefiPayloadPkg: Clang dependency removal

2023-04-26 Thread brucex . wang
From: BruceX Wang REF: TBD Use Python to replace llvm-objcopy in UniversalPayloadBuild.py. 1. AddSection32() and AddSection64(): Make a section named with the contents of . 2. RemoveSection32() and RemoveSection64(): Remove . 3. ReplaceFv (): remove the section before add the section if the