-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated MLEK to Corstone-320 and removed AVH #1529
Open
RonanSynnottArm
wants to merge
1
commit into
ArmDeveloperEcosystem:main
Choose a base branch
from
RonanSynnottArm:mlek
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,22 +3,22 @@ title: Build and run the Arm Machine Learning Evaluation Kit examples | |
|
||
minutes_to_complete: 30 | ||
|
||
who_is_this_for: This is an introductory topic for embedded software developers interested in learning about machine learning. | ||
who_is_this_for: This is an introductory topic for embedded software developers interested machine learning applications. | ||
|
||
learning_objectives: | ||
- Build examples from Machine Learning Evaluation Kit (MLEK) | ||
- Run the examples on Corstone-320 FVP or Virtual Hardware | ||
- Run the examples on Arm Ecosystem FVP | ||
|
||
prerequisites: | ||
- Some familiarity with embedded programming | ||
- Either a Linux machine running Ubuntu, or an AWS account to use [Arm Virtual Hardware](https://www.arm.com/products/development-tools/simulation/virtual-hardware) | ||
- Linux host machine running Ubuntu | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A Linux host machine... |
||
|
||
author_primary: Ronan Synnott | ||
|
||
### RS: Learning Path hidden until AWS instance updated | ||
draft: true | ||
draft: false | ||
cascade: | ||
draft: true | ||
draft: false | ||
|
||
|
||
### Tags | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 70 additions & 0 deletions
70
content/learning-paths/embedded-and-microcontrollers/mlek/fvp.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
--- | ||
# User change | ||
title: "Install Arm Ecosystem FVP" | ||
|
||
weight: 3 # 1 is first, 2 is second, etc. | ||
|
||
# Do not modify these elements | ||
layout: "learningpathall" | ||
--- | ||
## Corstone-320 FVP {#fvp} | ||
|
||
This section describes installation of the [Corstone-320 FVP](https://developer.arm.com/Tools%20and%20Software/Fixed%20Virtual%20Platforms/IoT%20FVPs) to run on your local machine. Similar instructions would apply for other platforms. | ||
|
||
Arm provides a selection of free to use Fixed Virtual Platforms (FVPs) that can be downloaded from the [Arm Developer](https://developer.arm.com/Tools%20and%20Software/Fixed%20Virtual%20Platforms#Downloads) website. | ||
|
||
You can review Arm's full FVP offering and general installation steps in the [Fast Model and Fixed Virtual Platform](/install-guides/fm_fvp) install guide. | ||
|
||
{{% notice Note %}} | ||
It is recommended to perform these steps in a new terminal window. | ||
{{% /notice %}} | ||
|
||
Download the Corstone-320 Ecosystem FVP archive: | ||
|
||
```bash | ||
cd $HOME | ||
wget https://developer.arm.com/-/cdn-downloads/permalink/FVPs-Corstone-IoT/Corstone-320/FVP_Corstone_SSE-320_11.27_25_Linux64.tgz | ||
``` | ||
|
||
Unpack it with `tar`, run the installation script, and add the path to the FVP executable to the `PATH` environment variable. | ||
|
||
```bash | ||
tar -xf FVP_Corstone_SSE-320_11.27_25_Linux64.tgz | ||
|
||
./FVP_Corstone_SSE-320.sh --i-agree-to-the-contained-eula --no-interactive -q | ||
|
||
export PATH=$HOME/FVP_Corstone_SSE-320/models/Linux64_GCC-9.3:$PATH | ||
``` | ||
|
||
The FVP requires an additional dependency, `libpython3.9.so.1.0`, which can be installed using a supplied script. | ||
|
||
```bash | ||
source $HOME/FVP_Corstone_SSE-320/scripts/runtime.sh | ||
``` | ||
|
||
Run the executable: | ||
|
||
```bash | ||
FVP_Corstone_SSE-320 | ||
``` | ||
|
||
You will observe output similar to the following: | ||
|
||
```output | ||
telnetterminal0: Listening for serial connection on port 5000 | ||
telnetterminal1: Listening for serial connection on port 5001 | ||
telnetterminal2: Listening for serial connection on port 5002 | ||
telnetterminal5: Listening for serial connection on port 5003 | ||
``` | ||
|
||
If you encounter graphics driver errors, you can disable the development board and LCD visualization with additional command options: | ||
|
||
```bash | ||
FVP_Corstone_SSE-320 \ | ||
-C mps4_board.visualisation.disable-visualisation=1 \ | ||
-C vis_hdlcd.disable_visualisation=1 | ||
``` | ||
|
||
Stop the executable with `Ctrl+C`. | ||
|
||
Now you are ready to run the MLEK applications on the FVP. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
interested in machine learning applications
"in" is missing here