Skip to content

Commit

Permalink
bump edk2 version to edk2-stable202411 for CI jobs (#441)
Browse files Browse the repository at this point in the history
* Use edk2-stable202411 for CI jobs

* correct name of patch file

* correct drtm build patch name

* minor correction

---------

Co-authored-by: cherat01 <[email protected]>
  • Loading branch information
chetan-rathore and cherat01 authored Feb 28, 2025
1 parent 6a20e83 commit 351ece0
Show file tree
Hide file tree
Showing 7 changed files with 69 additions and 69 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/bsa-acs_build_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: |
git clone --recursive https://github.com/tianocore/edk2
cd edk2
git checkout 836942fbadb629050b866a8052e6af755bcdf623
git checkout edk2-stable202411
cd ..
git clone https://github.com/tianocore/edk2-libc edk2/edk2-libc
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Apply edk2 BSA patch for ACPI target
run: |
cd edk2
git apply ShellPkg/Application/bsa-acs/patches/edk2-202208-bsa-acpi.diff
git apply ShellPkg/Application/bsa-acs/patches/edk2_bsa_acpi.patch
- name: Download Arm GCC cross-compiler
run: |
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
run: |
git clone --recursive https://github.com/tianocore/edk2
cd edk2
git checkout 836942fbadb629050b866a8052e6af755bcdf623
git checkout edk2-stable202411
cd ..
git clone https://github.com/tianocore/edk2-libc edk2/edk2-libc
Expand All @@ -82,7 +82,7 @@ jobs:
- name: Apply edk2 DRTM patch for ACPI target
run: |
cd edk2
git apply ShellPkg/Application/bsa-acs/patches/edk2-202208-drtm-acpi.diff
git apply ShellPkg/Application/bsa-acs/patches/edk2_drtm.patch
- name: Download Arm GCC cross-compiler
run: |
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
run: |
git clone --recursive https://github.com/tianocore/edk2
cd edk2
git checkout 836942fbadb629050b866a8052e6af755bcdf623
git checkout edk2-stable202411
cd ..
git clone https://github.com/tianocore/edk2-libc edk2/edk2-libc
Expand All @@ -135,7 +135,7 @@ jobs:
- name: Apply edk2 sbsa patch
run: |
cd edk2
git apply ShellPkg/Application/sbsa-acs/patches/edk2-sbsa.diff
git apply ShellPkg/Application/sbsa-acs/patches/edk2_sbsa.patch
- name: Download Arm GCC cross-compiler
run: |
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
run: |
git clone --recursive https://github.com/tianocore/edk2
cd edk2
git checkout 836942fbadb629050b866a8052e6af755bcdf623
git checkout edk2-stable202411
cd ..
git clone https://github.com/tianocore/edk2-libc edk2/edk2-libc
Expand All @@ -184,7 +184,7 @@ jobs:
- name: Apply edk2 BSA patch for DT target
run: |
cd edk2
git apply ShellPkg/Application/bsa-acs/patches/edk2-202208-bsa-dt.diff
git apply ShellPkg/Application/bsa-acs/patches/edk2_bsa_dt.patch
- name: Download Arm GCC cross-compiler
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/bsa-acs_daily_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
run: |
git clone --recursive https://github.com/tianocore/edk2
cd edk2
git checkout 836942fbadb629050b866a8052e6af755bcdf623
git checkout edk2-stable202411
cd ..
git clone https://github.com/tianocore/edk2-libc edk2/edk2-libc
Expand All @@ -30,7 +30,7 @@ jobs:
- name: Apply edk2 BSA patch for ACPI target
run: |
cd edk2
git apply ShellPkg/Application/bsa-acs/patches/edk2-202208-bsa-acpi.diff
git apply ShellPkg/Application/bsa-acs/patches/edk2_bsa_acpi.patch
- name: Download Arm GCC cross-compiler
run: |
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
run: |
git clone --recursive https://github.com/tianocore/edk2
cd edk2
git checkout 836942fbadb629050b866a8052e6af755bcdf623
git checkout edk2-stable202411
cd ..
git clone https://github.com/tianocore/edk2-libc edk2/edk2-libc
Expand All @@ -78,7 +78,7 @@ jobs:
- name: Apply edk2 BSA patch for DT target
run: |
cd edk2
git apply ShellPkg/Application/bsa-acs/patches/edk2-202208-bsa-dt.diff
git apply ShellPkg/Application/bsa-acs/patches/edk2_bsa_dt.patch
- name: Download Arm GCC cross-compiler
run: |
Expand Down
21 changes: 0 additions & 21 deletions patches/edk2-202208-bsa-acpi.diff

This file was deleted.

21 changes: 0 additions & 21 deletions patches/edk2-202208-drtm-acpi.diff

This file was deleted.

21 changes: 21 additions & 0 deletions patches/edk2_bsa_acpi.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
diff --git a/ShellPkg/ShellPkg.dsc b/ShellPkg/ShellPkg.dsc
index 7e985f8..3c66d1a 100644
--- a/ShellPkg/ShellPkg.dsc
+++ b/ShellPkg/ShellPkg.dsc
@@ -66,6 +66,8 @@
ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf

SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
+ BsaValLib|ShellPkg/Application/bsa-acs/val/BsaValLib.inf
+ BsaPalLib|ShellPkg/Application/bsa-acs/pal/uefi_acpi/BsaPalLib.inf

[PcdsFixedAtBuild]
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
@@ -93,6 +95,7 @@
ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
+ ShellPkg/Application/bsa-acs/uefi_app/BsaAcs.inf

ShellPkg/Application/Shell/Shell.inf {
<PcdsFixedAtBuild>
30 changes: 15 additions & 15 deletions patches/edk2-202208-bsa-dt.diff → patches/edk2_bsa_dt.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.c b/MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.c
index f0a8b9fe62..e41e0de3e0 100644
index f0a8b9f..e41e0de 100644
--- a/MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.c
+++ b/MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.c
@@ -90,8 +90,8 @@ UefiHiiServicesLibConstructor (
Expand All @@ -14,24 +14,24 @@ index f0a8b9fe62..e41e0de3e0 100644
//
// Retrieve the pointer to the optional UEFI HII Font Protocol
diff --git a/ShellPkg/ShellPkg.dsc b/ShellPkg/ShellPkg.dsc
index 38fde3dc71..559c2217d3 100644
index 7e985f8..6ea22f8 100644
--- a/ShellPkg/ShellPkg.dsc
+++ b/ShellPkg/ShellPkg.dsc
@@ -22,6 +22,9 @@
!include MdePkg/MdeLibs.dsc.inc
@@ -66,6 +66,9 @@
ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf

[LibraryClasses.common]
SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
+ FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
+ BsaValLib|ShellPkg/Application/bsa-acs/val/BsaValLib.inf
+ BsaPalLib|ShellPkg/Application/bsa-acs/pal/uefi_dt/BsaPalLib.inf
UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
@@ -87,6 +90,7 @@
# Build all the libraries when building this package.
# This helps developers test changes and how they affect the package.
#

[PcdsFixedAtBuild]
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
@@ -93,6 +96,7 @@
ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
+ ShellPkg/Application/bsa-acs/uefi_app/BsaAcs.inf
ShellPkg/Library/UefiShellLib/UefiShellLib.inf
ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.inf
ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf

ShellPkg/Application/Shell/Shell.inf {
<PcdsFixedAtBuild>
21 changes: 21 additions & 0 deletions patches/edk2_drtm.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
diff --git a/ShellPkg/ShellPkg.dsc b/ShellPkg/ShellPkg.dsc
index 7e985f8..237d348 100644
--- a/ShellPkg/ShellPkg.dsc
+++ b/ShellPkg/ShellPkg.dsc
@@ -66,6 +66,8 @@
ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf

SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
+ DrtmValLib|ShellPkg/Application/bsa-acs/val/DrtmValLib.inf
+ DrtmPalLib|ShellPkg/Application/bsa-acs/pal/uefi_acpi/DrtmPalLib.inf

[PcdsFixedAtBuild]
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
@@ -93,6 +95,7 @@
ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
+ ShellPkg/Application/bsa-acs/drtm/uefi_app/DrtmAcs.inf

ShellPkg/Application/Shell/Shell.inf {
<PcdsFixedAtBuild>

0 comments on commit 351ece0

Please sign in to comment.