blob: dbb819d60c73b5b75664b329e772f10c62b58bf3 [file] [log] [blame]
Leonardo Sandoval9dfdd1b2020-08-06 17:08:11 -05001#!/usr/bin/env bash
Zelaleme9e81482020-07-10 15:18:46 -05002#
3# Copyright (c) 2019-2020, Arm Limited. All rights reserved.
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8post_fetch_tf_resource() {
Leonardo Sandoval00ced1f2020-12-07 12:55:08 -06009 local model="base-aemv8a"
10
Leonardo Sandoval19707762021-02-26 11:34:59 -060011 image=${archive}/tmp.bin
Zelaleme9e81482020-07-10 15:18:46 -050012 printf '\1\0\0\0' > "$image"
13
14 aarch32="1" \
15 reset_to_spmin="1" \
16 cache_state_modelled="0" \
17 memprotect="$image" \
18 memprotect_addr="0xBFC0000" \
Leonardo Sandoval00ced1f2020-12-07 12:55:08 -060019 model="$model" gen_model_params
Leonardo Sandoval1240a0a2020-10-27 11:27:11 -060020
Leonardo Sandoval00ced1f2020-12-07 12:55:08 -060021 model="$model" gen_fvp_yaml
Zelaleme9e81482020-07-10 15:18:46 -050022}