Build and run the Arm Machine Learning Evaluation Kit examples
Introduction
Build the ML Evaluation Kit examples
Install Arm Ecosystem FVP
Run the examples on the FVP
Next Steps
Build and run the Arm Machine Learning Evaluation Kit examples
Who is this for?
This is an introductory topic for embedded software developers interested in machine learning applications.
What will you learn?
Upon completion of this Learning Path, you will be able to:
- Build examples from the Arm Machine Learning Evaluation Kit (MLEK)
- Run the examples on Arm Ecosystem Fixed Virtual Platform (FVP)
Prerequisites
Before starting, you will need the following:
- Some familiarity with embedded programming
- A Linux host machine running Ubuntu
Summary
This summary was drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
You’ll build machine learning examples from MLEK and run them on the Corstone-320 FVP. You’ll locate generated AXF images, prepare the FVP, and launch an image with
-a. You’ll configure the Ethos-U MAC count to match the build and verify that the application starts successfully.Frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
The build produces
.axf images in a cmake-*/bin directory that reflects your configuration. List the files with ls *.axf to confirm the outputs exist.Install the Corstone-320 Ecosystem FVP on your local machine. Download it from the Arm Developer website and follow the referenced
Fast Model and FVP install guide
.
Put the model configuration options in a file such as
config.txt. Remove -C from each option in the file, then pass the file to the FVP with -f config.txt.Use the
-a option to pass your desired .axf image location. Select an image from the cmake-*/bin directory that matches your build configuration.Set the NPU MACs using
-C mps4_board.subsystem.ethosu.num_macs on the FVP command line. The number of MACs must match the value used when building the example.