blob: b54084cac2d1d08e2e1840b3cd0ec473c21227f2 [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" "header"
}
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
}