diff options
-rw-r--r-- | 22.08.json | 66 | ||||
-rw-r--r-- | 22.11.json | 71 | ||||
-rw-r--r-- | 23.02.json | 70 | ||||
-rw-r--r-- | 23.05.json | 81 | ||||
-rw-r--r-- | 23.08.json | 81 | ||||
-rw-r--r-- | 23.11.json | 76 | ||||
-rw-r--r-- | 24.02.json | 76 | ||||
-rw-r--r-- | README.md | 78 | ||||
-rw-r--r-- | externals.json | 30 | ||||
-rwxr-xr-x | fetch_externals.py | 10 |
10 files changed, 610 insertions, 29 deletions
diff --git a/22.08.json b/22.08.json new file mode 100644 index 0000000..be20e6e --- /dev/null +++ b/22.08.json @@ -0,0 +1,66 @@ +{ + "externals": + [ + { + "path": "core_platform", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-core-platform", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-core-platform", + "revision": "22.08" + }, + { + "path": "core_software", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-core-software", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-core-software", + "revision": "22.08" + }, + { + "path": "core_software/core_driver", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-core-driver", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-core-driver", + "revision": "22.08" + }, + { + "path": "core_software/cmsis", + "fetchurl": "https://github.com/ARM-software/CMSIS_5.git", + "revision": "ed78d6b78766d71cfe0431149f2f261d1c7277a1" + }, + { + "path": "core_software/cmsis-view", + "fetchurl": "https://github.com/ARM-software/CMSIS-View.git", + "revision": "5d9df63ae1e389cfb64e1d7977bfa7f7b81a312a" + }, + { + "path": "core_software/rtos/freertos", + "fetchurl": "https://github.com/aws/amazon-freertos.git", + "revision": "202203.00" + }, + { + "path": "core_software/rtos/freertos/freertos_kernel", + "fetchurl": "https://github.com/FreeRTOS/FreeRTOS-Kernel.git", + "revision": "ac69aa858ae25027ba7decf5512deac7843ce368" + }, + { + "path": "core_software/rtos/threadx", + "name": "linaro", + "fetchurl": "https://github.com/Linaro/threadx", + "revision": "mps3_an547" + }, + { + "path": "core_software/tflite_micro", + "fetchurl": "https://github.com/tensorflow/tflite-micro", + "revision": "67e9d8f60d3e37ab02f94a93f016179ef5e96cb6" + }, + { + "path": "linux_driver_stack", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-linux-driver-stack", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-linux-driver-stack", + "revision": "22.08" + }, + { + "path": "vela", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-vela", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-vela", + "revision": "3.5.0" + } + ] +} diff --git a/22.11.json b/22.11.json new file mode 100644 index 0000000..251ac91 --- /dev/null +++ b/22.11.json @@ -0,0 +1,71 @@ +{ + "externals": + [ + { + "path": "core_platform", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-core-platform", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-core-platform", + "revision": "22.11" + }, + { + "path": "core_software", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-core-software", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-core-software", + "revision": "22.11" + }, + { + "path": "core_software/core_driver", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-core-driver", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-core-driver", + "revision": "22.11" + }, + { + "path": "core_software/cmsis", + "fetchurl": "https://github.com/ARM-software/CMSIS_5.git", + "revision": "81564cfb339ebf9def167a50693733f8a1e1471e" + }, + { + "path": "core_software/cmsis-nn", + "fetchurl": "https://github.com/ARM-software/CMSIS-NN.git", + "revision": "v4.0.0" + }, + { + "path": "core_software/cmsis-view", + "fetchurl": "https://github.com/ARM-software/CMSIS-View.git", + "revision": "5d9df63ae1e389cfb64e1d7977bfa7f7b81a312a" + }, + { + "path": "core_software/rtos/freertos", + "fetchurl": "https://github.com/aws/amazon-freertos.git", + "revision": "202203.00" + }, + { + "path": "core_software/rtos/freertos/freertos_kernel", + "fetchurl": "https://github.com/FreeRTOS/FreeRTOS-Kernel.git", + "revision": "V10.5.0" + }, + { + "path": "core_software/rtos/threadx", + "name": "linaro", + "fetchurl": "https://github.com/Linaro/threadx", + "revision": "mps3_an547" + }, + { + "path": "core_software/tflite_micro", + "fetchurl": "https://github.com/tensorflow/tflite-micro", + "revision": "aba71897cc518522cf4f52634d97079e9fc8024b" + }, + { + "path": "linux_driver_stack", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-linux-driver-stack", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-linux-driver-stack", + "revision": "22.11" + }, + { + "path": "vela", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-vela", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-vela", + "revision": "3.6.0" + } + ] +} diff --git a/23.02.json b/23.02.json new file mode 100644 index 0000000..0c80e03 --- /dev/null +++ b/23.02.json @@ -0,0 +1,70 @@ +{ + "externals": + [ + { + "path": "core_platform", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-core-platform", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-core-platform", + "revision": "23.02" + }, + { + "path": "core_software", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-core-software", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-core-software", + "revision": "23.02" + }, + { + "path": "core_software/core_driver", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-core-driver", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-core-driver", + "revision": "23.02" + }, + { + "path": "core_software/cmsis", + "fetchurl": "https://github.com/ARM-software/CMSIS_5.git", + "revision": "41a6424ff4307bd52d94bfc2708874d4224848b6" + }, + { + "path": "core_software/cmsis-nn", + "fetchurl": "https://github.com/ARM-software/CMSIS-NN.git", + "revision": "23.02" + }, + { + "path": "core_software/cmsis-view", + "fetchurl": "https://github.com/ARM-software/CMSIS-View.git", + "revision": "21d6ad7adc6dbe55bce9a9eb17927f1fc97d56af" + }, + { + "path": "core_software/rtos/freertos", + "fetchurl": "https://github.com/aws/amazon-freertos.git", + "revision": "202203.00" + }, + { + "path": "core_software/rtos/freertos/freertos_kernel", + "fetchurl": "https://github.com/FreeRTOS/FreeRTOS-Kernel.git", + "revision": "V10.5.0" + }, + { + "path": "core_software/rtos/threadx", + "fetchurl": "https://github.com/azure-rtos/threadx", + "revision": "37f6d0b39c970b297c263cbb8388b9060b92e5c9" + }, + { + "path": "core_software/tflite_micro", + "fetchurl": "https://github.com/tensorflow/tflite-micro", + "revision": "1d810cac73330d9bf156b38a111ffd8e86523362" + }, + { + "path": "linux_driver_stack", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-linux-driver-stack", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-linux-driver-stack", + "revision": "23.02" + }, + { + "path": "vela", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-vela", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-vela", + "revision": "3.7.0" + } + ] +} diff --git a/23.05.json b/23.05.json new file mode 100644 index 0000000..9bd484d --- /dev/null +++ b/23.05.json @@ -0,0 +1,81 @@ +{ + "externals": + [ + { + "path": "core_platform", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-core-platform", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-core-platform", + "revision": "23.05" + }, + { + "path": "core_software", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-core-software", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-core-software", + "revision": "23.05" + }, + { + "path": "core_software/core_driver", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-core-driver", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-core-driver", + "revision": "23.05" + }, + { + "path": "core_software/cmsis", + "fetchurl": "https://github.com/ARM-software/CMSIS_5.git", + "revision": "e94a96201a97be3e84d3d6ef081d2f0f7db9b5fd" + }, + { + "path": "core_software/cmsis-nn", + "fetchurl": "https://github.com/ARM-software/CMSIS-NN.git", + "revision": "v4.1.0" + }, + { + "path": "core_software/cmsis-view", + "fetchurl": "https://github.com/ARM-software/CMSIS-View.git", + "revision": "2a2b90f4d94dee5056fcf4369db3fe37d82c203c" + }, + { + "path": "core_software/openamp/libmetal", + "fetchurl": "https://github.com/OpenAMP/libmetal", + "revision": "v2023.04.0" + }, + { + "path": "core_software/openamp/openamp", + "fetchurl": "https://github.com/OpenAMP/open-amp", + "revision": "v2023.04.0" + }, + { + "path": "core_software/rtos/freertos", + "fetchurl": "https://github.com/aws/amazon-freertos.git", + "revision": "41244b002675843d44fc79c8752a87c344eaa855" + }, + { + "path": "core_software/rtos/freertos/freertos_kernel", + "fetchurl": "https://github.com/FreeRTOS/FreeRTOS-Kernel.git", + "revision": "a07f649bd50798cf7bd20325f12491c599a8bd39" + }, + { + "path": "core_software/rtos/threadx", + "name": "linaro", + "fetchurl": "https://github.com/Linaro/threadx", + "revision": "20ae996c12b6e693db51d5b523d22cd248513702" + }, + { + "path": "core_software/tflite_micro", + "fetchurl": "https://github.com/tensorflow/tflite-micro", + "revision": "384dd272f28ea7a99f5f7c211c9791f73cdb301b" + }, + { + "path": "linux_driver_stack", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-linux-driver-stack", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-linux-driver-stack", + "revision": "23.05" + }, + { + "path": "vela", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-vela", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-vela", + "revision": "3.8.0" + } + ] +} diff --git a/23.08.json b/23.08.json new file mode 100644 index 0000000..901d5c0 --- /dev/null +++ b/23.08.json @@ -0,0 +1,81 @@ +{ + "externals": + [ + { + "path": "core_platform", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-core-platform", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-core-platform", + "revision": "23.08" + }, + { + "path": "core_software", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-core-software", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-core-software", + "revision": "23.08" + }, + { + "path": "core_software/core_driver", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-core-driver", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-core-driver", + "revision": "23.08" + }, + { + "path": "core_software/cmsis", + "fetchurl": "https://github.com/ARM-software/CMSIS_5.git", + "revision": "a75f01746df18bb5b929dfb8dc6c9407fac3a0f3" + }, + { + "path": "core_software/cmsis-nn", + "fetchurl": "https://github.com/ARM-software/CMSIS-NN.git", + "revision": "23.08" + }, + { + "path": "core_software/cmsis-view", + "fetchurl": "https://github.com/ARM-software/CMSIS-View.git", + "revision": "c195bfdc9385f2a1820d4d68dbf6a0d2940c8f39" + }, + { + "path": "core_software/openamp/libmetal", + "fetchurl": "https://github.com/OpenAMP/libmetal", + "revision": "v2023.04.0" + }, + { + "path": "core_software/openamp/openamp", + "fetchurl": "https://github.com/OpenAMP/open-amp", + "revision": "v2023.04.0" + }, + { + "path": "core_software/rtos/freertos", + "fetchurl": "https://github.com/aws/amazon-freertos.git", + "revision": "41244b002675843d44fc79c8752a87c344eaa855" + }, + { + "path": "core_software/rtos/freertos/freertos_kernel", + "fetchurl": "https://github.com/FreeRTOS/FreeRTOS-Kernel.git", + "revision": "a07f649bd50798cf7bd20325f12491c599a8bd39" + }, + { + "path": "core_software/rtos/threadx", + "name": "linaro", + "fetchurl": "https://github.com/Linaro/threadx", + "revision": "20ae996c12b6e693db51d5b523d22cd248513702" + }, + { + "path": "core_software/tflite_micro", + "fetchurl": "https://github.com/tensorflow/tflite-micro", + "revision": "80cb11b131e9738dc60b2db3e2f1f8e2425ded52" + }, + { + "path": "linux_driver_stack", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-linux-driver-stack", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-linux-driver-stack", + "revision": "23.08" + }, + { + "path": "vela", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-vela", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-vela", + "revision": "3.9.0" + } + ] +} diff --git a/23.11.json b/23.11.json new file mode 100644 index 0000000..74d219f --- /dev/null +++ b/23.11.json @@ -0,0 +1,76 @@ +{ + "externals": + [ + { + "path": "core_platform", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-core-platform", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-core-platform", + "revision": "23.11" + }, + { + "path": "core_software", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-core-software", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-core-software", + "revision": "23.11" + }, + { + "path": "core_software/core_driver", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-core-driver", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-core-driver", + "revision": "23.11" + }, + { + "path": "core_software/cmsis", + "fetchurl": "https://github.com/ARM-software/CMSIS_5.git", + "revision": "a75f01746df18bb5b929dfb8dc6c9407fac3a0f3" + }, + { + "path": "core_software/cmsis-nn", + "fetchurl": "https://github.com/ARM-software/CMSIS-NN.git", + "revision": "bfc54edb61e873039ec0857cacc40df36b1d644e" + }, + { + "path": "core_software/cmsis-view", + "fetchurl": "https://github.com/ARM-software/CMSIS-View.git", + "revision": "28b5f70791d7b0ca881b1d5fa176a520f4daa49c" + }, + { + "path": "core_software/openamp/libmetal", + "fetchurl": "https://github.com/OpenAMP/libmetal", + "revision": "8041e1c2764812a8d6feded09e68d87bc7812b3e" + }, + { + "path": "core_software/openamp/openamp", + "fetchurl": "https://github.com/OpenAMP/open-amp", + "revision": "v2023.04.0" + }, + { + "path": "core_software/rtos/freertos/freertos_kernel", + "fetchurl": "https://github.com/FreeRTOS/FreeRTOS-Kernel.git", + "revision": "V10.6.1" + }, + { + "path": "core_software/rtos/threadx", + "name": "linaro", + "fetchurl": "https://github.com/Linaro/threadx", + "revision": "20ae996c12b6e693db51d5b523d22cd248513702" + }, + { + "path": "core_software/tflite_micro", + "fetchurl": "https://github.com/tensorflow/tflite-micro", + "revision": "0996efe9b60fde8efcde5242df1afc6ee24d9ee2" + }, + { + "path": "linux_driver_stack", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-linux-driver-stack", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-linux-driver-stack", + "revision": "23.11" + }, + { + "path": "vela", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-vela", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-vela", + "revision": "3.10.0" + } + ] +} diff --git a/24.02.json b/24.02.json new file mode 100644 index 0000000..5432c7d --- /dev/null +++ b/24.02.json @@ -0,0 +1,76 @@ +{ + "externals": + [ + { + "path": "core_platform", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-core-platform", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-core-platform", + "revision": "24.02" + }, + { + "path": "core_software", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-core-software", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-core-software", + "revision": "24.02" + }, + { + "path": "core_software/core_driver", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-core-driver", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-core-driver", + "revision": "24.02" + }, + { + "path": "core_software/cmsis", + "fetchurl": "https://github.com/ARM-software/CMSIS_5.git", + "revision": "a75f01746df18bb5b929dfb8dc6c9407fac3a0f3" + }, + { + "path": "core_software/cmsis-nn", + "fetchurl": "https://github.com/ARM-software/CMSIS-NN.git", + "revision": "9eacdff4893cc4f5f772bef9c1476a9c2785ab45" + }, + { + "path": "core_software/cmsis-view", + "fetchurl": "https://github.com/ARM-software/CMSIS-View.git", + "revision": "e1fabca3b76cacbf5bf96782d945b3c822efb50c" + }, + { + "path": "core_software/openamp/libmetal", + "fetchurl": "https://github.com/OpenAMP/libmetal", + "revision": "8041e1c2764812a8d6feded09e68d87bc7812b3e" + }, + { + "path": "core_software/openamp/openamp", + "fetchurl": "https://github.com/OpenAMP/open-amp", + "revision": "v2023.10.0" + }, + { + "path": "core_software/rtos/freertos/freertos_kernel", + "fetchurl": "https://github.com/FreeRTOS/FreeRTOS-Kernel.git", + "revision": "V11.0.1" + }, + { + "path": "core_software/rtos/threadx", + "name": "linaro", + "fetchurl": "https://github.com/eclipse-threadx/threadx", + "revision": "v6.4.0_rel" + }, + { + "path": "core_software/tflite_micro", + "fetchurl": "https://github.com/tensorflow/tflite-micro", + "revision": "0ec823ed2f46a183ff202725b83c8ee3e13215b2" + }, + { + "path": "linux_driver_stack", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-linux-driver-stack", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-linux-driver-stack", + "revision": "24.02" + }, + { + "path": "vela", + "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-vela", + "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-vela", + "revision": "3.11.0" + } + ] +} @@ -12,29 +12,25 @@ is stored in `externals.json` which is a human readable JSON file. $ ./fetch_externals.py fetch ``` -The default configuration can be overriddend with the `-c` argument, for +The default configuration can be overridden with the `-c` argument, for example. ``` -$ ./fetch_externals.py -c 21.11.json fetch +$ ./fetch_externals.py -c 22.11.json fetch ``` ## Directory structure -The script will build following directory structure. +The script will build following core directory structure. ``` Directory . +-- core_platform +-- core_software -| +-- applications | +-- cmsis -| +-- cmsis-view +| +-- cmsis-nn | +-- core_driver -| +-- drivers -| +-- lib -| +-- rtos | +-- tflite_micro +-- linux_driver_stack +-- vela @@ -43,10 +39,11 @@ Directory | Directory | Description | --- | --- | [.](https://git.mlplatform.org/ml/ethos-u/ethos-u.git) | This is the root directory for all Arm Ethos-U software. | -| [core_platform](https://git.mlplatform.org/ml/ethos-u/ethos-u-core-platform.git) | This directory contains target specific files and is provided as an example how core software can be built for target platforms. | +| [core_platform](https://git.mlplatform.org/ml/ethos-u/ethos-u-core-platform.git) | This directory contains drivers, target specific files and is provided as an example how core software can be built for target platforms. | | [core_software](https://git.mlplatform.org/ml/ethos-u/ethos-u-core-software.git) | The software executing on Arm Cortex-M is referred to as _Core Software_. This folder provides a small build system that illustrates how to build the key components for the Arm Ethos-U core software. | +| [cmsis](https://github.com/ARM-software/CMSIS_5) | CMSIS provides generic interfaces to boot and configure the Arm Cortex-M CPUs. | +| [cmsis-nn](https://github.com/ARM-software/CMSIS-NN.git) | CMSIS-NN provides optimized neural network kernels for Arm Cortex-M CPUs. | | [core_driver](https://git.mlplatform.org/ml/ethos-u/ethos-u-core-driver.git) | The Arm Ethos-U NPU driver. | -| [cmsis](https://github.com/ARM-software/CMSIS_5) | CMSIS provides optimized kernels and generic interfaces to the Arm Cortex-M CPUs. | | [tflite_micro](https://github.com/tensorflow/tflite-micro) | The TensorFlow Lite microcontroller framework is used to run inferences. | | [linux_driver_stack](https://git.mlplatform.org/ml/ethos-u/ethos-u-linux-driver-stack.git) | Example driver stack showing how Linux can dispatch inferences to an Arm Ethos-U subsystem. | | [vela](https://git.mlplatform.org/ml/ethos-u/ethos-u-vela.git) | The Vela optimizer takes a TFLu file as input and replaces operators that are supported by the Arm Ethos-U NPU with custom operators designed to run on the NPU. Operators not supported by the NPU are executed in software. | @@ -77,7 +74,7 @@ Date: Mon Feb 29 12:12:12 2016 +0000 Title of the commit Short description of the change. - + Signed-off-by: John Doe john.doe@example.org Signed-off-by: Foo Bar foo.bar@example.org ``` @@ -89,6 +86,65 @@ the repository. Please see [Security](SECURITY.md). +# Releases + +## Release 24.02 + +The 24.02 release has been tested on Ubuntu 22.04.3 LTS using Tensorflow version 2.15 as reference. + +## Release 23.11 + +The 23.11 release has been tested on Ubuntu 22.04.3 LTS using Tensorflow version 2.14 as reference, with the +additional patch applied: + +* https://github.com/tensorflow/tensorflow/pull/58400 + +Without this patch there may be output diffs between TFL and TFLM for certain models. + +## Release 23.08 + +The 23.08 release has been tested against Tensorflow version 2.12 as reference, with the additional patches applied: + +* https://github.com/tensorflow/tensorflow/pull/58400 +* https://github.com/tensorflow/tensorflow/pull/52014 + +Without these patches there may be output diffs between TFL and TFLM for certain models. + +## Release 23.05 + +The 23.05 release has been tested against Tensorflow version 2.11 as reference, with the additional patches applied: + +* https://github.com/tensorflow/tensorflow/pull/58400 +* https://github.com/tensorflow/tensorflow/pull/52014 + +Without these patches there may be output diffs between TFL and TFLM for certain models. + +There's a discrepancy in tensorflow/lite/micro/cortex_m_corstone_300/README.md fixed by https://github.com/tensorflow/tflite-micro/pull/1972. + +# Known Issues + +## TensorFlow Lite for Microcontrollers Out of Memory Error during Runtime +During runtime the TensorFlow Lite for Microcontrollers framework might report +the following fatal error: + +```Failed to resize buffer. Requested: X, available: Y, missing: Z``` + +where X, Y and Z are numbers of bytes and X = Y + Z. + +There can be several reasons for running out of memory during an inference but +one cause is that too much memory was allocated to the Ethos-U during the +offline compilation phase of the `.tflite` file using Vela. This can result in +not enough memory being available at runtime for the other software components +e.g. the application, the framework, or the reference kernels. The solution is +to calculate the amount of memory required at runtime by all components and then +update the amount allocated to the Ethos-U by using either the Vela CLI option +`--arena-cache-size` or the `arena_cache_size` attribute in Vela's `.ini` +configuration file. This calculation can be difficult to get right and so a +pragmatic solution would be to start by reducing the amount allocated to the +Ethos-U by the value āZā (from the error message) rounded up to the nearest +multiple 16 (the default tensor alignment used in Vela). This may be an +iterative process. + # Trademark notice Arm, Cortex and Ethos are registered trademarks of Arm Limited (or its diff --git a/externals.json b/externals.json index ad9e62c..2b4aec8 100644 --- a/externals.json +++ b/externals.json @@ -25,25 +25,34 @@ "revision": "develop" }, { + "path": "core_software/cmsis-nn", + "fetchurl": "https://github.com/ARM-software/CMSIS-NN.git", + "revision": "main" + }, + { "path": "core_software/cmsis-view", "fetchurl": "https://github.com/ARM-software/CMSIS-View.git", "revision": "main" }, { - "path": "core_software/rtos/freertos", - "fetchurl": "https://github.com/aws/amazon-freertos.git", - "revision": "main" + "path": "core_software/openamp/libmetal", + "fetchurl": "https://github.com/OpenAMP/libmetal", + "revision": "959fddbd706a67b0699e0dd7a46e36fe49079ef9" + }, + { + "path": "core_software/openamp/openamp", + "fetchurl": "https://github.com/OpenAMP/open-amp", + "revision": "1680aada793d78b512f98cc1fa8fc2ee837919e5" }, { "path": "core_software/rtos/freertos/freertos_kernel", "fetchurl": "https://github.com/FreeRTOS/FreeRTOS-Kernel.git", - "revision": "main" + "revision": "V11.0.1" }, { "path": "core_software/rtos/threadx", - "name": "linaro", - "fetchurl": "https://github.com/Linaro/threadx", - "revision": "mps3_an547" + "fetchurl": "https://github.com/eclipse-threadx/threadx", + "revision": "v6.4.1_rel" }, { "path": "core_software/tflite_micro", @@ -57,15 +66,10 @@ "revision": "master" }, { - "path": "linux_driver_stack/flatbuffers", - "fetchurl": "https://github.com/google/flatbuffers", - "revision": "master" - }, - { "path": "vela", "fetchurl": "https://review.mlplatform.org/ml/ethos-u/ethos-u-vela", "pushurl": "ssh://review.mlplatform.org:29418/ml/ethos-u/ethos-u-vela", - "revision": "master" + "revision": "main" } ] } diff --git a/fetch_externals.py b/fetch_externals.py index 0be9cc3..2cc7960 100755 --- a/fetch_externals.py +++ b/fetch_externals.py @@ -45,7 +45,7 @@ def check_output(args, **kwargs): ############################################################################### class Git(object): - def __init__(self, pwd, path, name, fetchurl, pushurl=None, revision='origin/master'): + def __init__(self, pwd, path, name, fetchurl, pushurl=None, revision='master'): self.pwd = pwd self.path = path self.name = name @@ -57,8 +57,8 @@ class Git(object): def checkout_and_update(self): self.init() self.remote_add(self.name, self.revision, self.fetchurl, self.pushurl) - self.fetch(self.name) - self.checkout(self.name, self.revision) + self.fetch(self.name, self.revision) + self.checkout(self.name, 'FETCH_HEAD') def init(self): if not os.path.exists(self.absolutepath): @@ -82,8 +82,8 @@ class Git(object): if pushurl: check_output(['git', 'remote', 'set-url', '--add', '--push', name, pushurl], cwd=self.absolutepath) - def fetch(self, name): - check_output(['git', 'fetch', name], cwd=self.absolutepath) + def fetch(self, name, revision): + check_output(['git', 'fetch', name, revision], cwd=self.absolutepath) def checkout(self, name, revision): rev = self.__get_rev(name, revision) |