Zelalem | e9e8148 | 2020-07-10 15:18:46 -0500 | [diff] [blame^] | 1 | #!/bin/bash |
| 2 | # |
| 3 | # Copyright (c) 2020, Arm Limited. All rights reserved. |
| 4 | # |
| 5 | # SPDX-License-Identifier: BSD-3-Clause |
| 6 | # |
| 7 | |
| 8 | post_tf_build() { |
| 9 | url="$project_filer/ci-files/spm-05-19-2020/hafnium.bin" fetch_file |
| 10 | url="$project_filer/ci-files/spm-05-19-2020/secure_hafnium.bin" fetch_file |
| 11 | url="$project_filer/ci-files/spm-05-19-2020/initrd.img" fetch_file |
| 12 | url="$project_filer/ci-files/spm-05-19-2020/manifest.dtb" fetch_file |
| 13 | |
| 14 | archive_file "hafnium.bin" |
| 15 | archive_file "secure_hafnium.bin" |
| 16 | archive_file "initrd.img" |
| 17 | archive_file "manifest.dtb" |
| 18 | |
| 19 | build_fip BL33="$archive/hafnium.bin" BL32="$archive/secure_hafnium.bin" |
| 20 | } |
| 21 | |
| 22 | post_fetch_tf_resource() { |
| 23 | model="base-aemv8a" \ |
| 24 | arch_version="8.4" \ |
| 25 | initrd_bin="initrd.img" \ |
| 26 | el3_payload_bin="manifest.dtb" \ |
| 27 | gen_model_params |
| 28 | } |
| 29 | |
| 30 | fetch_tf_resource() { |
| 31 | # Expect scripts |
| 32 | uart="0" file="spm-linux-uart0.exp" track_expect |
| 33 | uart="2" file="spm-uart2.exp" track_expect |
| 34 | } |