From 7cc2587da605299e175444350c064c589ad09803 Mon Sep 17 00:00:00 2001 From: Alexei Fedorov Date: Tue, 2 Jun 2020 16:35:36 +0100 Subject: TFTF: get FVP platform's topology from build options This patch extends passing FVP topology parameters with FVP_CLUSTER_COUNT and FVP_MAX_CPUS_PER_CLUSTER build options to match TF-A. The change adds more test options, make FVP platform configuration more flexible and eliminates test errors when the platform is configured with number of CPUs less than default values in the makefile. These build options are documented in 'Arm FVP Platform Specific Build Options' section of 'build-options.rst' document. Signed-off-by: Alexei Fedorov Change-Id: I01c6437d468885755a5415804b3688e4c878170d --- docs/getting_started/build-options.rst | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/getting_started/build-options.rst b/docs/getting_started/build-options.rst index 2e608e2..95724e7 100644 --- a/docs/getting_started/build-options.rst +++ b/docs/getting_started/build-options.rst @@ -70,6 +70,23 @@ payload, whose simplistic build system is mostly independent. - ``V``: Verbose build. If assigned anything other than 0, the build commands are printed. Default is 0. +Arm FVP Platform Specific Build Options +--------------------------------------- + +- ``FVP_CLUSTER_COUNT`` : Configures the cluster count to be used to build the + topology tree within TFTF. By default TFTF is configured for dual cluster for + CPUs with single thread (ST) and single cluster for SMT CPUs. + For ST CPUs this option can be used to override the default number of clusters + with a value in the range 1-4. + +- ``FVP_MAX_CPUS_PER_CLUSTER``: Sets the maximum number of CPUs implemented in + a single cluster. This option defaults to the maximum value of 4 for ST CPUs + and maximum value of 8 for SMT CPUs. + +- ``FVP_MAX_PE_PER_CPU``: Sets the maximum number of PEs implemented on any CPU + in the system. This option defaults to 1 to select ST CPUs. For platforms with + SMT CPUs this value must be set to 2. + TFTF-specific Build Options --------------------------- @@ -107,4 +124,4 @@ FWU-specific Build Options -------------- -*Copyright (c) 2019, Arm Limited. All rights reserved.* +*Copyright (c) 2019-2020, Arm Limited. All rights reserved.* -- cgit v1.2.3