commit | e645fed716af167ae53e6f842e2baa85bdcb3c24 | [log] [tgz] |
---|---|---|
author | Bhavik Patel <bhavik.patel@arm.com> | Fri Jun 12 14:46:47 2020 +0200 |
committer | Bhavik Patel <bhavik.patel@arm.com> | Fri Jun 26 14:12:04 2020 +0200 |
tree | 735a0cc11d8c667dfa9f6be5865355e6807e0d36 | |
parent | 2407e9646fe50709e36440d04d3f35367ea5bf81 [diff] |
MLBEDSW-2447 Set clock_q_enable & power_q_enable correctly Bit [2] in CMD register is used to enable clock off using clock q-interface and enable the master clock gate. Bit [3] is used to enable power off using power q-interface. The clock_q_enable bit is set when putting the Ethos-U into run state. The power_q_enable bit is set to 0 when running the command stream and set to 1 after command stream has finished running. Change-Id: Id9d1405376508e2af2ec0ddc2ebae8fb6c2f5cba
This repository contains a device driver for the Ethos-u NPU.
The source code comes with a CMake based build system. The driver is expeced to be cross compiled for any of the supported Arm Cortex-m CPUs, which will require the user to setup a custom toolchain file.
The user is also required to define CMAKE_SYSTEM_PROCESSOR
for the target CPU, for example cortex-m55+nodsp+nofp. This can be done either in the toolchain file or on the command line.
$ mkdir build $ cd build $ cmake .. -DCMAKE_TOOLCHAIN_FILE=<toolchain> -DCMAKE_SYSTEM_PROCESSOR=cortex-m<nr><features> $ make