Andrew Walbran | dc8ad20 | 2019-03-07 15:49:28 +0000 | [diff] [blame] | 1 | # Copyright 2018 The Hafnium Authors. |
Andrew Scull | 2d527c2 | 2018-11-27 14:21:08 +0000 | [diff] [blame] | 2 | # |
Andrew Walbran | 23417d8 | 2020-06-17 14:44:22 +0100 | [diff] [blame] | 3 | # Use of this source code is governed by a BSD-style |
| 4 | # license that can be found in the LICENSE file or at |
| 5 | # https://opensource.org/licenses/BSD-3-Clause. |
Andrew Scull | 2d527c2 | 2018-11-27 14:21:08 +0000 | [diff] [blame] | 6 | |
| 7 | import("//build/toolchain/embedded.gni") |
| 8 | import("//build/toolchain/host.gni") |
| 9 | |
Andrew Scull | 2d527c2 | 2018-11-27 14:21:08 +0000 | [diff] [blame] | 10 | group("root") { |
| 11 | deps = [ |
| 12 | "//src:hafnium(:aem_v8a_fvp_clang)", |
Raghu Krishnamurthy | 8e68099 | 2021-06-15 20:19:47 -0700 | [diff] [blame] | 13 | "//src:hafnium(:aem_v8a_fvp_vhe_clang)", |
David Brazdil | c702a03 | 2020-01-31 15:44:11 +0000 | [diff] [blame] | 14 | "//src:hafnium(:android_aarch64_clang)", |
Andrew Scull | 2d527c2 | 2018-11-27 14:21:08 +0000 | [diff] [blame] | 15 | "//src:hafnium(:qemu_aarch64_clang)", |
Raghu Krishnamurthy | 8e68099 | 2021-06-15 20:19:47 -0700 | [diff] [blame] | 16 | "//src:hafnium(:qemu_aarch64_vhe_clang)", |
David Brazdil | 3d7b88b | 2019-07-22 17:19:35 +0100 | [diff] [blame] | 17 | "//src:hafnium(:rpi4_clang)", |
Jose Marinho | 69cd27d | 2019-10-17 15:51:31 +0100 | [diff] [blame] | 18 | "//src:hafnium(:secure_aem_v8a_fvp_clang)", |
Raghu Krishnamurthy | 8e68099 | 2021-06-15 20:19:47 -0700 | [diff] [blame] | 19 | "//src:hafnium(:secure_aem_v8a_fvp_vhe_clang)", |
Arunachalam Ganapathy | f20727f | 2020-04-28 20:23:13 +0100 | [diff] [blame] | 20 | "//src:hafnium(:secure_tc0_clang)", |
Andrew Walbran | 92627a8 | 2020-01-17 10:52:44 +0000 | [diff] [blame] | 21 | "//src/arch/aarch64/qemuloader:bl(:qemu_aarch64_clang)", |
Andrew Scull | 2d527c2 | 2018-11-27 14:21:08 +0000 | [diff] [blame] | 22 | ] |
| 23 | } |
| 24 | |
| 25 | group("test_root") { |
| 26 | testonly = true |
| 27 | |
| 28 | deps = [ |
| 29 | "//src:unit_tests(:host_fake_clang)", |
Andrew Walbran | fd37939 | 2019-03-14 17:45:04 +0000 | [diff] [blame] | 30 | "//test/arch(:aem_v8a_fvp_clang)", |
Raghu Krishnamurthy | 8e68099 | 2021-06-15 20:19:47 -0700 | [diff] [blame] | 31 | "//test/arch(:aem_v8a_fvp_vhe_clang)", |
Andrew Scull | 75da2d1 | 2018-12-09 21:25:45 +0000 | [diff] [blame] | 32 | "//test/arch(:qemu_aarch64_clang)", |
Raghu Krishnamurthy | 8e68099 | 2021-06-15 20:19:47 -0700 | [diff] [blame] | 33 | "//test/arch(:qemu_aarch64_vhe_clang)", |
David Brazdil | 3d7b88b | 2019-07-22 17:19:35 +0100 | [diff] [blame] | 34 | "//test/arch(:rpi4_clang)", |
Jose Marinho | 69cd27d | 2019-10-17 15:51:31 +0100 | [diff] [blame] | 35 | "//test/arch(:secure_aem_v8a_fvp_clang)", |
Raghu Krishnamurthy | 8e68099 | 2021-06-15 20:19:47 -0700 | [diff] [blame] | 36 | "//test/arch(:secure_aem_v8a_fvp_vhe_clang)", |
Arunachalam Ganapathy | f20727f | 2020-04-28 20:23:13 +0100 | [diff] [blame] | 37 | "//test/arch(:secure_tc0_clang)", |
Raghu Krishnamurthy | 8e68099 | 2021-06-15 20:19:47 -0700 | [diff] [blame] | 38 | "//test/linux(:aem_v8a_fvp_vhe_vm_clang)", |
Andrew Walbran | b145760 | 2019-05-13 16:43:57 +0100 | [diff] [blame] | 39 | "//test/linux(:aem_v8a_fvp_vm_clang)", |
Raghu Krishnamurthy | 8e68099 | 2021-06-15 20:19:47 -0700 | [diff] [blame] | 40 | "//test/linux(:qemu_aarch64_vhe_vm_clang)", |
Andrew Walbran | b145760 | 2019-05-13 16:43:57 +0100 | [diff] [blame] | 41 | "//test/linux(:qemu_aarch64_vm_clang)", |
Andrew Walbran | 3eeaa40 | 2019-11-01 14:48:29 +0000 | [diff] [blame] | 42 | "//test/linux(:rpi4_vm_clang)", |
Raghu Krishnamurthy | 8e68099 | 2021-06-15 20:19:47 -0700 | [diff] [blame] | 43 | "//test/linux(:secure_aem_v8a_fvp_vhe_vm_clang)", |
Jose Marinho | 69cd27d | 2019-10-17 15:51:31 +0100 | [diff] [blame] | 44 | "//test/linux(:secure_aem_v8a_fvp_vm_clang)", |
Arunachalam Ganapathy | f20727f | 2020-04-28 20:23:13 +0100 | [diff] [blame] | 45 | "//test/linux(:secure_tc0_vm_clang)", |
Raghu Krishnamurthy | 8e68099 | 2021-06-15 20:19:47 -0700 | [diff] [blame] | 46 | "//test/vmapi(:aem_v8a_fvp_vhe_vm_clang)", |
Andrew Walbran | b145760 | 2019-05-13 16:43:57 +0100 | [diff] [blame] | 47 | "//test/vmapi(:aem_v8a_fvp_vm_clang)", |
Raghu Krishnamurthy | 8e68099 | 2021-06-15 20:19:47 -0700 | [diff] [blame] | 48 | "//test/vmapi(:qemu_aarch64_vhe_vm_clang)", |
Andrew Walbran | b145760 | 2019-05-13 16:43:57 +0100 | [diff] [blame] | 49 | "//test/vmapi(:qemu_aarch64_vm_clang)", |
Andrew Walbran | 3eeaa40 | 2019-11-01 14:48:29 +0000 | [diff] [blame] | 50 | "//test/vmapi(:rpi4_vm_clang)", |
Raghu Krishnamurthy | 8e68099 | 2021-06-15 20:19:47 -0700 | [diff] [blame] | 51 | "//test/vmapi(:secure_aem_v8a_fvp_vhe_vm_clang)", |
Jose Marinho | 69cd27d | 2019-10-17 15:51:31 +0100 | [diff] [blame] | 52 | "//test/vmapi(:secure_aem_v8a_fvp_vm_clang)", |
Arunachalam Ganapathy | f20727f | 2020-04-28 20:23:13 +0100 | [diff] [blame] | 53 | "//test/vmapi(:secure_tc0_vm_clang)", |
Raghu Krishnamurthy | 8e68099 | 2021-06-15 20:19:47 -0700 | [diff] [blame] | 54 | "//test/vmapi/arch/aarch64/gicv3:gicv3_test(:aem_v8a_fvp_vhe_vm_clang)", |
Andrew Scull | 3fe2408 | 2019-09-30 15:27:23 +0100 | [diff] [blame] | 55 | "//test/vmapi/arch/aarch64/gicv3:gicv3_test(:aem_v8a_fvp_vm_clang)", |
Raghu Krishnamurthy | 8e68099 | 2021-06-15 20:19:47 -0700 | [diff] [blame] | 56 | "//test/vmapi/arch/aarch64/gicv3:gicv3_test(:qemu_aarch64_vhe_vm_clang)", |
Andrew Scull | 3fe2408 | 2019-09-30 15:27:23 +0100 | [diff] [blame] | 57 | "//test/vmapi/arch/aarch64/gicv3:gicv3_test(:qemu_aarch64_vm_clang)", |
Raghu Krishnamurthy | 8e68099 | 2021-06-15 20:19:47 -0700 | [diff] [blame] | 58 | "//test/vmapi/arch/aarch64/gicv3:gicv3_test(:secure_aem_v8a_fvp_vhe_vm_clang)", |
Jose Marinho | 69cd27d | 2019-10-17 15:51:31 +0100 | [diff] [blame] | 59 | "//test/vmapi/arch/aarch64/gicv3:gicv3_test(:secure_aem_v8a_fvp_vm_clang)", |
Arunachalam Ganapathy | f20727f | 2020-04-28 20:23:13 +0100 | [diff] [blame] | 60 | "//test/vmapi/arch/aarch64/gicv3:gicv3_test(:secure_tc0_vm_clang)", |
Andrew Scull | 2d527c2 | 2018-11-27 14:21:08 +0000 | [diff] [blame] | 61 | ] |
| 62 | } |
| 63 | |
| 64 | # Describe each of the platforms used in this project. |
| 65 | |
| 66 | host_toolchain("host_fake") { |
| 67 | use_platform = true |
Andrew Walbran | bc737c4 | 2018-12-07 14:24:16 +0000 | [diff] [blame] | 68 | heap_pages = 60 |
Andrew Scull | 2d527c2 | 2018-11-27 14:21:08 +0000 | [diff] [blame] | 69 | max_cpus = 4 |
| 70 | max_vms = 6 |
| 71 | } |
| 72 | |
Jose Marinho | 69cd27d | 2019-10-17 15:51:31 +0100 | [diff] [blame] | 73 | aarch64_toolchains("secure_aem_v8a_fvp") { |
| 74 | cpu = "cortex-a57" |
| 75 | origin_address = "0x06000000" |
Olivier Deprez | 59e35f7 | 2020-11-10 17:15:18 +0100 | [diff] [blame] | 76 | boot_flow = "//src/boot_flow:spmc" |
Jose Marinho | 69cd27d | 2019-10-17 15:51:31 +0100 | [diff] [blame] | 77 | console = "//src/arch/aarch64/pl011" |
Madhukar Pappireddy | f2a1e5c | 2020-11-16 13:06:33 -0600 | [diff] [blame] | 78 | iommu = "//src/arch/aarch64/arm_smmuv3" |
Jose Marinho | 69cd27d | 2019-10-17 15:51:31 +0100 | [diff] [blame] | 79 | gic_version = 3 |
| 80 | gicd_base_address = "0x2f000000" |
| 81 | gicr_base_address = "0x2f100000" |
| 82 | heap_pages = 60 |
| 83 | max_cpus = 8 |
| 84 | max_vms = 16 |
Olivier Deprez | 16fc50e | 2021-02-16 08:59:07 +0100 | [diff] [blame] | 85 | branch_protection = "standard" |
Jose Marinho | 69cd27d | 2019-10-17 15:51:31 +0100 | [diff] [blame] | 86 | toolchain_args = { |
Daniel Boulby | 0029f48 | 2021-03-25 14:19:21 +0000 | [diff] [blame] | 87 | plat_ffa = "//src/arch/aarch64/plat/ffa:spmc" |
Olivier Deprez | cf03990 | 2021-01-25 15:32:39 +0100 | [diff] [blame] | 88 | plat_psci = "//src/arch/aarch64/plat/psci:spmc" |
Olivier Deprez | cc0eb84 | 2021-04-07 14:03:59 +0200 | [diff] [blame] | 89 | plat_interrupts = "//src/arch/aarch64/plat/interrupts:gicv3" |
Olivier Deprez | 16fc50e | 2021-02-16 08:59:07 +0100 | [diff] [blame] | 90 | plat_prng = "//src/arch/aarch64/plat/prng:prng" |
Jose Marinho | 69cd27d | 2019-10-17 15:51:31 +0100 | [diff] [blame] | 91 | secure_world = "1" |
| 92 | pl011_base_address = "0x1c090000" |
J-Alves | 2aee94f | 2020-12-14 12:04:14 +0000 | [diff] [blame] | 93 | hftest_ctrl = "//test/hftest:ctrl_uart" |
Madhukar Pappireddy | f2a1e5c | 2020-11-16 13:06:33 -0600 | [diff] [blame] | 94 | smmu_base_address = "0x2b400000" |
| 95 | smmu_memory_size = "0x100000" |
Jose Marinho | 69cd27d | 2019-10-17 15:51:31 +0100 | [diff] [blame] | 96 | } |
| 97 | } |
| 98 | |
Raghu Krishnamurthy | 8e68099 | 2021-06-15 20:19:47 -0700 | [diff] [blame] | 99 | aarch64_toolchains("secure_aem_v8a_fvp_vhe") { |
| 100 | cpu = "cortex-a57" |
| 101 | origin_address = "0x06000000" |
| 102 | boot_flow = "//src/boot_flow:spmc" |
| 103 | console = "//src/arch/aarch64/pl011" |
| 104 | iommu = "//src/arch/aarch64/arm_smmuv3" |
| 105 | gic_version = 3 |
| 106 | gicd_base_address = "0x2f000000" |
| 107 | gicr_base_address = "0x2f100000" |
| 108 | heap_pages = 60 |
| 109 | max_cpus = 8 |
| 110 | max_vms = 16 |
Raghu Krishnamurthy | 8e68099 | 2021-06-15 20:19:47 -0700 | [diff] [blame] | 111 | toolchain_args = { |
| 112 | plat_ffa = "//src/arch/aarch64/plat/ffa:spmc" |
| 113 | plat_psci = "//src/arch/aarch64/plat/psci:spmc" |
| 114 | plat_interrupts = "//src/arch/aarch64/plat/interrupts:gicv3" |
| 115 | plat_prng = "//src/arch/aarch64/plat/prng:prng" |
| 116 | secure_world = "1" |
| 117 | pl011_base_address = "0x1c090000" |
| 118 | hftest_ctrl = "//test/hftest:ctrl_uart" |
| 119 | smmu_base_address = "0x2b400000" |
| 120 | smmu_memory_size = "0x100000" |
| 121 | enable_vhe = "1" |
| 122 | } |
| 123 | } |
| 124 | |
Andrew Walbran | b145760 | 2019-05-13 16:43:57 +0100 | [diff] [blame] | 125 | aarch64_toolchains("aem_v8a_fvp") { |
| 126 | cpu = "cortex-a57" |
Andrew Walbran | 6582198 | 2019-04-16 14:34:03 +0100 | [diff] [blame] | 127 | origin_address = "0x80000000" |
David Brazdil | 653261a | 2019-09-09 18:04:33 +0100 | [diff] [blame] | 128 | boot_flow = "//src/boot_flow:linux" |
Andrew Walbran | 808531e | 2019-05-20 14:52:45 +0100 | [diff] [blame] | 129 | console = "//src/arch/aarch64/pl011" |
Madhukar Pappireddy | f2a1e5c | 2020-11-16 13:06:33 -0600 | [diff] [blame] | 130 | iommu = "//src/arch/aarch64/arm_smmuv3" |
Andrew Walbran | f1aa19e | 2018-12-10 13:42:40 +0000 | [diff] [blame] | 131 | gic_version = 3 |
| 132 | gicd_base_address = "0x2f000000" |
| 133 | gicr_base_address = "0x2f100000" |
Andrew Walbran | bc737c4 | 2018-12-07 14:24:16 +0000 | [diff] [blame] | 134 | heap_pages = 60 |
Andrew Scull | 2d527c2 | 2018-11-27 14:21:08 +0000 | [diff] [blame] | 135 | max_cpus = 8 |
| 136 | max_vms = 16 |
Andrew Walbran | 808531e | 2019-05-20 14:52:45 +0100 | [diff] [blame] | 137 | toolchain_args = { |
Daniel Boulby | 0029f48 | 2021-03-25 14:19:21 +0000 | [diff] [blame] | 138 | plat_ffa = "//src/arch/aarch64/plat/ffa:hypervisor" |
Andrew Walbran | 808531e | 2019-05-20 14:52:45 +0100 | [diff] [blame] | 139 | pl011_base_address = "0x1c090000" |
Madhukar Pappireddy | f2a1e5c | 2020-11-16 13:06:33 -0600 | [diff] [blame] | 140 | smmu_base_address = "0x2b400000" |
| 141 | smmu_memory_size = "0x100000" |
Andrew Walbran | 808531e | 2019-05-20 14:52:45 +0100 | [diff] [blame] | 142 | } |
Andrew Scull | 2d527c2 | 2018-11-27 14:21:08 +0000 | [diff] [blame] | 143 | } |
| 144 | |
Raghu Krishnamurthy | 8e68099 | 2021-06-15 20:19:47 -0700 | [diff] [blame] | 145 | aarch64_toolchains("aem_v8a_fvp_vhe") { |
| 146 | cpu = "cortex-a57" |
| 147 | origin_address = "0x80000000" |
| 148 | boot_flow = "//src/boot_flow:linux" |
| 149 | console = "//src/arch/aarch64/pl011" |
| 150 | iommu = "//src/arch/aarch64/arm_smmuv3" |
| 151 | gic_version = 3 |
| 152 | gicd_base_address = "0x2f000000" |
| 153 | gicr_base_address = "0x2f100000" |
| 154 | heap_pages = 60 |
| 155 | max_cpus = 8 |
| 156 | max_vms = 16 |
| 157 | toolchain_args = { |
| 158 | plat_ffa = "//src/arch/aarch64/plat/ffa:hypervisor" |
| 159 | pl011_base_address = "0x1c090000" |
| 160 | smmu_base_address = "0x2b400000" |
| 161 | smmu_memory_size = "0x100000" |
| 162 | enable_vhe = "1" |
| 163 | } |
| 164 | } |
| 165 | |
Andrew Walbran | b145760 | 2019-05-13 16:43:57 +0100 | [diff] [blame] | 166 | aarch64_toolchains("qemu_aarch64") { |
| 167 | cpu = "cortex-a57" |
Andrew Scull | 2d527c2 | 2018-11-27 14:21:08 +0000 | [diff] [blame] | 168 | origin_address = "0x40001000" |
David Brazdil | 653261a | 2019-09-09 18:04:33 +0100 | [diff] [blame] | 169 | boot_flow = "//src/boot_flow:linux" |
Andrew Walbran | 808531e | 2019-05-20 14:52:45 +0100 | [diff] [blame] | 170 | console = "//src/arch/aarch64/pl011" |
Andrew Scull | e2a525d | 2019-12-02 12:56:06 +0000 | [diff] [blame] | 171 | iommu = "//src/iommu:absent" |
Andrew Walbran | f1aa19e | 2018-12-10 13:42:40 +0000 | [diff] [blame] | 172 | gic_version = 3 |
| 173 | gicd_base_address = "0x08000000" |
| 174 | gicr_base_address = "0x080A0000" |
Andrew Walbran | bc737c4 | 2018-12-07 14:24:16 +0000 | [diff] [blame] | 175 | heap_pages = 60 |
Andrew Scull | 2d527c2 | 2018-11-27 14:21:08 +0000 | [diff] [blame] | 176 | max_cpus = 8 |
| 177 | max_vms = 16 |
Andrew Walbran | 808531e | 2019-05-20 14:52:45 +0100 | [diff] [blame] | 178 | toolchain_args = { |
Olivier Deprez | d82b5e0 | 2021-07-05 11:16:16 +0200 | [diff] [blame^] | 179 | plat_ffa = "//src/arch/aarch64/plat/ffa:hypervisor" |
Andrew Walbran | 808531e | 2019-05-20 14:52:45 +0100 | [diff] [blame] | 180 | pl011_base_address = "0x09000000" |
| 181 | } |
Andrew Scull | 2d527c2 | 2018-11-27 14:21:08 +0000 | [diff] [blame] | 182 | } |
| 183 | |
Raghu Krishnamurthy | 8e68099 | 2021-06-15 20:19:47 -0700 | [diff] [blame] | 184 | aarch64_toolchains("qemu_aarch64_vhe") { |
| 185 | cpu = "cortex-a57" |
| 186 | origin_address = "0x40001000" |
| 187 | boot_flow = "//src/boot_flow:linux" |
| 188 | console = "//src/arch/aarch64/pl011" |
| 189 | iommu = "//src/iommu:absent" |
| 190 | gic_version = 3 |
| 191 | gicd_base_address = "0x08000000" |
| 192 | gicr_base_address = "0x080A0000" |
| 193 | heap_pages = 60 |
| 194 | max_cpus = 8 |
| 195 | max_vms = 16 |
| 196 | toolchain_args = { |
Olivier Deprez | d82b5e0 | 2021-07-05 11:16:16 +0200 | [diff] [blame^] | 197 | plat_ffa = "//src/arch/aarch64/plat/ffa:hypervisor" |
Raghu Krishnamurthy | 8e68099 | 2021-06-15 20:19:47 -0700 | [diff] [blame] | 198 | pl011_base_address = "0x09000000" |
| 199 | enable_vhe = "1" |
| 200 | } |
| 201 | } |
| 202 | |
David Brazdil | 3d7b88b | 2019-07-22 17:19:35 +0100 | [diff] [blame] | 203 | aarch64_toolchains("rpi4") { |
| 204 | cpu = "cortex-a72" |
| 205 | origin_address = "0x80000" |
| 206 | boot_flow = "//src/boot_flow:linux" |
| 207 | console = "//project/reference/rpi:mini_uart" |
Andrew Scull | e2a525d | 2019-12-02 12:56:06 +0000 | [diff] [blame] | 208 | iommu = "//src/iommu:absent" |
David Brazdil | 3d7b88b | 2019-07-22 17:19:35 +0100 | [diff] [blame] | 209 | gic_version = 2 |
| 210 | heap_pages = 60 |
| 211 | max_cpus = 4 |
| 212 | max_vms = 16 |
| 213 | toolchain_args = { |
Daniel Boulby | 0029f48 | 2021-03-25 14:19:21 +0000 | [diff] [blame] | 214 | plat_ffa = "//src/arch/aarch64/plat/ffa:hypervisor" |
David Brazdil | 3d7b88b | 2019-07-22 17:19:35 +0100 | [diff] [blame] | 215 | gpio_base_address = "0xfe200000" |
| 216 | aux_base_address = "0xfe215000" |
| 217 | core_freq_mhz = 500 |
David Brazdil | b38816f | 2020-01-31 16:31:10 +0000 | [diff] [blame] | 218 | hftest_ctrl = "//test/hftest:ctrl_uart" |
David Brazdil | 3d7b88b | 2019-07-22 17:19:35 +0100 | [diff] [blame] | 219 | } |
| 220 | } |
David Brazdil | c702a03 | 2020-01-31 15:44:11 +0000 | [diff] [blame] | 221 | |
| 222 | # Generic target which uses the Android boot flow. It is not intended to run on |
| 223 | # any Android platform. It exists only to test building Android-specific code. |
| 224 | aarch64_toolchains("android_aarch64") { |
| 225 | cpu = "cortex-a57" |
| 226 | origin_address = "0x0" |
| 227 | boot_flow = "//src/boot_flow:android" |
| 228 | console = "//src/arch/aarch64/pl011" |
| 229 | iommu = "//src/iommu:absent" |
| 230 | gic_version = 2 |
| 231 | heap_pages = 60 |
| 232 | max_cpus = 8 |
| 233 | max_vms = 16 |
| 234 | toolchain_args = { |
| 235 | pl011_base_address = "0x09000000" |
| 236 | } |
| 237 | } |
Arunachalam Ganapathy | f20727f | 2020-04-28 20:23:13 +0100 | [diff] [blame] | 238 | |
| 239 | # The Total Compute platform provides an envelope for all of Arm's latest IP. |
| 240 | # TC0 is a reference open source software stack for the first version of the |
| 241 | # Total Compute Fixed Virtual Platform (FVP). More info at: |
| 242 | # https://community.arm.com/developer/tools-software/oss-platforms/w/docs/606/total-compute |
Usama Arif | 50a4b89 | 2021-04-15 10:48:30 +0100 | [diff] [blame] | 243 | # https://gitlab.arm.com/arm-reference-solutions/arm-reference-solutions-docs/-/blob/master/docs/totalcompute/tc0/user-guide.rst |
Arunachalam Ganapathy | f20727f | 2020-04-28 20:23:13 +0100 | [diff] [blame] | 244 | # |
| 245 | # Secure hafnium build for tc0 platform. This builds reference Secure Partition |
| 246 | # Manager (SPM) for tc0 with Armv8.4-A Secure-EL2 extension. |
| 247 | aarch64_toolchains("secure_tc0") { |
| 248 | cpu = "cortex-a57" |
| 249 | origin_address = "0xfd000000" |
Olivier Deprez | 59e35f7 | 2020-11-10 17:15:18 +0100 | [diff] [blame] | 250 | boot_flow = "//src/boot_flow:spmc" |
Arunachalam Ganapathy | f20727f | 2020-04-28 20:23:13 +0100 | [diff] [blame] | 251 | console = "//src/arch/aarch64/pl011" |
| 252 | iommu = "//src/iommu:absent" |
| 253 | gic_version = 3 |
| 254 | gicd_base_address = "0x30000000" |
Usama Arif | 2c636ff | 2021-04-01 11:09:25 +0100 | [diff] [blame] | 255 | gicr_base_address = "0x30080000" |
Arunachalam Ganapathy | f20727f | 2020-04-28 20:23:13 +0100 | [diff] [blame] | 256 | heap_pages = 60 |
Arunachalam Ganapathy | 51e8157 | 2021-01-20 14:57:41 +0000 | [diff] [blame] | 257 | max_cpus = 8 |
Arunachalam Ganapathy | f20727f | 2020-04-28 20:23:13 +0100 | [diff] [blame] | 258 | max_vms = 16 |
Olivier Deprez | 16fc50e | 2021-02-16 08:59:07 +0100 | [diff] [blame] | 259 | branch_protection = "standard" |
Arunachalam Ganapathy | f20727f | 2020-04-28 20:23:13 +0100 | [diff] [blame] | 260 | toolchain_args = { |
Daniel Boulby | 0029f48 | 2021-03-25 14:19:21 +0000 | [diff] [blame] | 261 | plat_ffa = "//src/arch/aarch64/plat/ffa:spmc" |
Olivier Deprez | cf03990 | 2021-01-25 15:32:39 +0100 | [diff] [blame] | 262 | plat_psci = "//src/arch/aarch64/plat/psci:spmc" |
Olivier Deprez | cc0eb84 | 2021-04-07 14:03:59 +0200 | [diff] [blame] | 263 | plat_interrupts = "//src/arch/aarch64/plat/interrupts:gicv3" |
Olivier Deprez | 16fc50e | 2021-02-16 08:59:07 +0100 | [diff] [blame] | 264 | plat_prng = "//src/arch/aarch64/plat/prng:prng" |
Arunachalam Ganapathy | f20727f | 2020-04-28 20:23:13 +0100 | [diff] [blame] | 265 | secure_world = "1" |
| 266 | pl011_base_address = "0x7ff80000" |
| 267 | } |
| 268 | } |