diff options
author | Alexei Fedorov <Alexei.Fedorov@arm.com> | 2020-06-02 16:35:36 +0100 |
---|---|---|
committer | Alexei Fedorov <Alexei.Fedorov@arm.com> | 2020-06-04 13:30:22 +0000 |
commit | 7cc2587da605299e175444350c064c589ad09803 (patch) | |
tree | e41b02ff4ba15df29582eaddb8f8e688a6ec4a8f /docs | |
parent | 9060e3e68241a3fc1ad8588c20a97218c34c6c68 (diff) |
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 <Alexei.Fedorov@arm.com>
Change-Id: I01c6437d468885755a5415804b3688e4c878170d
Diffstat (limited to 'docs')
-rw-r--r-- | docs/getting_started/build-options.rst | 19 |
1 files changed, 18 insertions, 1 deletions
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.* |