blob: 90b8e978cbd6da3e24db880846024214a2637284 [file] [log] [blame]
#!/usr/bin/env bash
#
# Copyright (c) 2021-2022, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
generate_lava_job_template() {
payload_type="tftf" gen_fvp_yaml_template
}
generate_lava_job() {
local model="base-aemv8a"
# RME systems go BL1->BL2->BL31 so we must set this variable for expect
# scripts to work properly and not hang up waiting for BL1->BL31.
uart="0" set_expect_variable "skip_early_boot_msgs" "1"
# Use standard TFTF expect script on primary UART.
uart="0" file="tftf.exp" track_expect
# Track the rest of the UARTs to aid in debugging.
uart="1" file="hold_uart.exp" track_expect
uart="2" file="hold_uart.exp" track_expect
uart="3" file="hold_uart.exp" track_expect
model="$model" \
amu_present="1" \
arch_version="8.6" \
has_branch_target_exception="1" \
has_rme="1" \
has_smmuv3_params="1" \
memory_tagging_support_level="2" \
restriction_on_speculative_execution="2" \
gen_model_params
model="$model" gen_fvp_yaml
}