Age | Commit message (Collapse) | Author |
|
If the users specifies NET=1 when launching the model, the networking
params will be appended to the model launch commandline.
When using the AEMv8 models, if the MAC address is not supplied, a MAC
address will be generated.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
If you are trying to boot the fvp-uefi variant, you don't need a
kernel/dtb/initrd, so make these files optional.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Cache state modelling has proven to be frustrating for users who think
their system is broken when it takes such a long time to boot, eg, to
the Android GUI.
Disabling cache state modelling provides a massive increase in speed.
Users can set the environment variable to 1 if they wish to enable cache
state modelling, eg:
export CACHE_STATE_MODELLED=1
Or set it when they run the model, eg:
CACHE_STATE_MODELLED=1 ./model-scripts/run_model.sh <output dir>
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
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>
|