Age | Commit message (Collapse) | Author |
|
Cache state modelling is slower, so some users may wish to disable it,
but we enable by default to provide better test coverage.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Make some of the model parameters configurable through environment
variables and assign default values to them. The default values
have been chosen according to the recommended configuration in the
ARM Trusted Firmware User Guide.
The following FVP parameters are now configurable:
- secure memory
default: disabled
Was unconditionally disabled previously.
- cache state modelled [Base AEM FVP only]
default: disabled
Was unconditionally disabled previously.
- GICv3 mode [Foundation FVP only]
default: enabled
|
|
run_model.sh differentiates between the Base AEM and Foundation FVPs
by looking at the model version string. It uses the variable MODEL
to get the path to the FVP binary. However, when using the Foundation
FVP, it then uses the variable FOUNDATION_MODEL, forcing the user
to define both MODEL and FOUNDATION_MODEL variables.
This patch fixes the issue by using the MODEL variable all the time.
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Added the initial version of the run_model.sh script.
This model allows the user to specify variables for most parameters used
when running the models, or to choose sensible defaults where possible.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|