Zelalem | e9e8148 | 2020-07-10 15:18:46 -0500 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # |
| 3 | # Copyright (c) 2020, Arm Limited. All rights reserved. |
| 4 | # |
| 5 | # SPDX-License-Identifier: BSD-3-Clause |
| 6 | # |
| 7 | test_setup() { |
| 8 | echo "Building only in RELEASE mode." |
| 9 | set_hook_var "bin_mode" "release" |
| 10 | } |
| 11 | |
| 12 | post_tf_build() { |
| 13 | path_bypass_rom="$scp_root/build/product/juno/scp_romfw_bypass/$mode/bin" |
| 14 | |
| 15 | cp "$path_bypass_rom/scp_romfw_bypass.bin" "$path_bypass_rom/scp_bl1.bin" |
| 16 | archive_file "$path_bypass_rom/scp_bl1.bin" |
| 17 | |
| 18 | archive_file "$scp_root/build/product/juno/scp_ramfw/$mode/bin/scp_ramfw.bin" |
| 19 | get_uboot_bin |
| 20 | build_fip BL33="$archive/uboot.bin" SCP_BL2="$archive/scp_ramfw.bin" |
| 21 | } |
| 22 | |
| 23 | post_fetch_tf_resource() { |
| 24 | gen_recovery_image "$archive/bl1.bin" "$archive/fip.bin" "$archive/scp_bl1.bin" |
| 25 | payload_type="linux" gen_juno_yaml |
| 26 | } |