blob: ff324cd04385d1ae16e05323b42de4b6e4d03795 [file] [log] [blame]
#!/usr/bin/env bash
#
# Copyright (c) 2023, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
pre_tf_build() {
# Apply fault injection patches
apply_tf_patch "fault_inject/induce_bl31_main_panic.patch"
}
generate_lava_job() {
local model="base-aemv8a"
uart="0" timeout="60" file="bl31_boot.exp" track_expect
uart="1" timeout="60" file="bl31_main_panic.exp" set_primary="1" track_expect
model="$model" gen_model_params
model="$model" gen_fvp_yaml
}