Govindraj Raja | 6750173 | 2023-09-22 16:27:06 -0500 | [diff] [blame] | 1 | #!/usr/bin/env bash |
| 2 | # |
| 3 | # Copyright (c) 2023, Arm Limited. All rights reserved. |
| 4 | # |
| 5 | # SPDX-License-Identifier: BSD-3-Clause |
| 6 | # |
| 7 | |
| 8 | post_tf_build() { |
| 9 | build_fip BL33="$archive/tftf.bin" |
| 10 | } |
| 11 | |
| 12 | post_tf_archive() { |
| 13 | gen_gpt_bin "$archive/fip.bin" |
| 14 | |
| 15 | # Corrupt primary GPT header to force TF-A to use the backup one |
| 16 | corrupt_gpt_bin "$archive/fip_gpt.bin" |
| 17 | } |
| 18 | |
| 19 | generate_lava_job_template() { |
| 20 | uart="0" file="backup_gpt.exp" track_expect |
| 21 | uart="1" file="hold_uart.exp" track_expect |
| 22 | |
| 23 | payload_type="tftf" gen_yaml_template |
| 24 | } |