blob: 780697deec536e3f1dd5f3bd55c94d1597eedc2e [file] [log] [blame]
#!/usr/bin/env bash
#
# Copyright (c) 2023-2024, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
post_tf_build() {
build_fip BL33="$archive/tftf.bin"
}
post_tf_archive() {
# Maximum FIP size is 2MiB = 2097152
gen_gpt_bin "$archive/fip.bin" 2097152
# Corrupt primary GPT header to force TF-A to use the backup one
corrupt_gpt_bin "$archive/fip_gpt.bin"
}
generate_lava_job_template() {
uart="0" file="backup_gpt.exp" track_expect
uart="1" file="hold_uart.exp" track_expect
payload_type="tftf" gen_yaml_template
}