blob: 43728d65030345a46219ce1e4a25a4d934c0c378 [file] [log] [blame]
#!/usr/bin/env bash
#
# Copyright (c) 2019-2020 Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
pre_tftf_build() {
# Build TFTF and FWU images for this config
targets="tftf ns_bl1u ns_bl2u" set_tftf_build_targets
}
# Perform FWU steps after all build products have been archived.
post_tf_build() {
fip_targets="fip fwu_fip" build_fip \
BL33="$archive/tftf.bin" \
NS_BL2U="$archive/ns_bl2u.bin"
}
post_tf_archive() {
echo "Backing up FIP..."
cp "$archive/fip.bin" "$archive/backup_fip.bin"
}
fetch_tf_resource() {
uart="0" timeout="900" file="tftf.exp" track_expect
payload_type="tftf" gen_fvp_yaml_template
}