blob: 90b8e978cbd6da3e24db880846024214a2637284 [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
Chris Kay4e8aaf12022-09-01 15:21:55 +01008generate_lava_job_template() {
9 payload_type="tftf" gen_fvp_yaml_template
10}
11
12generate_lava_job() {
13 local model="base-aemv8a"
14
Zelalem Aweke773e19b2021-08-20 17:41:00 -050015 # RME systems go BL1->BL2->BL31 so we must set this variable for expect
16 # scripts to work properly and not hang up waiting for BL1->BL31.
17 uart="0" set_expect_variable "skip_early_boot_msgs" "1"
18
19 # Use standard TFTF expect script on primary UART.
20 uart="0" file="tftf.exp" track_expect
21
22 # Track the rest of the UARTs to aid in debugging.
23 uart="1" file="hold_uart.exp" track_expect
24 uart="2" file="hold_uart.exp" track_expect
25 uart="3" file="hold_uart.exp" track_expect
26
Zelalem Aweke773e19b2021-08-20 17:41:00 -050027 model="$model" \
Chris Kay4e8aaf12022-09-01 15:21:55 +010028 amu_present="1" \
29 arch_version="8.6" \
30 has_branch_target_exception="1" \
31 has_rme="1" \
32 has_smmuv3_params="1" \
33 memory_tagging_support_level="2" \
34 restriction_on_speculative_execution="2" \
Zelalem Aweke773e19b2021-08-20 17:41:00 -050035 gen_model_params
36
37 model="$model" gen_fvp_yaml
38}