Leonardo Sandoval | 9dfdd1b | 2020-08-06 17:08:11 -0500 | [diff] [blame] | 1 | #!/usr/bin/env bash |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 2 | # |
Harrison Mutai | a6d6e68 | 2023-03-27 13:20:33 +0100 | [diff] [blame] | 3 | # Copyright (c) 2019-2023, Arm Limited. All rights reserved. |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 4 | # |
| 5 | # SPDX-License-Identifier: BSD-3-Clause |
| 6 | # |
| 7 | |
| 8 | pre_tftf_build() { |
| 9 | # Build TFTF and Cactus-MM images for this config |
| 10 | targets="tftf cactus_mm" set_tftf_build_targets |
| 11 | } |
| 12 | |
| 13 | post_tf_build() { |
| 14 | # Rename cactus_mm.bin as bl32.bin |
| 15 | mv "$archive/cactus_mm.bin" "$archive/bl32.bin" |
| 16 | } |
| 17 | |
Chris Kay | 4e8aaf1 | 2022-09-01 15:21:55 +0100 | [diff] [blame] | 18 | generate_lava_job_template() { |
Paul Sokolovsky | a562d63 | 2024-05-08 13:11:05 +0700 | [diff] [blame] | 19 | uart="0" lava_timeout="650" file="tftf.exp" track_expect |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 20 | uart="1" file="hold_uart.exp" track_expect |
| 21 | uart="2" file="hold_uart.exp" track_expect |
Leonardo Sandoval | 42e6050 | 2020-10-21 17:16:41 -0500 | [diff] [blame] | 22 | |
Chris Kay | 4e8aaf1 | 2022-09-01 15:21:55 +0100 | [diff] [blame] | 23 | set_run_env "num_uarts" "3" |
| 24 | |
Harrison Mutai | a6d6e68 | 2023-03-27 13:20:33 +0100 | [diff] [blame] | 25 | payload_type="tftf" gen_yaml_template |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 26 | } |