blob: 4ef2d9fe6914c3a1fcf1d30010030a1a926760c8 [file] [log] [blame]
#!/usr/bin/env bash
#
# Copyright (c) 2020, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
post_tf_build() {
path_bypass_rom="$scp_root/build/juno/GNU/$mode/firmware-scp_romfw_bypass/bin"
cp "$path_bypass_rom/juno-bl1-bypass.bin" "$path_bypass_rom/scp_bl1.bin"
archive_file "$path_bypass_rom/scp_bl1.bin"
path_ram="$scp_root/build/juno/GNU/$mode/firmware-scp_ramfw/bin"
cp "$path_ram/juno-bl2.bin" "$path_ram/scp_ramfw.bin"
archive_file "$path_ram/scp_ramfw.bin"
build_fip BL33="$archive/tftf.bin" SCP_BL2="$archive/scp_ramfw.bin"
}
post_fetch_tf_resource() {
gen_recovery_image "$archive/bl1.bin" "$archive/fip.bin" "$archive/scp_bl1.bin"
payload_type="tftf" gen_juno_yaml
}