blob: 4d83163469e9447c4ffb514e8304b1edb5520b61 [file] [log] [blame]
Leonardo Sandoval9dfdd1b2020-08-06 17:08:11 -05001#!/usr/bin/env bash
Fathi Boudra422bf772019-12-02 11:10:16 +02002#
Leonardo Sandoval579c7372020-10-23 15:23:32 -05003# Copyright (c) 2019-2020 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
12post_fetch_tf_resource() {
13 image="$(mktempfile)"
14 printf '\1\0\0\0' > "$image"
15
16 preload_bl33="1" \
17 preload_bl33_bin="uboot.bin" \
18 reset_to_bl31="1" \
19 cache_state_modelled="0" \
20 memprotect="$image" \
21 memprotect_addr="0xBFC0000" \
22 model="base-aemv8a" gen_model_params
Leonardo Sandoval1240a0a2020-10-27 11:27:11 -060023
24 model="base-aemv8a" \
25 model_bin="FVP_Base_AEMv8A-AEMv8A" \
26 gen_fvp_yaml
Fathi Boudra422bf772019-12-02 11:10:16 +020027}