Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Feedback - Introduction to TinyML on Arm using PyTorch and ExecuTorch/Set up the Corstone-320 FVP #2422

@NostalgiaJohn

Description

@NostalgiaJohn

Type of issue

  • Instructions in the learning path do not work.
  • Spelling error in the learning path.
  • Instructions in the learning path are hard to follow.
  • Instructions to contribute a new learning path are not clear.
  • Other

Describe the issue
Instructions in <Developer Hub/Learning Paths/Learning-Paths/Embedded and Microcontrollers/Introduction to TinyML on Arm using PyTorch and ExecuTorch/Set up the Corstone-320 FVP> do not work at:

Test that the setup was successful by running the run.sh script for Ethos-U85, which is the target device for Corstone-320:
./examples/arm/run.sh --target=ethos-u85-256

The error output is:

CMake Error at /home/dockeruser/executorch/arm_test/cmake-out/lib/cmake/ExecuTorch/ExecuTorchTargets.cmake:42 (message):
  Some (but not all) targets in this export set were already defined.

  Targets Defined: cmsis-nn

  Targets not yet defined: common_schema, program_schema,
  kernels_util_all_deps, portable_kernels, portable_ops_lib, executorch,
  executorch_core, executorch_delegate_ethos_u, cortex_m_kernels,
  cortex_m_ops_lib, extension_runner_util, quantized_kernels,
  quantized_ops_lib, executorch_backends, executorch_extensions,
  executorch_kernels

Call Stack (most recent call first):
  /home/dockeruser/executorch/arm_test/cmake-out/lib/cmake/ExecuTorch/executorch-config.cmake:53 (include)
  CMakeLists.txt:150 (find_package)

It may cause by:

Building with BundleIO/etdump/extra flags:  -DET_BUNDLE_IO=OFF   -DEXECUTORCH_ENABLE_EVENT_TRACER=OFF  
-- Fetching Ethos-U content into /home/dockeruser/executorch/examples/arm/ethos-u-scratch/ethos-u
'bash' '-c' 'pwd && source backends/arm/scripts/utils.sh && patch_repo /home/dockeruser/executorch/examples/arm/ethos-u-scratch/ethos-u 24950bd4381b6c51db0349a229f8ba86b8e1093f /home/dockeruser/executorch/examples/arm/ethos-u-setup'
/home/dockeruser/executorch
[patch_repo] Patching ethos-u repo_dir:/home/dockeruser/executorch/examples/arm/ethos-u-scratch/ethos-u base_rev:24950bd4381b6c51db0349a229f8ba86b8e1093f patch_dir:/home/dockeruser/executorch/examples/arm/ethos-u-setup/ethos-u
~/executorch/examples/arm/ethos-u-scratch/ethos-u ~/executorch
HEAD is now at 24950bd 25.05 Release
Committer identity unknown

*** Please tell me who you are.

Run

  git config --global user.email "[email protected]"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'dockeruser@4256c5494aa5.(none)')
[patch_repo] Patched ethos-u @ tags/25.05-0-g24950bd in /home/dockeruser/executorch/examples/arm/ethos-u-scratch/ethos-u dir.

~/executorch
'bash' '-c' 'pwd && source backends/arm/scripts/utils.sh && patch_repo /home/dockeruser/executorch/examples/arm/ethos-u-scratch/ethos-u/core_software 55904c3da73c876c6d6c58290938ae217a8b94bd /home/dockeruser/executorch/examples/arm/ethos-u-setup'
/home/dockeruser/executorch

To Reproduce
You can create a fresh Ubuntu system and follow the instructions in . Without configuring git user name and email, the build will not proceed.

Expected behavior
CMake build failure and unexpected output.

Desktop (please complete the following information):

  • OS: Windows
  • Version 24H2 26100.6899

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions