blob: 69b45a712fbdff3ef98f0ca08c62724a8d1883e1 [file] [log] [blame]
Manish V Badarkheb87f37b2021-11-10 18:53:05 +00001#!/usr/bin/env bash
2#
3# Copyright (c) 2021, Arm Limited. All rights reserved.
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7# It is a copy of fvp-linux.rootfs+ftpm with another expect script
8# to run
9#
10
11post_tf_build() {
12 # Get the images for the test.
13 edk_url="$tfa_downloads/ftpm/FVP_AARCH64_EFI.fd"
14 rootfs_url="$tfa_downloads/ftpm/boot-fat.uefi.img" get_rootfs
15 url="$edk_url" saveas="edk2.bin" fetch_file
16 archive_file "edk2.bin"
17
18 # Configure the uarts for tracking.
19 uart="0" timeout="600" file="linux-tpm-384.exp" track_expect
20 uart="1" timeout="600" file="tpm-logs.exp" track_expect
21 set_run_env "ports_script" "$ci_root/model/ftpm-ports.awk"
22 set_run_env "num_uarts" "2"
23
24 payload_type="linux" gen_fvp_yaml_template
25}