blob: cfeb1760920de1795c23476c778b57610fbc62b0 [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_scp_bl2_bin
10
11 # Building FIP for this config requires a BL32 built in AArch32, but
12 # we'll only build that later. For now, provide a dummy file; we'll
13 # update the FIP with real BL32 image later.
14 local tmp_bl32="$(mktempfile)"
15 build_fip BL32="$tmp_bl32" BL33="$archive/tftf.bin" SCP_BL2="$archive/scp_bl2.bin"
16}
17
18post_fetch_tf_resource() {
19 gen_recovery_image32 "$archive/bl1.bin" "$archive/fip.bin"
20 payload_type="tftf" gen_juno_yaml
21}