Zelalem Aweke | 773e19b | 2021-08-20 17:41:00 -0500 | [diff] [blame] | 1 | #!/usr/bin/env bash |
| 2 | # |
Maksims Svecovs | c2e2475 | 2022-03-24 13:52:31 +0000 | [diff] [blame] | 3 | # Copyright (c) 2021-2022, Arm Limited. All rights reserved. |
Zelalem Aweke | 773e19b | 2021-08-20 17:41:00 -0500 | [diff] [blame] | 4 | # |
| 5 | # SPDX-License-Identifier: BSD-3-Clause |
| 6 | # |
| 7 | |
Chris Kay | 4e8aaf1 | 2022-09-01 15:21:55 +0100 | [diff] [blame] | 8 | generate_lava_job_template() { |
| 9 | payload_type="tftf" gen_fvp_yaml_template |
| 10 | } |
| 11 | |
| 12 | generate_lava_job() { |
| 13 | local model="base-aemv8a" |
| 14 | |
Zelalem Aweke | 773e19b | 2021-08-20 17:41:00 -0500 | [diff] [blame] | 15 | # 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 Aweke | 773e19b | 2021-08-20 17:41:00 -0500 | [diff] [blame] | 27 | model="$model" \ |
Chris Kay | 4e8aaf1 | 2022-09-01 15:21:55 +0100 | [diff] [blame] | 28 | 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 Aweke | 773e19b | 2021-08-20 17:41:00 -0500 | [diff] [blame] | 35 | gen_model_params |
| 36 | |
| 37 | model="$model" gen_fvp_yaml |
| 38 | } |