blob: 139b63bb0d4e0444da851270c7ce69be571f5b67 [file] [log] [blame]
#!/usr/bin/env bash
#
# Copyright (c) 2020, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
test_setup() {
echo "Building only in RELEASE mode."
set_hook_var "bin_mode" "release"
}
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"
get_ml_uboot_bin
build_fip BL33="$archive/uboot.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="linux" gen_juno_yaml
}