blob: afa090a62c024cc8e0bc5769f4e548c675e3c832 [file] [log] [blame]
Manish V Badarkhedc5a0a52022-06-23 10:01:48 +01001#!/usr/bin/env bash
2#
Manish V Badarkhe0b50b732025-03-04 15:35:23 +00003# Copyright (c) 2022-2025, Arm Limited. All rights reserved.
Manish V Badarkhedc5a0a52022-06-23 10:01:48 +01004#
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"
Manish V Badarkhe0b50b732025-03-04 15:35:23 +000011 rootfs_url="$tfa_downloads/drtm/test-disk-acs.img" get_rootfs
Manish V Badarkhedc5a0a52022-06-23 10:01:48 +010012 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.
Manish V Badarkhe0b50b732025-03-04 15:35:23 +000018 uart="0" set_primary="1" timeout="1200" file="tf-a-drtm.exp" track_expect
19 uart="1" file="hold_uart.exp" track_expect
Manish V Badarkhedc5a0a52022-06-23 10:01:48 +010020 set_run_env "num_uarts" "2"
21
Harrison Mutaia6d6e682023-03-27 13:20:33 +010022 payload_type="linux" gen_yaml_template
Manish V Badarkhedc5a0a52022-06-23 10:01:48 +010023}