Skip to contentSkip to conversation

arm/trusted-firmware-a: add branch name for mbedtls

PATCH In review Usama Arif 1 participant 3 messages Aug 5, 2020

lore
Share & tools
lore

Usama Arif

author
#0 lore raw

PATCH v2 1/2 arm/trusted-firmware-a: add branch name for mbedtls

It appears that the mbedtls team have moved the SHA which meta-arm was using from master branch. It is still present in mbedtls-2.18 branch so this is now used.

Change-Id Ie932f446067767e85a25583b1bdc02b4739e323f
---
 .../recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.3.bb    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.3.bb +1 -1
index 8286b64..7279173 100644
@@ -21,7 +21,7 @@ LIC_FILES_CHKSUM = "file://docs/license.rst;md5=189505435dbcdcc8caa63c46fe93fa89
 # Those are used in trusted-firmware-a.inc if TFA_MBEDTLS is set to 1
 #
 
-SRC_URI_MBEDTLS = "git://github.com/ARMmbed/mbedtls.git;name=mbedtls;protocol=https;destsuffix=git/mbedtls"
+SRC_URI_MBEDTLS = "git://github.com/ARMmbed/mbedtls.git;name=mbedtls;protocol=https;destsuffix=git/mbedtls;branch=mbedtls-2.18"
 
 # mbed TLS v2.18.1
 SRCREV_mbedtls = "ca933c7e0c9e84738b168b6b0feb89af4183a60a"
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH v2 2/2 arm-bsp/trusted-firmware: remove SHA for mbedtls

Use the default one from trusted-firmware-a_2.3

Change-Id I496db01818b172b109e8dab04e39a66bafd35a2d
---
 .../recipes-bsp/trusted-firmware-a/trusted-firmware-a-tc0.inc   | 2 --
 1 file changed, 2 deletions(-)
meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-tc0.inc +0 -2
index 555fb1d..d22108a 100644
@@ -2,8 +2,6 @@
 
 # Intermediate SHA with 2.3 baseline version
 SRCREV_tfa = "2fe7d18b0d99fdf4c4dbf84863bb2036dfebc537"
-# mbedtls-2.16.4 tag commit
-SRCREV_mbedtls = "39e2c0eeb6501980764793e8d54c49c0a42bde48"
 
 SRC_URI_append = " ${SRC_URI_MBEDTLS}"
 
Signature · 1 line
2.17.1
author
#2 lore raw
In reply to Usama Arif

Hi

Could the 2 patches be merged in dunfell as well. Without these patches, dunfell would be broken for all bsps' that use mbedtls.

Thanks,
Usama

Quoted 25 lines · Usama Arif

It appears that the mbedtls team have moved the SHA which meta-arm was using from master branch. It is still present in mbedtls-2.18 branch so this is now used.

Change-Id Ie932f446067767e85a25583b1bdc02b4739e323f
---
  .../recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.3.bb    | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.3.bb +1 -1
index 8286b64..7279173 100644
@@ -21,7 +21,7 @@ LIC_FILES_CHKSUM = "file://docs/license.rst;md5=189505435dbcdcc8caa63c46fe93fa89
  # Those are used in trusted-firmware-a.inc if TFA_MBEDTLS is set to 1
  #
 
-SRC_URI_MBEDTLS = "git://github.com/ARMmbed/mbedtls.git;name=mbedtls;protocol=https;destsuffix=git/mbedtls"
+SRC_URI_MBEDTLS = "git://github.com/ARMmbed/mbedtls.git;name=mbedtls;protocol=https;destsuffix=git/mbedtls;branch=mbedtls-2.18"
 
  # mbed TLS v2.18.1
  SRCREV_mbedtls = "ca933c7e0c9e84738b168b6b0feb89af4183a60a"