Fetch prebuilt OP-TEE binary from Linaro releases
We were fetching it from some Jenkins job that rebuilt OP-TEE from
source code. The reason we had this build job is now legacy: at that
time we needed some cutting-edge feature only present in the
development branch. Since then, this feature has been integrated in
OP-TEE releases so let's switch back to prebuilt release binaries.
Change-Id: Ie5f4c94521929e3f03639f85beb1cd23cf9bdaab
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
diff --git a/fvp_utils.sh b/fvp_utils.sh
index dd1a443..d270d56 100644
--- a/fvp_utils.sh
+++ b/fvp_utils.sh
@@ -32,6 +32,8 @@
backup_fip_addr="${backup_fip_addr:-0x09000000}"
romlib_addr="${romlib_addr:-0x03ff2000}"
+optee_fip_url="$linaro_release/fvp-ack-busybox-uboot/fip.bin"
+
uboot32_fip_url="$linaro_release/fvp32-latest-busybox-uboot/fip.bin"
rootfs_url="$linaro_release/lt-vexpress64-openembedded_minimal-armv8-gcc-5.2_20170127-761.img.gz"
@@ -113,9 +115,13 @@
)
get_optee_bin() {
- url="$jenkins_url/job/tf-optee-build/PLATFORM_FLAVOR=fvp,label=arch-dev/lastSuccessfulBuild/artifact/artefacts/tee.bin" \
- saveas="bl32.bin" fetch_file
+ local tmpdir="$(mktempdir)"
+
+ pushd "$tmpdir"
+ extract_fip "$optee_fip_url"
+ mv "tos-fw.bin" "bl32.bin"
archive_file "bl32.bin"
+ popd
}
# For Measured Boot tests using a TA based on OPTEE, it is necessary to use a