blob: 51b990a3b7409fc792b6e13858de8c1a3ab1f25b [file] [log] [blame]
Leonardo Sandoval9dfdd1b2020-08-06 17:08:11 -05001#!/usr/bin/env bash
Fathi Boudra422bf772019-12-02 11:10:16 +02002#
Leonardo Sandoval579c7372020-10-23 15:23:32 -05003# Copyright (c) 2019-2020 Arm Limited. All rights reserved.
Fathi Boudra422bf772019-12-02 11:10:16 +02004#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8post_tf_build() {
9 # Fetch EDK2 and pre-built partition files
10 url="$project_filer/ci-files/spm/FVP_AARCH64_EFI.fd" fetch_file
11 url="$project_filer/ci-files/spm/STANDALONESMM.fd" fetch_file
12
13 archive_file "FVP_AARCH64_EFI.fd"
14 archive_file "STANDALONESMM.fd"
15
16 build_fip BL33="$archive/FVP_AARCH64_EFI.fd" BL32="$archive/STANDALONESMM.fd"
17}
18
19fetch_tf_resource() {
20 # Expect scripts
21 uart="0" file="spm-edk2-uart0.exp" track_expect
22 uart="2" file="spm-edk2-uart2.exp" track_expect
23}