blob: 185c1ea81854e3df213cb6ed3f7b8f78783e8057 [file] [log] [blame]
Zelalem Aweke773e19b2021-08-20 17:41:00 -05001#!/usr/bin/env bash
2#
3# Copyright (c) 2021, Arm Limited. All rights reserved.
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8fetch_tf_resource() {
9 # RME systems go BL1->BL2->BL31 so we must set this variable for expect
10 # scripts to work properly and not hang up waiting for BL1->BL31.
11 uart="0" set_expect_variable "skip_early_boot_msgs" "1"
12
13 # Use standard TFTF expect script on primary UART.
14 uart="0" file="tftf.exp" track_expect
15
16 # Track the rest of the UARTs to aid in debugging.
17 uart="1" file="hold_uart.exp" track_expect
18 uart="2" file="hold_uart.exp" track_expect
19 uart="3" file="hold_uart.exp" track_expect
20
21 payload_type="tftf" gen_fvp_yaml_template
22}
23
24post_fetch_tf_resource() {
25 local model="base-aemv8a"
26
27 model="$model" \
Zelalem Aweke773e19b2021-08-20 17:41:00 -050028 arch_version="8.6" \
29 has_branch_target_exception="1" \
30 restriction_on_speculative_execution="2" \
31 amu_present="1" \
32 has_rme="1" \
33 has_smmuv3_params="1" \
34 gen_model_params
35
36 model="$model" gen_fvp_yaml
37}