blob: aea23f2a903c99c1d3573da7b1d62e3a76ebeb64 [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
8post_tf_build() {
9 get_uboot_bin
10}
11
Chris Kay4e8aaf12022-09-01 15:21:55 +010012generate_lava_job() {
13 local model="base-aemv8a"
Leonardo Sandoval00ced1f2020-12-07 12:55:08 -060014
Leonardo Sandoval19707762021-02-26 11:34:59 -060015 image=${archive}/tmp.bin
Chris Kay4e8aaf12022-09-01 15:21:55 +010016 printf '\1\0\0\0' >"$image"
Fathi Boudra422bf772019-12-02 11:10:16 +020017
Chris Kay4e8aaf12022-09-01 15:21:55 +010018 model="$model" \
19 cache_state_modelled="0" \
20 memprotect_addr="0xBFC0000" \
21 memprotect="$image" \
22 preload_bl33_bin="uboot.bin" \
23 preload_bl33="1" \
24 reset_to_bl31="1" \
25 gen_model_params
Leonardo Sandoval1240a0a2020-10-27 11:27:11 -060026
Leonardo Sandoval00ced1f2020-12-07 12:55:08 -060027 model="$model" gen_fvp_yaml
Fathi Boudra422bf772019-12-02 11:10:16 +020028}