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 | # |
Andre Przywara | 139d58d | 2021-12-03 13:39:11 +0000 | [diff] [blame] | 3 | # Copyright (c) 2019-2022 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() { |
| 9 | get_scp_bl2_bin |
Andre Przywara | 139d58d | 2021-12-03 13:39:11 +0000 | [diff] [blame] | 10 | get_ml_uboot_bin |
Zelalem | e9e8148 | 2020-07-10 15:18:46 -0500 | [diff] [blame] | 11 | get_optee_bin |
| 12 | build_fip BL33="$archive/uboot.bin" BL32="$archive/bl32.bin" SCP_BL2="$archive/scp_bl2.bin" |
| 13 | } |
| 14 | |
| 15 | post_fetch_tf_resource() { |
Andre Przywara | 139d58d | 2021-12-03 13:39:11 +0000 | [diff] [blame] | 16 | get_linux_image |
| 17 | gen_recovery_image "$archive/bl1.bin" "$archive/fip.bin" "$archive/Image" "$archive/ramdisk.img" "$archive/blank.img" |
Zelalem | e9e8148 | 2020-07-10 15:18:46 -0500 | [diff] [blame] | 18 | payload_type="linux" gen_juno_yaml |
| 19 | } |