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 | # |
Chris Kay | 4e8aaf1 | 2022-09-01 15:21:55 +0100 | [diff] [blame] | 3 | # Copyright (c) 2019-2022, 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 | post_tf_build() { |
| 9 | # Fetch EDK2 and pre-built partition files |
Sandrine Bailleux | 16fcd6f | 2021-11-17 14:57:25 +0100 | [diff] [blame] | 10 | url="$tfa_downloads/spm/FVP_AARCH64_EFI.fd" fetch_file |
| 11 | url="$tfa_downloads/spm/STANDALONESMM.fd" fetch_file |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 12 | |
| 13 | archive_file "FVP_AARCH64_EFI.fd" |
| 14 | archive_file "STANDALONESMM.fd" |
| 15 | |
| 16 | build_fip BL33="$archive/FVP_AARCH64_EFI.fd" BL32="$archive/STANDALONESMM.fd" |
| 17 | } |
| 18 | |
Chris Kay | 4e8aaf1 | 2022-09-01 15:21:55 +0100 | [diff] [blame] | 19 | generate_lava_job_template() { |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 20 | uart="0" file="spm-edk2-uart0.exp" track_expect |
| 21 | uart="2" file="spm-edk2-uart2.exp" track_expect |
Paul Sokolovsky | 5725326 | 2021-12-14 17:07:26 +0300 | [diff] [blame] | 22 | |
| 23 | payload_type="tftf" gen_fvp_yaml_template |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 24 | } |