blob: e09ca7a69bd7e7d0cfae521f047f311773c2b4a7 [file] [log] [blame]
Shruti90e4a692022-05-25 11:04:47 +01001#
2# Copyright (c) 2022, Arm Limited. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5
6#!/usr/bin/env bash
7
8post_tf_build() {
9 # Fetch EDK2 and pre-built partition files
10 url="$tfa_downloads/spm-el3/06-15-22/normal_world_multi.dts" saveas="normal_world_multi.dts" fetch_file
11 rootfs_url="$tfa_downloads/spm-el3/06-15-22/boot-fat.uefi.img" saveas="boot-fat.uefi.img" get_rootfs
12 url="$tfa_downloads/spm-el3/06-15-22/FVP_AARCH64_EFI.fd" saveas="FVP_AARCH64_EFI.fd" fetch_file
13 archive_file "normal_world_multi.dts"
14 archive_file "FVP_AARCH64_EFI.fd"
15 build_fip BL33="$archive/FVP_AARCH64_EFI.fd" NT_FW_CONFIG="$archive/normal_world_multi.dts"
16}
17
18fetch_tf_resource() {
19 # Expect scripts
20 uart="0" timeout="800" file="ffa_test_driver.exp" track_expect
21 uart="2" timeout="800" file="tsp_el3spmc.exp" track_expect
22 uart="1" timeout="800" file="hold_uart.exp" track_expect
23 payload_type="linux" gen_fvp_yaml_template
24}
25
26post_fetch_tf_resource() {
27 local model="base-aemv8a"
28 model="$model" arch_version="8.4" gen_model_params
29 model="$model" gen_fvp_yaml
30}
31