Skip to content
Snippets Groups Projects
Commit e5df7170 authored by Jack Styles's avatar Jack Styles
Browse files

prerequisites: Update FVP information to not rely on MDH


The documentation regarding the Corstone-300 FVP was used
from MCU-Driver-Reference-Platforms-For-Arm. As we no longer
use this, the information has been updated to no longer rely
on this. The information provided is similar, however contained
within the SDK or uses the FVP Ecosystem Documentation on Arm
Developer.

Signed-off-by: Jack Styles's avatarJack Styles <jack.styles@arm.com>
parent d8fc1c7b
No related branches found
No related tags found
No related merge requests found
......@@ -57,12 +57,47 @@ If you are using a generator that is not the default for your platform, CMake mu
## Arm Corstone-300 MPS3 Fixed Virtual Platform (FVP)
For a guide on installing the Corstone-300 FVP, please see [Installing apps on virtual
hardware](https://gitlab.arm.com/iot/open-iot-sdk/mcu-driver-hal/mcu-driver-reference-platforms-for-arm/-/blob/main/docs/fvp/corstone-300/installation.md).
### Installation
For a guide on running applications on the Corstone-300 FVP, please see [Running apps on virtual hardware](https://gitlab.arm.com/iot/open-iot-sdk/libraries/mcu-driver-hal/mcu-driver-reference-platforms-for-arm/-/blob/main/docs/fvp/corstone-300/parameters.md). The [Ethernet and the --parameter SPEC](https://gitlab.arm.com/iot/open-iot-sdk/libraries/mcu-driver-hal/mcu-driver-reference-platforms-for-arm/-/blob/main/docs/fvp/corstone-300/parameters.md#ethernet-and-the-parameter-spec) section gives an example and guidance on running the FVP with Ethernet enabled, required for the Open IoT SDK.
1. Obtain and install the FVP model for the Corstone-300 MPS3 based platform. Installers for both, Linux and Windows, are available [here](https://developer.arm.com/tools-and-software/open-source-software/arm-platforms-software/arm-ecosystem-fvps). FVP_Corstone_SSE-300_11.16_26, which simulates AN552, is recommended.
For further explanation on the extra parameters used in [Running apps on virtual hardware](https://gitlab.arm.com/iot/open-iot-sdk/libraries/mcu-driver-hal/mcu-driver-reference-platforms-for-arm/-/blob/main/docs/fvp/corstone-300/parameters.md), please see [Networking on Corstone-300 FVP](https://gitlab.arm.com/iot/open-iot-sdk/libraries/mcu-driver-hal/mcu-driver-reference-platforms-for-arm/-/blob/main/docs/fvp/corstone-300/networking.md).
1. It is recommended to add the FVP executable to your PATH environment variable. The binaries are located
- in `<installation_directory>/models/Linux64_GCC-6.4/`, for Linux,
- in `<installation_directory>\models\Win64_VC2017\`, for Windows.
You can verify that the FVP is correctly added to the `PATH` environment variable by running `FVP_Corstone_SSE-300_Ethos-U55 --version`.
To enable `ctest` to run tests on the FVP, install mbed-fastmodel-agent Python module. Note that it is required to set the `<path_to>` placeholders with the path to the FVP binary before executing the final install command.
```sh
$ git clone https://github.com/ARMmbed/mbed-fastmodel-agent.git
$ cd mbed-fastmodel-agent
$ git checkout v2.0.3
$ cat <<EOF >fm_agent/settings.json
{
"COMMON": {
"IRIS_path": "<path_to>/FVP_Corstone_SSE-300/Iris/Python/"
},
"FVP_CS300_U55": {
"model_binary": "<path_to>/FVP_Corstone_SSE-300/models/Linux64_GCC-6.4/FVP_Corstone_SSE-300_Ethos-U55",
"model_options": [
"--quantum=10"
],
"terminal_component": "component.FVP_MPS3_Corstone_SSE_300.mps3_board.telnetterminal0",
"configs": {
"MPS3": "MPS3.conf",
"MPS3-tap-network": "MPS3-tap-network.conf"
}
}
}
EOF
$ sudo python3 setup.py install
```
### Running an Application on the FVP
For guidance on running applications on the Corstone-300 FVP, please see the `README.md` for the examples which are included within the Open IoT SDK. The following parameters, `-C mps3_board.smsc_91c111.enabled=1 -C mps3_board.hostbridge.userNetworking=1` enable Ethernet on the FVP which is required for the Open IoT SDK and should be included in the command to run the FVP.
For further information on the Ecosystem FVP, please see [here](https://developer.arm.com/documentation/100966/1118/Arm--Corstone-SSE-300-FVP).
## Greentea tests
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment