blob: 16597c9a78bca088a5f5f0f0101a60c0e7f6b1b6 [file] [log] [blame]
Manish V Badarkhe23e54ba2022-06-13 20:06:36 +01001#!/usr/bin/env bash
2#
Olivier Deprezcedd10d2023-09-08 08:59:24 +02003# Copyright (c) 2022-2023, Arm Limited. All rights reserved.
Manish V Badarkhe23e54ba2022-06-13 20:06:36 +01004#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
Chris Kay4e8aaf12022-09-01 15:21:55 +01008generate_lava_job() {
9 local model="base-aemv8a"
Manish V Badarkhe23e54ba2022-06-13 20:06:36 +010010
Olivier Deprezcedd10d2023-09-08 08:59:24 +020011 # BL2 is placed towards the middle of the Trusted SRAM based on (Total TSRAM / 2 + 0x5000)
12 local bl2_addr=$((0x4005000 + (fvp_tsram_size * 512)))
13
Chris Kay4e8aaf12022-09-01 15:21:55 +010014 uart="0" set_expect_variable "skip_early_boot_msgs" "1"
Manish V Badarkhe23e54ba2022-06-13 20:06:36 +010015
Olivier Deprezcedd10d2023-09-08 08:59:24 +020016 model="$model" bl2_addr="${bl2_addr}" bl2_at_el3="1" gen_model_params
Chris Kay4e8aaf12022-09-01 15:21:55 +010017 model="$model" gen_fvp_yaml
Manish V Badarkhe23e54ba2022-06-13 20:06:36 +010018}