blob: ff324cd04385d1ae16e05323b42de4b6e4d03795 [file] [log] [blame]
Govindraj Rajac9223052023-01-24 17:22:45 +00001#!/usr/bin/env bash
2#
3# Copyright (c) 2023, Arm Limited. All rights reserved.
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8pre_tf_build() {
9 # Apply fault injection patches
10 apply_tf_patch "fault_inject/induce_bl31_main_panic.patch"
11}
12
13generate_lava_job() {
14 local model="base-aemv8a"
15
16 uart="0" timeout="60" file="bl31_boot.exp" track_expect
17 uart="1" timeout="60" file="bl31_main_panic.exp" set_primary="1" track_expect
18
19 model="$model" gen_model_params
20 model="$model" gen_fvp_yaml
21}