blob: 48e39219e3b967b5ebcbc06f73f153efa45c90b2 [file] [log] [blame]
Zelalem Aweke773e19b2021-08-20 17:41:00 -05001#!/usr/bin/env bash
2#
Maksims Svecovsc2e24752022-03-24 13:52:31 +00003# Copyright (c) 2021-2022, Arm Limited. All rights reserved.
Zelalem Aweke773e19b2021-08-20 17:41:00 -05004#
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" \
Maksims Svecovsc2e24752022-03-24 13:52:31 +000034 memory_tagging_support_level="2" \
Zelalem Aweke773e19b2021-08-20 17:41:00 -050035 gen_model_params
36
37 model="$model" gen_fvp_yaml
38}