blob: 452d81114d6b96ed92ca018c9281a7a3dbe9757c [file] [log] [blame]
Anurag Koulc7f61ce2021-02-24 19:11:06 +00001#!/usr/bin/env bash
2#
Chris Kay4e8aaf12022-09-01 15:21:55 +01003# Copyright (c) 2021-2022, Arm Limited. All rights reserved.
Anurag Koulc7f61ce2021-02-24 19:11:06 +00004#
5# SPDX-License-Identifier: BSD-3-Clause
6#
Anurag Koulc7f61ce2021-02-24 19:11:06 +00007
Chris Kay4e8aaf12022-09-01 15:21:55 +01008generate_lava_job() {
Anurag Koulc7f61ce2021-02-24 19:11:06 +00009 local model="morello"
10
Chris Kay4e8aaf12022-09-01 15:21:55 +010011 uart="1" set_expect_variable "skip_early_boot_msgs" "1"
12 uart="1" set_expect_variable "num_cpus" "4"
13
14 # Hold terminal_uart_aon (SCP terminal)
15 uart="2" file="hold_uart.exp" track_expect
16
Anurag Koulc7f61ce2021-02-24 19:11:06 +000017 set_run_env "ports_script" "$ci_root/model/morello-ports.awk"
18 set_run_env "num_uarts" "3"
19
Chris Kay4e8aaf12022-09-01 15:21:55 +010020 model="morello" \
21 model_build="33" \
22 model_flavour="Linux64_GCC-6.4" \
23 model_version="0.11" \
24 gen_model_params
Anurag Koulc7f61ce2021-02-24 19:11:06 +000025
26 model="$model" gen_fvp_yaml
27}