blob: 690c4b21a2ac9623097683aa607cedb0321be5f7 [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) 2020, Arm Limited. All rights reserved.
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8pre_tftf_build() {
9 # Build TFTF and FWU images for this config
10 targets="tftf ns_bl1u ns_bl2u" set_tftf_build_targets
11}
12
13
14# Perform FWU steps after all build products have been archived.
15post_tf_build() {
16 fip_targets="fip fwu_fip" build_fip \
17 BL33="$archive/tftf.bin" \
18 NS_BL2U="$archive/ns_bl2u.bin"
19}
20
21post_tf_archive() {
22 echo "Backing up FIP..."
23 cp "$archive/fip.bin" "$archive/backup_fip.bin"
24}
25
26fetch_tf_resource() {
27 uart="0" timeout="900" file="tftf-aarch32.exp" track_expect
28}