Skip to contentSkip to conversation

arm/trusted-firmare-a: update to version 2.5

PATCH In review Jon Mason 2 participants 2 messages May 24, 2021

lore
Share & tools
lore

Jon Mason

author
#0 lore raw

PATCH 1/1 arm/trusted-firmare-a: update to version 2.5

Update to TF-A v2.5 and MBED TLS 2.26, and all machines using 2.4 to the newer version. Also, n1sdp was using an intermediary SHA, but is now updated to the latest (which includes that intermediary SHA).

Change-Id Ia5ec3cecf9090fd5f5da28efff4c1d6cce1efc19
---
 meta-arm-bsp/conf/machine/corstone500.conf                | 4 ++--
 meta-arm-bsp/conf/machine/fvp-common.inc                  | 2 +-
 meta-arm-bsp/conf/machine/include/corstone700.inc         | 4 ++--
 meta-arm-bsp/conf/machine/juno.conf                       | 2 +-
 meta-arm-bsp/conf/machine/n1sdp.conf                      | 2 +-
 meta-arm-bsp/conf/machine/sgi575.conf                     | 2 +-
 meta-arm-bsp/conf/machine/tc0.conf                        | 2 +-
 .../trusted-firmware-a/trusted-firmware-a-n1sdp.inc       | 3 ---
 ...are-a_2.4.bbappend => trusted-firmware-a_2.5.bbappend} | 0
 ...rusted-firmware-a_2.4.bb => trusted-firmware-a_2.5.bb} | 8 ++++----
 10 files changed, 13 insertions(+), 16 deletions(-)
 rename meta-arm-bsp/recipes-bsp/trusted-firmware-a/{trusted-firmware-a_2.4.bbappend => trusted-firmware-a_2.5.bbappend} (100%)
 rename meta-arm/recipes-bsp/trusted-firmware-a/{trusted-firmware-a_2.4.bb => trusted-firmware-a_2.5.bb} (71%)
meta-arm-bsp/conf/machine/corstone500.conf +2 -2
index 29291a0..b119137 100644
@@ -17,7 +17,7 @@ PREFERRED_VERSION_linux-yocto ?= "5.3%"
 KBUILD_DEFCONFIG = "multi_v7_defconfig"
 KCONFIG_MODE = "--alldefconfig"
 
-PREFERRED_VERSION_trusted-firmware-a ?= "2.4%"
+PREFERRED_VERSION_trusted-firmware-a ?= "2.5%"
 
 EXTRA_IMAGEDEPENDS += "virtual/trusted-firmware-a u-boot"
 
@@ -29,4 +29,4 @@ IMAGE_FSTYPES += "tar.bz2 cpio.gz"
 UBOOT_MACHINE = "designstart_ca5_defconfig"
 UBOOT_IMAGE_ENTRYPOINT = "0x84000000"
 UBOOT_IMAGE_LOADADDRESS = "0x84000000"
-PREFERRED_VERSION_u-boot ?= "2020.07"
\ No newline at end of file
+PREFERRED_VERSION_u-boot ?= "2020.07"
meta-arm-bsp/conf/machine/fvp-common.inc +1 -1
index 169c0a3..925da27 100644
@@ -16,7 +16,7 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
 PREFERRED_VERSION_linux-yocto ?= "5.10%"
 
 PREFERRED_VERSION_u-boot ?= "2021.01"
-PREFERRED_VERSION_trusted-firmware-a ?= "2.4%"
+PREFERRED_VERSION_trusted-firmware-a ?= "2.5%"
 
 EXTRA_IMAGEDEPENDS += "virtual/trusted-firmware-a u-boot"
 
meta-arm-bsp/conf/machine/include/corstone700.inc +2 -2
index 19a3c85..228fdd2 100644
@@ -11,7 +11,7 @@ SERIAL_CONSOLES ?= "115200;ttyAMA0"
 PREFERRED_PROVIDER_virtual/kernel_corstone700 = "linux-yocto"
 PREFERRED_VERSION_linux-yocto ?= "5.6%"
 
-PREFERRED_VERSION_trusted-firmware-a ?= "2.4%"
+PREFERRED_VERSION_trusted-firmware-a ?= "2.5%"
 
 PREFERRED_VERSION_gcc-arm-none-eabi-native ?= "9-2020-q2-update"
 
@@ -31,4 +31,4 @@ WKS_FILE ?= "arm-reference-image.corstone700.wks"
 VIRTUAL-RUNTIME_dev_manager = "busybox-mdev"
 
 UBOOT_MACHINE ?= "corstone700_defconfig"
-PREFERRED_VERSION_u-boot ?= "2020.04"
\ No newline at end of file
+PREFERRED_VERSION_u-boot ?= "2020.04"
meta-arm-bsp/conf/machine/juno.conf +1 -1
index 1d7be29..1000dad 100644
@@ -20,7 +20,7 @@ SERIAL_CONSOLES = "115200;ttyAMA0"
 # Use kernel provided by yocto
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
 PREFERRED_VERSION_linux-yocto ?= "5.4%"
-PREFERRED_VERSION_trusted-firmware-a ?= "2.4%"
+PREFERRED_VERSION_trusted-firmware-a ?= "2.5%"
 PREFERRED_VERSION_u-boot ?= "2020.07"
 
 EXTRA_IMAGEDEPENDS += "virtual/trusted-firmware-a u-boot firmware-image-juno"
meta-arm-bsp/conf/machine/n1sdp.conf +1 -1
index 3de47c8..2126cc1 100644
@@ -24,7 +24,7 @@ PREFERRED_VERSION_linux-yocto ?= "5.10%"
 # RTL8168E Gigabit Ethernet Controller is attached to the PCIe interface
 MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "linux-firmware-rtl8168"
 
-PREFERRED_VERSION_trusted-firmware-a ?= "2.4%"
+PREFERRED_VERSION_trusted-firmware-a ?= "2.5%"
 
 EXTRA_IMAGEDEPENDS += "virtual/trusted-firmware-a"
 EXTRA_IMAGEDEPENDS += "virtual/control-processor-firmware"
meta-arm-bsp/conf/machine/sgi575.conf +1 -1
index 2004369..cf91266 100644
@@ -8,7 +8,7 @@ require conf/machine/include/arm/armv8-2a/tune-cortexa75.inc
 
 EXTRA_IMAGEDEPENDS += "virtual/control-processor-firmware"
 
-PREFERRED_VERSION_trusted-firmware-a ?= "2.4%"
+PREFERRED_VERSION_trusted-firmware-a ?= "2.5%"
 
 EXTRA_IMAGEDEPENDS += "virtual/trusted-firmware-a"
 
meta-arm-bsp/conf/machine/tc0.conf +1 -1
index eda3324..6bcb6c8 100644
@@ -27,7 +27,7 @@ UBOOT_SIGN_KEYDIR = "${DEPLOY_DIR_IMAGE}/keys"
 FIT_GENERATE_KEYS = "1"
 
 PREFERRED_PROVIDER_virtual/trusted-firmware-a ?= "trusted-firmware-a"
-PREFERRED_VERSION_trusted-firmware-a ?= "2.4%"
+PREFERRED_VERSION_trusted-firmware-a ?= "2.5%"
 
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-arm64-ack"
 PREFERRED_VERSION_linux-arm64-ack ?= "5.4"
meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-n1sdp.inc +0 -3
index 9a49c00..112fac8 100644
@@ -7,6 +7,3 @@ TFA_INSTALL_TARGET = "bl31 n1sdp-multi-chip n1sdp-single-chip"
 TFA_DEBUG          = "1"
 TFA_MBEDTLS        = "0"
 TFA_UBOOT          = "0"
-
-SRCREV_tfa = "332649da478147b3d03132deb3783dd62fd475d7"
-PV = "2.4+git${SRCPV}"
meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.5.bbappend renamed from meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.4.bbappend +0 -0
similarity index 100%
rename from meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.4.bbappend
rename to meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.5.bbappend
meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.5.bb renamed from meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.4.bb +4 -4
similarity index 71%
rename from meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.4.bb
rename to meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.5.bb
index f23132a..dded003 100644
@@ -3,13 +3,13 @@ require trusted-firmware-a.inc
 # Use TF-A for version
 SRCREV_FORMAT = "tfa"
 
-# TF-A v2.4
-SRCREV_tfa = "e2c509a39c6cc4dda8734e6509cdbe6e3603cdfc"
+# TF-A v2.5
+SRCREV_tfa = "1e13c500a0351ac4b55d09a63f7008e2438550f8"
 
 LIC_FILES_CHKSUM += "file://docs/license.rst;md5=189505435dbcdcc8caa63c46fe93fa89"
 
-# mbed TLS v2.24.0
+# mbed TLS v2.26.0
 SRC_URI_MBEDTLS = "git://github.com/ARMmbed/mbedtls.git;name=mbedtls;protocol=https;destsuffix=git/mbedtls;branch=master"
-SRCREV_mbedtls = "523f0554b6cdc7ace5d360885c3f5bbcc73ec0e8"
+SRCREV_mbedtls = "e483a77c85e1f9c1dd2eb1c5a8f552d2617fe400"
 
 LIC_FILES_CHKSUM_MBEDTLS = "file://mbedtls/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
Signature · 1 line
2.17.1
#1 lore raw
Quoted 6 lines · Jon Mason

Update to TF-A v2.5 and MBED TLS 2.26, and all machines using 2.4 to the newer version. Also, n1sdp was using an intermediary SHA, but is now updated to the latest (which includes that intermediary SHA).

Change-Id Ia5ec3cecf9090fd5f5da28efff4c1d6cce1efc19

Pulled into master.

Thanks,
Jon

Quoted 167 lines
---
 meta-arm-bsp/conf/machine/corstone500.conf                | 4 ++--
 meta-arm-bsp/conf/machine/fvp-common.inc                  | 2 +-
 meta-arm-bsp/conf/machine/include/corstone700.inc         | 4 ++--
 meta-arm-bsp/conf/machine/juno.conf                       | 2 +-
 meta-arm-bsp/conf/machine/n1sdp.conf                      | 2 +-
 meta-arm-bsp/conf/machine/sgi575.conf                     | 2 +-
 meta-arm-bsp/conf/machine/tc0.conf                        | 2 +-
 .../trusted-firmware-a/trusted-firmware-a-n1sdp.inc       | 3 ---
 ...are-a_2.4.bbappend => trusted-firmware-a_2.5.bbappend} | 0
 ...rusted-firmware-a_2.4.bb => trusted-firmware-a_2.5.bb} | 8 ++++----
 10 files changed, 13 insertions(+), 16 deletions(-)
 rename meta-arm-bsp/recipes-bsp/trusted-firmware-a/{trusted-firmware-a_2.4.bbappend => trusted-firmware-a_2.5.bbappend} (100%)
 rename meta-arm/recipes-bsp/trusted-firmware-a/{trusted-firmware-a_2.4.bb => trusted-firmware-a_2.5.bb} (71%)
meta-arm-bsp/conf/machine/corstone500.conf +2 -2
index 29291a0..b119137 100644
@@ -17,7 +17,7 @@ PREFERRED_VERSION_linux-yocto ?= "5.3%"
 KBUILD_DEFCONFIG = "multi_v7_defconfig"
 KCONFIG_MODE = "--alldefconfig"
 
-PREFERRED_VERSION_trusted-firmware-a ?= "2.4%"
+PREFERRED_VERSION_trusted-firmware-a ?= "2.5%"
 
 EXTRA_IMAGEDEPENDS += "virtual/trusted-firmware-a u-boot"
 
@@ -29,4 +29,4 @@ IMAGE_FSTYPES += "tar.bz2 cpio.gz"
 UBOOT_MACHINE = "designstart_ca5_defconfig"
 UBOOT_IMAGE_ENTRYPOINT = "0x84000000"
 UBOOT_IMAGE_LOADADDRESS = "0x84000000"
-PREFERRED_VERSION_u-boot ?= "2020.07"
\ No newline at end of file
+PREFERRED_VERSION_u-boot ?= "2020.07"
meta-arm-bsp/conf/machine/fvp-common.inc +1 -1
index 169c0a3..925da27 100644
@@ -16,7 +16,7 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
 PREFERRED_VERSION_linux-yocto ?= "5.10%"
 
 PREFERRED_VERSION_u-boot ?= "2021.01"
-PREFERRED_VERSION_trusted-firmware-a ?= "2.4%"
+PREFERRED_VERSION_trusted-firmware-a ?= "2.5%"
 
 EXTRA_IMAGEDEPENDS += "virtual/trusted-firmware-a u-boot"
 
meta-arm-bsp/conf/machine/include/corstone700.inc +2 -2
index 19a3c85..228fdd2 100644
@@ -11,7 +11,7 @@ SERIAL_CONSOLES ?= "115200;ttyAMA0"
 PREFERRED_PROVIDER_virtual/kernel_corstone700 = "linux-yocto"
 PREFERRED_VERSION_linux-yocto ?= "5.6%"
 
-PREFERRED_VERSION_trusted-firmware-a ?= "2.4%"
+PREFERRED_VERSION_trusted-firmware-a ?= "2.5%"
 
 PREFERRED_VERSION_gcc-arm-none-eabi-native ?= "9-2020-q2-update"
 
@@ -31,4 +31,4 @@ WKS_FILE ?= "arm-reference-image.corstone700.wks"
 VIRTUAL-RUNTIME_dev_manager = "busybox-mdev"
 
 UBOOT_MACHINE ?= "corstone700_defconfig"
-PREFERRED_VERSION_u-boot ?= "2020.04"
\ No newline at end of file
+PREFERRED_VERSION_u-boot ?= "2020.04"
meta-arm-bsp/conf/machine/juno.conf +1 -1
index 1d7be29..1000dad 100644
@@ -20,7 +20,7 @@ SERIAL_CONSOLES = "115200;ttyAMA0"
 # Use kernel provided by yocto
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
 PREFERRED_VERSION_linux-yocto ?= "5.4%"
-PREFERRED_VERSION_trusted-firmware-a ?= "2.4%"
+PREFERRED_VERSION_trusted-firmware-a ?= "2.5%"
 PREFERRED_VERSION_u-boot ?= "2020.07"
 
 EXTRA_IMAGEDEPENDS += "virtual/trusted-firmware-a u-boot firmware-image-juno"
meta-arm-bsp/conf/machine/n1sdp.conf +1 -1
index 3de47c8..2126cc1 100644
@@ -24,7 +24,7 @@ PREFERRED_VERSION_linux-yocto ?= "5.10%"
 # RTL8168E Gigabit Ethernet Controller is attached to the PCIe interface
 MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "linux-firmware-rtl8168"
 
-PREFERRED_VERSION_trusted-firmware-a ?= "2.4%"
+PREFERRED_VERSION_trusted-firmware-a ?= "2.5%"
 
 EXTRA_IMAGEDEPENDS += "virtual/trusted-firmware-a"
 EXTRA_IMAGEDEPENDS += "virtual/control-processor-firmware"
meta-arm-bsp/conf/machine/sgi575.conf +1 -1
index 2004369..cf91266 100644
@@ -8,7 +8,7 @@ require conf/machine/include/arm/armv8-2a/tune-cortexa75.inc
 
 EXTRA_IMAGEDEPENDS += "virtual/control-processor-firmware"
 
-PREFERRED_VERSION_trusted-firmware-a ?= "2.4%"
+PREFERRED_VERSION_trusted-firmware-a ?= "2.5%"
 
 EXTRA_IMAGEDEPENDS += "virtual/trusted-firmware-a"
 
meta-arm-bsp/conf/machine/tc0.conf +1 -1
index eda3324..6bcb6c8 100644
@@ -27,7 +27,7 @@ UBOOT_SIGN_KEYDIR = "${DEPLOY_DIR_IMAGE}/keys"
 FIT_GENERATE_KEYS = "1"
 
 PREFERRED_PROVIDER_virtual/trusted-firmware-a ?= "trusted-firmware-a"
-PREFERRED_VERSION_trusted-firmware-a ?= "2.4%"
+PREFERRED_VERSION_trusted-firmware-a ?= "2.5%"
 
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-arm64-ack"
 PREFERRED_VERSION_linux-arm64-ack ?= "5.4"
meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-n1sdp.inc +0 -3
index 9a49c00..112fac8 100644
@@ -7,6 +7,3 @@ TFA_INSTALL_TARGET = "bl31 n1sdp-multi-chip n1sdp-single-chip"
 TFA_DEBUG          = "1"
 TFA_MBEDTLS        = "0"
 TFA_UBOOT          = "0"
-
-SRCREV_tfa = "332649da478147b3d03132deb3783dd62fd475d7"
-PV = "2.4+git${SRCPV}"
meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.5.bbappend renamed from meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.4.bbappend +0 -0
similarity index 100%
rename from meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.4.bbappend
rename to meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.5.bbappend
meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.5.bb renamed from meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.4.bb +4 -4
similarity index 71%
rename from meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.4.bb
rename to meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.5.bb
index f23132a..dded003 100644
@@ -3,13 +3,13 @@ require trusted-firmware-a.inc
 # Use TF-A for version
 SRCREV_FORMAT = "tfa"
 
-# TF-A v2.4
-SRCREV_tfa = "e2c509a39c6cc4dda8734e6509cdbe6e3603cdfc"
+# TF-A v2.5
+SRCREV_tfa = "1e13c500a0351ac4b55d09a63f7008e2438550f8"
 
 LIC_FILES_CHKSUM += "file://docs/license.rst;md5=189505435dbcdcc8caa63c46fe93fa89"
 
-# mbed TLS v2.24.0
+# mbed TLS v2.26.0
 SRC_URI_MBEDTLS = "git://github.com/ARMmbed/mbedtls.git;name=mbedtls;protocol=https;destsuffix=git/mbedtls;branch=master"
-SRCREV_mbedtls = "523f0554b6cdc7ace5d360885c3f5bbcc73ec0e8"
+SRCREV_mbedtls = "e483a77c85e1f9c1dd2eb1c5a8f552d2617fe400"
 
 LIC_FILES_CHKSUM_MBEDTLS = "file://mbedtls/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
Signature · 1 line
2.17.1