blob: ee22e5e2e510e767920f19312516fa152b85c4d9 [file] [log] [blame]
Manish V Badarkhedc5a0a52022-06-23 10:01:48 +01001#!/usr/bin/env bash
2#
3# Copyright (c) 2022, Arm Limited. All rights reserved.
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8post_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"
Chris Kay1b52d852022-10-19 14:03:18 +010014}
Manish V Badarkhedc5a0a52022-06-23 10:01:48 +010015
Chris Kay1b52d852022-10-19 14:03:18 +010016generate_lava_job_template() {
Manish V Badarkhedc5a0a52022-06-23 10:01:48 +010017 # Configure the uarts for tracking.
18 uart="0" file="hold_uart.exp" track_expect
19 uart="1" set_primary="1" timeout="700" file="tf-a-drtm.exp" track_expect
20 set_run_env "num_uarts" "2"
21
22 payload_type="linux" gen_fvp_yaml_template
23}