diff options
author | Cisco Cervellera <cisco.cervellera@arm.com> | 2021-08-02 09:32:07 +0100 |
---|---|---|
committer | Isabella Gottardi <isabella.gottardi@arm.com> | 2021-08-03 16:10:16 +0100 |
commit | f085fa5a2859178741f39563b4d9d68ca41d916a (patch) | |
tree | 62fd8411c63a853be4c32683a3ada0b6affb0399 /docs/sections/deployment.md | |
parent | 81c4c9178598e5c26af7373eca67842a8fe4179f (diff) | |
download | ml-embedded-evaluation-kit-f085fa5a2859178741f39563b4d9d68ca41d916a.tar.gz |
MLECO-2051: Work with Corstone-300 + Ethos-U65
Change-Id: I64ab930a1de5210f435f91bed7600a700581946f
Signed-off-by: Isabella Gottardi <isabella.gottardi@arm.com>
Reviewed-on: https://eu-gerrit-2.euhpc.arm.com/c/ml/ecosystem/ml-embedded-evaluation-kit/+/459126
Tested-by: mlecosys <mlecosys@arm.com>
Tested-by: George Gekov <george.gekov@arm.com>
Reviewed-by: George Gekov <george.gekov@arm.com>
Reviewed-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
Diffstat (limited to 'docs/sections/deployment.md')
-rw-r--r-- | docs/sections/deployment.md | 43 |
1 files changed, 29 insertions, 14 deletions
diff --git a/docs/sections/deployment.md b/docs/sections/deployment.md index 7a8e368..6c90c87 100644 --- a/docs/sections/deployment.md +++ b/docs/sections/deployment.md @@ -29,8 +29,8 @@ Please ensure that you download the correct archive from the list under `Arm Cor ### Setting up the MPS3 Arm Corstone-300 FVP -For the *Ethos-U55* sample application, please download the MPS3 version of the Arm® *Corstone™-300* model that contains -both the *Ethos-U55* and *Arm® Cortex®-M55*. The model is currently only supported on Linux-based machines. +For the *Ethos-U* evaluation, please download the MPS3 based version of the Arm® *Corstone™-300* model that contains *Cortex-M55* +and offers a choice of the *Ethos-U55* and *Ethos-U65* processors. To install the FVP: @@ -38,7 +38,7 @@ To install the FVP: - Run the install script in the extracted package: - `./FVP_Corstone_SSE-300_Ethos-U55.sh` + `./FVP_Corstone_SSE-300.sh` - Follow the instructions to install the FVP to your required location. @@ -46,15 +46,15 @@ To install the FVP: This section assumes that the FVP has been installed (see [Setting up the MPS3 Arm Corstone-300 FVP](#setting-up-the-mps3-arm-corstone-300-fvp)) -to the home directory of the user: `~/FVP_Corstone_SSE-300_Ethos-U55`. +to the home directory of the user: `~/FVP_Corstone_SSE-300`. -The installation, typically, has the executable under `~/FVP_Corstone_SSE-300_Ethos-U55/model/<OS>_<compiler-version>/` -directory. For the example below, we assume it is: `~/FVP_Corstone_SSE-300_Ethos-U55/models/Linux64_GCC-6.4`. +The installation, typically, has the executable under `~/FVP_Corstone_SSE-300/model/<OS>_<compiler-version>/` +directory. For the example below, we assume it is: `~/FVP_Corstone_SSE-300/models/Linux64_GCC-6.4`. To run a use-case on the FVP, from the [Build directory](../sections/building.md#create-a-build-directory): ```commandline -~/FVP_Corstone_SSE-300_Ethos-U55/models/Linux64_GCC-6.4/FVP_Corstone_SSE-300_Ethos-U55 -a ./bin/ethos-u-<use_case>.axf +~/FVP_Corstone_SSE-300/models/Linux64_GCC-6.4/FVP_Corstone_SSE-300_Ethos-U55 -a ./bin/ethos-u-<use_case>.axf telnetterminal0: Listening for serial connection on port 5000 telnetterminal1: Listening for serial connection on port 5001 telnetterminal2: Listening for serial connection on port 5002 @@ -73,10 +73,16 @@ type. It also includes the input and output tensor sizes of the model that are c After starting, the application outputs a menu and waits for the user-input from the telnet terminal. -For example, the image classification use-case can be started by using: +For example, the image classification use-case on *Ethos-U55* processor can be started by using: ```commandline -~/FVP_Corstone_SSE-300_Ethos-U55/models/Linux64_GCC-6.4/FVP_Corstone_SSE-300_Ethos-U55 -a ./bin/ethos-u-img_class.axf +~/FVP_Corstone_SSE-300/models/Linux64_GCC-6.4/FVP_Corstone_SSE-300_Ethos-U55 -a ./bin/ethos-u-img_class.axf +``` + +Meanwhile for *Ethos-U65*: + +```commandline +~/FVP_Corstone_SSE-300/models/Linux64_GCC-6.4/FVP_Corstone_SSE-300_Ethos-U65 -a ./bin/ethos-u-img_class.axf ``` ![FVP](../media/fvp.png) @@ -86,8 +92,11 @@ For example, the image classification use-case can be started by using: The FVP supports many command-line parameters, such as: - Those passed by using `-C <param>=<value>`. The most important ones are: - - `ethosu.num_macs`: Sets the *Ethos-U55* configuration for the model. Valid parameters are `32`, `64`, `256`, and the - default one `128`. The number signifies the 8x8 MACs that are performed per cycle-count and that are available on + - `ethosu.num_macs`: Sets the *Ethos-U* configuration for the model. The valid parameters are: + - *Ethos-U55*: `32`, `64`, `256`, and the default one `128`. + - *Ethos-U65*: `256`, and the default one `512`. + + The number signifies the 8x8 MACs that are performed per cycle-count and that are available on the hardware. - `cpu0.CFGITCMSZ`: The ITCM size for the *Cortex-M* CPU. The size of ITCM is *pow(2, CFGITCMSZ - 1)* KB - `cpu0.CFGDTCMSZ`: The DTCM size for the *Cortex-M* CPU. The size of DTCM is *pow(2, CFGDTCMSZ - 1)* KB @@ -100,19 +109,25 @@ The FVP supports many command-line parameters, such as: To start the model in `128` mode for *Ethos-U55*: ```commandline - ~/FVP_Corstone_SSE-300_Ethos-U55/models/Linux64_GCC-6.4/FVP_Corstone_SSE-300_Ethos-U55 -a ./bin/ethos-u-img_class.axf -C ethosu.num_macs=128 + ~/FVP_Corstone_SSE-300/models/Linux64_GCC-6.4/FVP_Corstone_SSE-300_Ethos-U55 -a ./bin/ethos-u-img_class.axf -C ethosu.num_macs=128 + ``` + + To start the model in `512` mode for *Ethos-U65*: + + ```commandline + ~/FVP_Corstone_SSE-300/models/Linux64_GCC-6.4/FVP_Corstone_SSE-300_Ethos-U65 -a ./bin/ethos-u-img_class.axf -C ethosu.num_macs=512 ``` - `-l`: shows the full list of supported parameters ```commandline - ~/FVP_Corstone_SSE-300_Ethos-U55/models/Linux64_GCC-6.4/FVP_Corstone_SSE-300_Ethos-U55 -l + ~/FVP_Corstone_SSE-300/models/Linux64_GCC-6.4/FVP_Corstone_SSE-300_Ethos-U55 -l ``` - `--stat`: prints some run statistics on simulation exit ```commandline - ~/FVP_Corstone_SSE-300_Ethos-U55/models/Linux64_GCC-6.4/FVP_Corstone_SSE-300_Ethos-U55 --stat + ~/FVP_Corstone_SSE-300/models/Linux64_GCC-6.4/FVP_Corstone_SSE-300_Ethos-U55 --stat ``` - `--timelimit`: sets the number of wall clock seconds for the simulator to run, excluding startup and shutdown. |