| title | Set up the Corstone-320 FVP on Linux |
|---|---|
| weight | 4 |
| layout | learningpathall |
In this section, you will run scripts to set up the Corstone-320 reference package.
The Corstone-320 Fixed Virtual Platform (FVP) is a pre-silicon software development environment for Arm-based microcontrollers. It provides a virtual representation of hardware, allowing developers to test and optimize software before actual hardware is available. Designed for AI and machine learning workloads, it includes support for Arm's Ethos-U NPU and Cortex-M processors, making it ideal for embedded AI applications. The FVP accelerates development by enabling early software validation and performance tuning in a flexible, simulation-based environment.
The Corstone reference system is provided free of charge, although you will have to accept the license in the next step. For more information on Corstone-320, check out the official documentation.
{{% notice macOS %}}
Setting up FVPs on MacOS requires some extra steps, outlined in GitHub repo FVPs-on-Mac. macOS users must do this first, before setting up the Corstone-320 FVP.
{{% /notice %}}
Navigate to the Arm examples directory in the ExecuTorch repository. Run the following command.
cd $HOME/executorch/examples/arm
./setup.sh --i-agree-to-the-contained-eulaAfter the script has finished running, it prints a command to run to finalize the installation. This step adds the FVP executables to your system path.
source $HOME/executorch/examples/arm/ethos-u-scratch/setup_path.shTest that the setup was successful by running the run.sh script for Ethos-U85, which is the target device for Corstone-320:
{{% notice macOS %}}
Start Docker: on macOS, FVPs run inside a Docker container.
{{% /notice %}}
./examples/arm/run.sh --target=ethos-u85-256You will see a number of examples run on the FVP.
This confirms the installation, so you can now proceed to the next section.