Manish V Badarkhe | ea3e094 | 2021-03-05 11:51:48 +0000 | [diff] [blame] | 1 | #!/usr/bin/env bash |
| 2 | # |
Manish V Badarkhe | 048c968 | 2024-01-22 10:11:49 +0000 | [diff] [blame] | 3 | # Copyright (c) 2021-2024, Arm Limited. All rights reserved. |
Manish V Badarkhe | ea3e094 | 2021-03-05 11:51:48 +0000 | [diff] [blame] | 4 | # |
| 5 | # SPDX-License-Identifier: BSD-3-Clause |
| 6 | # |
| 7 | |
Manish V Badarkhe | ea3e094 | 2021-03-05 11:51:48 +0000 | [diff] [blame] | 8 | post_tf_build() { |
Chris Kay | 4e8aaf1 | 2022-09-01 15:21:55 +0100 | [diff] [blame] | 9 | build_fip BL33="$archive/tftf.bin" |
Manish V Badarkhe | ea3e094 | 2021-03-05 11:51:48 +0000 | [diff] [blame] | 10 | } |
| 11 | |
| 12 | post_tf_archive() { |
Manish V Badarkhe | 048c968 | 2024-01-22 10:11:49 +0000 | [diff] [blame] | 13 | # Maximum FIP size is 2MiB = 2097152 |
| 14 | gen_gpt_bin "$archive/fip.bin" 2097152 |
Chris Kay | 4e8aaf1 | 2022-09-01 15:21:55 +0100 | [diff] [blame] | 15 | } |
| 16 | |
| 17 | generate_lava_job_template() { |
| 18 | uart="0" file="tftf.exp" track_expect |
| 19 | uart="1" file="hold_uart.exp" track_expect |
| 20 | |
Harrison Mutai | a6d6e68 | 2023-03-27 13:20:33 +0100 | [diff] [blame] | 21 | payload_type="tftf" gen_yaml_template |
Manish V Badarkhe | ea3e094 | 2021-03-05 11:51:48 +0000 | [diff] [blame] | 22 | } |