From 43ce491cdf7a94e0f227502217f574d95fc4c68a Mon Sep 17 00:00:00 2001 From: Kristofer Jonsson Date: Fri, 20 Nov 2020 09:42:53 +0100 Subject: Add Corstone-300 target Change-Id: I34e9845abdccb3363953bd70fad7c6420865291e --- README.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 480477a..8c5eb2d 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,43 @@ agnostic software components are provided in the [core_software](https://review.mlplatform.org/plugins/gitiles/ml/ethos-u/ethos-u-core-software) repository. +# Targets + +## Corstone-300 + +The +[Corstone-300](https://developer.arm.com/ip-products/subsystem/corstone/corstone-300) +is a reference design of how to to build a secure System on Chip (SoC). A fixed +virtual platform (FVP) of the Corstone-300 including the Arm Ethos-U can be +downloaded from the Ecosystem page at +[developer.arm.com](https://developer.arm.com/tools-and-software/open-source-software/arm-platforms-software/arm-ecosystem-fvps). + +### Building + +Building with default settings requires CMake for the configuration and make for +building. This will produce an elf file which can be run on the FVP. + +``` +$ cmake -B build/corstone-300 targets/corstone-300 +$ make -C build/corstone-300 +``` + +It is also possible to build with a different toolchain. + +``` +$ cmake -B build/corstone-300 targets/corstone-300 -DCMAKE_TOOLCHAIN_FILE=$PWD/cmake/toolchain/arm-none-eabi-gcc.cmake +$ make -C build/corstone-300 +``` + +### Testing + +Assuming that the Corstone-300 FVP has been downloaded, installed and placed in +the PATH variable. Then the software binary can be tested like this. + +``` +$ FVP_Corstone_SSE-300_Ethos-U55 build/corstone-300/ethosu_corstone_300.elf +``` + # License The Arm Ethos-U Core Platform is provided under an Apache-2.0 license. Please -- cgit v1.2.1