n1sdp: Reintroduce tf-l3 and scp boot tests
Commit 83ee9b348ca609e75fbc87b0b8d37372fad81d99 disabled
Platform CI tests for N1SDP because of a major change
in the boot flow.
This patch updates the scripts to adhere to the
newly introduced TBBR based boot flow, and re-enable the
boot tests.
Signed-off-by: sahil <sahil@arm.com>
Change-Id: I7cb8da4e1ff3c48784cbe7a3fabf7c4f688063af
diff --git a/n1sdp_utils.sh b/n1sdp_utils.sh
index 179a86a..0f88c21 100644
--- a/n1sdp_utils.sh
+++ b/n1sdp_utils.sh
@@ -1,14 +1,15 @@
#!/usr/bin/env bash
#
-# Copyright (c) 2021 Arm Limited. All rights reserved.
+# Copyright (c) 2021-2022 Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
source "$ci_root/fvp_utils.sh"
-n1sdp_prebuilts=${n1sdp_prebuilts:="$tfa_downloads/css/n1sdp"}
-scp_mcp_prebuilts=${scp_mcp_prebuilts:="$scp_mcp_downloads/n1sdp/release"}
+n1sdp_release="N1SDP-2022.06.22"
+n1sdp_prebuilts=${n1sdp_prebuilts:="$tfa_downloads/css/n1sdp/$n1sdp_release"}
+scp_mcp_prebuilts=${scp_mcp_prebuilts:="$n1sdp_prebuilts"}
get_n1sdp_firmware() {
url=$n1sdp_firmware_bin_url saveas="n1sdp-board-firmware.zip" fetch_file
@@ -27,6 +28,7 @@
cp -Rp --no-preserve=ownership "$archive/mcp_rom.bin" "$zip_dir/SOFTWARE"
cp -Rp --no-preserve=ownership "$archive/scp_fw.bin" "$zip_dir/SOFTWARE"
cp -Rp --no-preserve=ownership "$archive/scp_rom.bin" "$zip_dir/SOFTWARE"
+ cp -Rp --no-preserve=ownership "$archive/fip.bin" "$zip_dir/SOFTWARE"
(cd "$zip_dir" && zip -rq "$zip_file" -- *)