blob: 31be770b7e99ad39270deb245a064d5434f47412 [file] [log] [blame]
Zelaleme9e81482020-07-10 15:18:46 -05001#!/bin/bash
2#
3# Copyright (c) 2019, Arm Limited. All rights reserved.
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8fetch_tf_resource() {
9 # Use SCP binary from SCP build if it exists, or fetch pre-built ones.
10 if [ ! -f "$archive/scp_romfw.bin" ]; then
11 url="$tc_prebuilts/scp_romfw.bin" fetch_file
12 archive_file "scp_romfw.bin"
13 fi
14
15 # Hold terminal_uart_aon
16 uart="2" file="hold_uart.exp" track_expect
17}
18
19post_fetch_tf_resource() {
20 # Needed by the Total Compute Fast Model
21 set_model_env "FASTSIM_CMN_INTERNAL_RNSAM" "1"
22 model="tc0" gen_model_params
23 set_run_env "ports_script" "$ci_root/model/tc0-ports.awk"
24 set_run_env "num_uarts" "3"
25 uart="1" set_expect_variable "num_cpus" "4"
26}