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 | rse_rom_addr=0x11000000 |
Manish V Badarkhe | ddb43d3 | 2024-01-29 19:04:31 +0000 | [diff] [blame] | 20 | vmmaddrwidth=19 |
laurenw-arm | 60de274 | 2023-03-08 10:50:15 -0600 | [diff] [blame] | 21 | rvbaddr_lw=0x0000 |
Rupinderjit Singh | 396938a | 2022-07-22 21:19:41 +0100 | [diff] [blame] | 22 | rvbaddr_up=0x0000 |
| 23 | |
David Vincze | d8ed562 | 2024-02-23 17:00:12 +0100 | [diff] [blame] | 24 | # AP bl1 0x00 is mapped to 0x70000000 in RSE memory map |
Jimmy Brisson | e4fd1ec | 2022-12-12 08:23:31 -0600 | [diff] [blame] | 25 | ap_bl1_flash_load_addr=0x70000000 |
Manish V Badarkhe | ddb43d3 | 2024-01-29 19:04:31 +0000 | [diff] [blame] | 26 | ap_bl1_flash_size=0x20000 |
Leo Yan | 5b73ad9 | 2024-06-20 15:15:36 +0100 | [diff] [blame] | 27 | |
| 28 | if [ $plat_variant -eq 2 ]; then |
| 29 | rse_revision="4ab7a20d" |
| 30 | elif [ $plat_variant -eq 3 ]; then |
| 31 | rse_revision="cd8ece72a" |
Leo Yan | 45d5163 | 2024-08-27 16:02:28 +0100 | [diff] [blame] | 32 | elif [ $plat_variant -eq 4 ]; then |
| 33 | rse_revision="213c553bf" |
Leo Yan | 5b73ad9 | 2024-06-20 15:15:36 +0100 | [diff] [blame] | 34 | fi |
Madhukar Pappireddy | c683cf6 | 2021-11-01 14:38:32 -0500 | [diff] [blame] | 35 | |
| 36 | # Hafnium build repo containing Secure hafnium binaries |
| 37 | spm_secure_out_dir=secure_tc_clang |
| 38 | |
| 39 | # TC platform doesnt have non secure hafnium build configuration. Hence, we |
| 40 | # set it to an arbitrary name. |
| 41 | spm_non_secure_out_dir=not_found |