blob: 716d90778e85b5403f40f568caa19e784125c83b [file] [log] [blame]
Leonardo Sandoval9dfdd1b2020-08-06 17:08:11 -05001#!/usr/bin/env bash
Fathi Boudra422bf772019-12-02 11:10:16 +02002#
Chris Kay4e8aaf12022-09-01 15:21:55 +01003# Copyright (c) 2019-2022, Arm Limited. All rights reserved.
Fathi Boudra422bf772019-12-02 11:10:16 +02004#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8fetch_tf_resource() {
9 url="$sgi_prebuilts/mcp-rom.bin" fetch_file
10 url="$sgi_prebuilts/scp-ram.bin" fetch_file
11 url="$sgi_prebuilts/scp-rom.bin" fetch_file
12
Fathi Boudra422bf772019-12-02 11:10:16 +020013 archive_file "mcp-rom.bin"
14 archive_file "scp-ram.bin"
15 archive_file "scp-rom.bin"
16}
17
Chris Kay4e8aaf12022-09-01 15:21:55 +010018generate_lava_job() {
19 local model="css-rde1edge"
Leonardo Sandoval00ced1f2020-12-07 12:55:08 -060020
Chris Kay4e8aaf12022-09-01 15:21:55 +010021 uart="0" set_expect_variable "num_cpus" "32"
22
Fathi Boudra422bf772019-12-02 11:10:16 +020023 set_run_env "ports_script" "$ci_root/model/css-sgi575-ports.awk"
24 set_run_env "num_uarts" "2"
Chris Kay4e8aaf12022-09-01 15:21:55 +010025
26 model="css-rde1edge" gen_model_params
Leonardo Sandoval00ced1f2020-12-07 12:55:08 -060027 model="$model" gen_fvp_yaml
Fathi Boudra422bf772019-12-02 11:10:16 +020028}