feat(lx2162aqds): add trusted boot builds
PLAT=lx2162aqds build with custom tbbr from nxp tbbr cot file and
this build can be without mbedtls dir specified.
This is a special configuration used so add this to l1 group tests.
Align all mbedtls downloads to archive paths and avoid
using ref/tags in url.
Change-Id: I729f3c9f470cb9762f51535e2ebbe4e2d70f96db
Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
diff --git a/group/tf-l1-build-plat/lx2162aqds-tbb:nil b/group/tf-l1-build-plat/lx2162aqds-tbb:nil
new file mode 100644
index 0000000..5515958
--- /dev/null
+++ b/group/tf-l1-build-plat/lx2162aqds-tbb:nil
@@ -0,0 +1,6 @@
+#
+# Copyright (c) 2023 Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
diff --git a/run_config/mbedtls2.pre_tf_build b/run_config/mbedtls2.pre_tf_build
index 743e013..05587d1 100644
--- a/run_config/mbedtls2.pre_tf_build
+++ b/run_config/mbedtls2.pre_tf_build
@@ -7,5 +7,5 @@
# Override default mbedtls to use mbedtls-2.28
pre_tf_build() {
- set_hook_var "mbedtls_archive" "https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v2.28.1.tar.gz"
+ set_hook_var "mbedtls_archive" "https://github.com/Mbed-TLS/mbedtls/archive/mbedtls-2.28.1.tar.gz"
}
diff --git a/tf_config/lx2162aqds-tbb b/tf_config/lx2162aqds-tbb
new file mode 100644
index 0000000..ff2fd8d
--- /dev/null
+++ b/tf_config/lx2162aqds-tbb
@@ -0,0 +1,4 @@
+CROSS_COMPILE=aarch64-none-elf-
+CST_DIR=$(pwd)
+PLAT=lx2162aqds
+TRUSTED_BOARD_BOOT=1
diff --git a/utils.sh b/utils.sh
index 2dbef2f..1599cbb 100644
--- a/utils.sh
+++ b/utils.sh
@@ -641,7 +641,7 @@
mbedtls_version="${mbedtls_version:-3.3.0}"
# mbedTLS archive public hosting available at github.com
-mbedtls_archive="${mbedtls_archive:-https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v${mbedtls_version}.tar.gz}"
+mbedtls_archive="${mbedtls_archive:-https://github.com/Mbed-TLS/mbedtls/archive/mbedtls-${mbedtls_version}.tar.gz}"
# FIXME: workaround to allow all on-prem host machines to access the latest LLVM
# LLVM archive public hosting available at github.com