blob: f00ff3e51ab438b945c17cf332bea1ca9b8ecd89 [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
Chris Kay4e8aaf12022-09-01 15:21:55 +01008generate_lava_job() {
9 local model="base-aemv8a"
Fathi Boudra422bf772019-12-02 11:10:16 +020010
Chris Kaye5a486b2023-08-04 11:50:31 +000011 # BL2 is placed towards the middle of the Trusted SRAM based on (Total TSRAM / 2 + 0x2000)
12 local bl2_addr=$((0x4002000 + (fvp_tsram_size * 512)))
13
Fathi Boudra422bf772019-12-02 11:10:16 +020014 uart="0" set_expect_variable "skip_early_boot_msgs" "1"
Leonardo Sandoval1240a0a2020-10-27 11:27:11 -060015
Chris Kaye5a486b2023-08-04 11:50:31 +000016 model="$model" bl2_addr="${bl2_addr}" bl2_at_el3="1" gen_model_params
Leonardo Sandoval00ced1f2020-12-07 12:55:08 -060017 model="$model" gen_fvp_yaml
Fathi Boudra422bf772019-12-02 11:10:16 +020018}