Skip to contentSkip to conversation

arm/edk2: update to 202408

PATCH Applied Jon Mason 2 participants 3 messages Oct 14, 2024 – Oct 15, 2024

lore
Share & tools
lore

Jon Mason

author
#0 lore raw

PATCH 1/2 arm/edk2: update to 202408

Update edk2 to the latest stable release tag, and update edk2-platforms to the last SHA that seems to work.

---
 ...ls-native_202405.bb => edk2-basetools-native_202408.bb} | 2 +-
 meta-arm/recipes-bsp/uefi/edk2-firmware_202405.bb          | 7 -------
 meta-arm/recipes-bsp/uefi/edk2-firmware_202408.bb          | 7 +++++++
 meta-arm/recipes-bsp/uefi/sbsa-acs_7.1.4.bb                | 2 +-
 4 files changed, 9 insertions(+), 9 deletions(-)
 rename meta-arm/recipes-bsp/uefi/{edk2-basetools-native_202405.bb => edk2-basetools-native_202408.bb} (93%)
 delete mode 100644 meta-arm/recipes-bsp/uefi/edk2-firmware_202405.bb
 create mode 100644 meta-arm/recipes-bsp/uefi/edk2-firmware_202408.bb
meta-arm/recipes-bsp/uefi/edk2-basetools-native_202408.bb renamed from meta-arm/recipes-bsp/uefi/edk2-basetools-native_202405.bb +1 -1
similarity index 93%
rename from meta-arm/recipes-bsp/uefi/edk2-basetools-native_202405.bb
rename to meta-arm/recipes-bsp/uefi/edk2-basetools-native_202408.bb
index 851150744c6d..d89a79015a83 100644
@@ -10,7 +10,7 @@ LICENSE = "BSD-2-Clause-Patent"
 SRC_URI = "git://github.com/tianocore/edk2.git;branch=master;protocol=https"
 LIC_FILES_CHKSUM = "file://License.txt;md5=2b415520383f7964e96700ae12b4570a"
 
-SRCREV = "3e722403cd16388a0e4044e705a2b34c841d76ca"
+SRCREV = "b158dad150bf02879668f72ce306445250838201"
 
 UPSTREAM_CHECK_GITTAGREGEX = "^edk2-stable(?P<pver>\d+)$"
 
meta-arm/recipes-bsp/uefi/edk2-firmware_202405.bb deleted +0 -7
deleted file mode 100644
index 294a22322d9a..000000000000
@@ -1,7 +0,0 @@
-SRCREV_edk2           ?= "3e722403cd16388a0e4044e705a2b34c841d76ca"
-SRCREV_edk2-platforms ?= "59c686673992d7549c2b054773d5d1b5e739a88b"
-
-# FIXME - clang is having issues with antlr
-TOOLCHAIN:aarch64 = "gcc"
-
-require recipes-bsp/uefi/edk2-firmware.inc
meta-arm/recipes-bsp/uefi/edk2-firmware_202408.bb new file +7 -0
new file mode 100644
index 000000000000..81bfc0002396
@@ -0,0 +1,7 @@
+SRCREV_edk2           ?= "b158dad150bf02879668f72ce306445250838201"
+SRCREV_edk2-platforms ?= "a3c898956a4d48dc5980336fa6ce6eeb23c4f72b"
+
+# FIXME - clang is having issues with antlr
+TOOLCHAIN:aarch64 = "gcc"
+
+require recipes-bsp/uefi/edk2-firmware.inc
meta-arm/recipes-bsp/uefi/sbsa-acs_7.1.4.bb +1 -1
index 305588d1a11b..b6361346c5b4 100644
@@ -1,4 +1,4 @@
-require recipes-bsp/uefi/edk2-firmware_202405.bb
+require recipes-bsp/uefi/edk2-firmware_202408.bb
 PROVIDES:remove = "virtual/bootloader"
 
 LICENSE += "& Apache-2.0"
Signature · 1 line
2.39.5 (Apple Git-154)
author
#1 lore raw

PATCH 2/2 arm/scp-firmware: update to v2.15.0

Update SCP to the latest tagged version, and update the related patch to the new location of the relevant files.

For a comparison of the changes, please go to
https://git.gitlab.arm.com/firmware/SCP-firmware/-/compare/v2.14.0...v2.15.0

---
 .../files/0001-OPTEE-Private-Includes.patch    | 18 +++++++++---------
 ...rmware_2.14.0.bb => scp-firmware_2.15.0.bb} |  2 +-
 2 files changed, 10 insertions(+), 10 deletions(-)
 rename meta-arm/recipes-bsp/scp-firmware/{scp-firmware_2.14.0.bb => scp-firmware_2.15.0.bb} (98%)
meta-arm/recipes-bsp/scp-firmware/files/0001-OPTEE-Private-Includes.patch +9 -9
index f3063a957e1e..84f501567bbc 100644
@@ -1,4 +1,4 @@
-From b298400a5783453f64d8bebbd92db2c84c4a49fd Mon Sep 17 00:00:00 2001
+From 8b4b14943de92a2c7f8b328c2de75771493b7d18 Mon Sep 17 00:00:00 2001
 From: Ross Burton <[email protected]>
 Date: Mon, 10 Jul 2023 14:09:16 +0100
 Subject: [PATCH] OPTEE Private Includes
@@ -11,14 +11,14 @@ For some reason this behaviour isn't deterministic, a ticket has been filed with
 Upstream-Status: Pending
 Signed-off-by: Ross Burton <[email protected]>
 ---
- module/optee/console/CMakeLists.txt | 2 +-
- module/optee/mbx/CMakeLists.txt     | 2 +-
+ product/optee/common/module/console/CMakeLists.txt | 2 +-
+ product/optee/common/module/mbx/CMakeLists.txt     | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
 
-diff --git a/module/optee/console/CMakeLists.txt b/module/optee/console/CMakeLists.txt
+diff --git a/product/optee/common/module/console/CMakeLists.txt b/product/optee/common/module/console/CMakeLists.txt
 index aebb7cc79766..942aa98c85ff 100644
---- a/module/optee/console/CMakeLists.txt
-+++ b/module/optee/console/CMakeLists.txt
+--- a/product/optee/common/module/console/CMakeLists.txt
++++ b/product/optee/common/module/console/CMakeLists.txt
 @@ -14,7 +14,7 @@ target_include_directories(${SCP_MODULE_TARGET}
  # Those includes are needed for mutex definitnion that is used in optee_smt
  # notification
@@ -28,10 +28,10 @@ index aebb7cc79766..942aa98c85ff 100644
                                    "${SCP_OPTEE_DIR}/core/include/"
                                    "${SCP_OPTEE_DIR}/lib/libutils/ext/include/"
                                    "${SCP_OPTEE_DIR}/lib/libutee/include/")
-diff --git a/module/optee/mbx/CMakeLists.txt b/module/optee/mbx/CMakeLists.txt
+diff --git a/product/optee/common/module/mbx/CMakeLists.txt b/product/optee/common/module/mbx/CMakeLists.txt
 index 305fa42b7370..783a7970c2d5 100644
---- a/module/optee/mbx/CMakeLists.txt
-+++ b/module/optee/mbx/CMakeLists.txt
+--- a/product/optee/common/module/mbx/CMakeLists.txt
++++ b/product/optee/common/module/mbx/CMakeLists.txt
 @@ -15,7 +15,7 @@ target_include_directories(${SCP_MODULE_TARGET}
  # Those includes are needed for mutex defifitnion that is used in optee_smt
  # notification
meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.15.0.bb renamed from meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.14.0.bb +1 -1
similarity index 98%
rename from meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.14.0.bb
rename to meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.15.0.bb
index c0e40d903e12..b305234347f2 100644
@@ -12,7 +12,7 @@ SRC_URI = "${SRC_URI_SCP_FIRMWARE};branch=${SRCBRANCH} \
           "
 
 SRCBRANCH = "main"
-SRCREV  = "3267f2964114a56faaf46a40704be6ca78240725"
+SRCREV  = "25681b34bdc838b7231e0056e3ef5164e8005382"
 
 PROVIDES += "virtual/control-processor-firmware"
 
Signature · 1 line
2.39.5 (Apple Git-154)
Applied
#2 lore raw
In reply to Jon Mason
Quoted 4 lines · Jon Mason

Update edk2 to the latest stable release tag, and update edk2-platforms to the last SHA that seems to work.

Applied, thanks!

[1/2] arm/edk2: update to 202408

      commit: 603130b75a5a52f3b0ab1972d4e3bec3a4aaf411
[2/2] arm/scp-firmware: update to v2.15.0
      commit: 3b59949155054cebead9a7c1ee441c8fe53419a9

Best regards,

Signature · 1 line
Jon Mason <[email protected]>