Manish V Badarkhe | dc5a0a5 | 2022-06-23 10:01:48 +0100 | [diff] [blame^] | 1 | #!/usr/bin/env bash |
| 2 | # |
| 3 | # Copyright (c) 2022, Arm Limited. All rights reserved. |
| 4 | # |
| 5 | # SPDX-License-Identifier: BSD-3-Clause |
| 6 | # |
| 7 | |
| 8 | post_tf_build() { |
| 9 | # Get the images for the test. |
| 10 | edk_url="$tfa_downloads/drtm/FVP_AARCH64_EFI.fd" |
| 11 | rootfs_url="$tfa_downloads/drtm/test-disk.img" get_rootfs |
| 12 | url="$edk_url" saveas="edk2.bin" fetch_file |
| 13 | archive_file "edk2.bin" |
| 14 | |
| 15 | # Configure the uarts for tracking. |
| 16 | uart="0" file="hold_uart.exp" track_expect |
| 17 | uart="1" set_primary="1" timeout="700" file="tf-a-drtm.exp" track_expect |
| 18 | set_run_env "num_uarts" "2" |
| 19 | |
| 20 | payload_type="linux" gen_fvp_yaml_template |
| 21 | } |