Leonardo Sandoval | 9dfdd1b | 2020-08-06 17:08:11 -0500 | [diff] [blame] | 1 | #!/usr/bin/env bash |
Zelalem | 1b87461 | 2020-08-04 18:08:18 -0500 | [diff] [blame] | 2 | # |
Manish V Badarkhe | ddb43d3 | 2024-01-29 19:04:31 +0000 | [diff] [blame] | 3 | # Copyright (c) 2020-2024, Arm Limited. All rights reserved. |
Zelalem | 1b87461 | 2020-08-04 18:08:18 -0500 | [diff] [blame] | 4 | # |
| 5 | # SPDX-License-Identifier: BSD-3-Clause |
| 6 | # |
| 7 | |
| 8 | source "$ci_root/fvp_utils.sh" |
| 9 | |
Maksims Svecovs | 83a7a66 | 2021-10-21 14:45:13 +0100 | [diff] [blame] | 10 | tc_prebuilts="${tc_prebuilts:-$tfa_downloads/total_compute}" |
Zelalem | 1b87461 | 2020-08-04 18:08:18 -0500 | [diff] [blame] | 11 | |
Harrison Mutai | 6f4fd6c | 2023-03-27 13:22:41 +0100 | [diff] [blame] | 12 | kernel_list[tc-kernel]="$tc_prebuilts/Image" |
| 13 | initrd_list[tc-ramdisk]="$tc_prebuilts/uInitrd-busybox.0x88000000" |
Zelalem | 1b87461 | 2020-08-04 18:08:18 -0500 | [diff] [blame] | 14 | |
| 15 | initrd_addr=0x8000000 |
| 16 | kernel_addr=0x80000 |
| 17 | scp_ram_addr=0x0bd80000 |
Rupinderjit Singh | 396938a | 2022-07-22 21:19:41 +0100 | [diff] [blame] | 18 | |
David Vincze | d8ed562 | 2024-02-23 17:00:12 +0100 | [diff] [blame] | 19 | # AP bl1 0x00 is mapped to 0x70000000 in RSE memory map |
Jimmy Brisson | e4fd1ec | 2022-12-12 08:23:31 -0600 | [diff] [blame] | 20 | ap_bl1_flash_load_addr=0x70000000 |
Manish V Badarkhe | ddb43d3 | 2024-01-29 19:04:31 +0000 | [diff] [blame] | 21 | ap_bl1_flash_size=0x20000 |
Leo Yan | 5b73ad9 | 2024-06-20 15:15:36 +0100 | [diff] [blame] | 22 | |
David Vincze | 3a79332 | 2024-10-31 16:34:02 +0000 | [diff] [blame] | 23 | if [ $plat_variant -eq 3 ]; then |
David Vincze | 9d68908 | 2024-10-21 16:23:19 +0000 | [diff] [blame] | 24 | rse_revision="2fe1f7e" |
David Vincze | d37d291 | 2024-10-16 12:03:50 +0000 | [diff] [blame] | 25 | scp_revision="ac2b4f1" |
Leo Yan | 45d5163 | 2024-08-27 16:02:28 +0100 | [diff] [blame] | 26 | elif [ $plat_variant -eq 4 ]; then |
Icen Zeyada | 8c19b06 | 2024-11-08 07:36:39 +0000 | [diff] [blame] | 27 | rse_revision="ad367d8d1" |
Leo Yan | 5b73ad9 | 2024-06-20 15:15:36 +0100 | [diff] [blame] | 28 | fi |
Madhukar Pappireddy | c683cf6 | 2021-11-01 14:38:32 -0500 | [diff] [blame] | 29 | |
| 30 | # Hafnium build repo containing Secure hafnium binaries |
| 31 | spm_secure_out_dir=secure_tc_clang |
| 32 | |
| 33 | # TC platform doesnt have non secure hafnium build configuration. Hence, we |
| 34 | # set it to an arbitrary name. |
| 35 | spm_non_secure_out_dir=not_found |