Leonardo Sandoval | 9dfdd1b | 2020-08-06 17:08:11 -0500 | [diff] [blame] | 1 | #!/usr/bin/env bash |
Zelalem | e9e8148 | 2020-07-10 15:18:46 -0500 | [diff] [blame] | 2 | # |
Leonardo Sandoval | 579c737 | 2020-10-23 15:23:32 -0500 | [diff] [blame] | 3 | # Copyright (c) 2019-2020 Arm Limited. All rights reserved. |
Zelalem | e9e8148 | 2020-07-10 15:18:46 -0500 | [diff] [blame] | 4 | # |
| 5 | # SPDX-License-Identifier: BSD-3-Clause |
| 6 | # |
| 7 | |
| 8 | post_tf_build() { |
Harrison Mutai | 77c1fc7 | 2023-03-27 13:22:41 +0100 | [diff] [blame] | 9 | url="${scp_bl2_url}" filename="scp_bl2.bin" fetch_and_archive |
| 10 | url="${uboot_bl33_url}" filename="uboot.bin" fetch_and_archive |
Zelalem | e9e8148 | 2020-07-10 15:18:46 -0500 | [diff] [blame] | 11 | build_fip BL33="$archive/uboot.bin" SCP_BL2="$archive/scp_bl2.bin" |
| 12 | } |
| 13 | |
| 14 | post_fetch_tf_resource() { |
| 15 | gen_recovery_image "$archive/bl1.bin" "$archive/fip.bin" |
| 16 | payload_type="linux_reboot" gen_juno_yaml |
| 17 | } |