From 49482d53d7f8ee3fb0c2cc6c0553e9cbdfe6f332 Mon Sep 17 00:00:00 2001 From: Richard Burton Date: Thu, 30 Nov 2023 11:38:45 +0000 Subject: MLECO-4371 Update dependencies to 23.11 release components * Updated NPU components and dependencies (core-driver, core-platform, Vela, CMSIS, TensorFlow Lite Micro) to 23.11 release SHAs. * Changed Python version to 3.10 * Updated release notes and other documentation * Added workarounds to scripts in order to address build issues Signed-off-by: Aron Virginas-Tar Change-Id: I0a639b80881b53eebb216085b7e6764e3be8ca67 --- scripts/cmake/platforms/mps3/sse-300/mps3-sse-300-debug.ld | 5 ++++- scripts/cmake/platforms/mps3/sse-300/mps3-sse-300.sct | 3 +++ scripts/cmake/platforms/simple_platform/simple_platform.sct | 3 +++ scripts/cmake/platforms/simple_platform/simple_platform_debug.ld | 5 ++++- scripts/py/dependency_urls.json | 8 ++++---- 5 files changed, 18 insertions(+), 6 deletions(-) (limited to 'scripts') diff --git a/scripts/cmake/platforms/mps3/sse-300/mps3-sse-300-debug.ld b/scripts/cmake/platforms/mps3/sse-300/mps3-sse-300-debug.ld index 6531403..35f59f6 100644 --- a/scripts/cmake/platforms/mps3/sse-300/mps3-sse-300-debug.ld +++ b/scripts/cmake/platforms/mps3/sse-300/mps3-sse-300-debug.ld @@ -84,7 +84,8 @@ SECTIONS *flatbuffer*.o *Profiler*.obj *lcd*.obj - *timing_adapter.c.obj) + *timing_adapter.c.obj + *s4*.o) .text*) KEEP(*(.init)) @@ -208,6 +209,8 @@ SECTIONS . = ALIGN(4); *Profiler*.obj (*.text*) . = ALIGN(4); + *s4*.o (*.text*) /* Temporary solution to move s4 operations to DDR. */ + . = ALIGN(4); } > DDR AT > DDR /** diff --git a/scripts/cmake/platforms/mps3/sse-300/mps3-sse-300.sct b/scripts/cmake/platforms/mps3/sse-300/mps3-sse-300.sct index c9b1c44..2e3646e 100644 --- a/scripts/cmake/platforms/mps3/sse-300/mps3-sse-300.sct +++ b/scripts/cmake/platforms/mps3/sse-300/mps3-sse-300.sct @@ -103,6 +103,9 @@ LOAD_REGION_1 0x70000000 0x02000000 ; activation buffers a.k.a tensor arena when memory mode dedicated sram *.o (activation_buf_dram) + + ; Temporary solution to move s4 operations here. + *s4*.o (+RO +RW +ZI) } ;----------------------------------------------------- diff --git a/scripts/cmake/platforms/simple_platform/simple_platform.sct b/scripts/cmake/platforms/simple_platform/simple_platform.sct index f34170e..b987f5a 100644 --- a/scripts/cmake/platforms/simple_platform/simple_platform.sct +++ b/scripts/cmake/platforms/simple_platform/simple_platform.sct @@ -103,6 +103,9 @@ LOAD_REGION_1 0x70000000 0x02000000 ; activation buffers a.k.a tensor arena when memory mode dedicated sram *.o (activation_buf_dram) + + ; Temporary solution to move s4 operations here. + *s4*.o (+RO +RW +ZI) } ;----------------------------------------------------- diff --git a/scripts/cmake/platforms/simple_platform/simple_platform_debug.ld b/scripts/cmake/platforms/simple_platform/simple_platform_debug.ld index 4bbe6c0..dbedb8e 100644 --- a/scripts/cmake/platforms/simple_platform/simple_platform_debug.ld +++ b/scripts/cmake/platforms/simple_platform/simple_platform_debug.ld @@ -77,7 +77,8 @@ SECTIONS *flatbuffer*.o *lcd*.obj *Profiler*.obj - *timing_adapter.c.obj) + *timing_adapter.c.obj + *s4*.o) .text*) KEEP(*(.init)) @@ -201,6 +202,8 @@ SECTIONS . = ALIGN(4); *Profiler*.obj (*.text*) . = ALIGN(4); + *s4*.o (*.text*) /* Temporary solution to move s4 operations to DDR. */ + . = ALIGN(4); } > DDR AT > DDR /** diff --git a/scripts/py/dependency_urls.json b/scripts/py/dependency_urls.json index 56ea403..316c628 100644 --- a/scripts/py/dependency_urls.json +++ b/scripts/py/dependency_urls.json @@ -1,8 +1,8 @@ { "cmsis": "https://github.com/ARM-software/CMSIS_5/archive/a75f01746df18bb5b929dfb8dc6c9407fac3a0f3.zip", "cmsis-dsp": "https://github.com/ARM-software/CMSIS-DSP/archive/refs/tags/v1.15.0.zip", - "cmsis-nn": "https://github.com/ARM-software/CMSIS-NN/archive/85164a811917770d7027a12a57ed3b469dac6537.zip", - "core-driver": "https://git.mlplatform.org/ml/ethos-u/ethos-u-core-driver.git/snapshot/ethos-u-core-driver-23.08.tar.gz", - "core-platform": "https://git.mlplatform.org/ml/ethos-u/ethos-u-core-platform.git/snapshot/ethos-u-core-platform-23.08.tar.gz", - "tensorflow": "https://github.com/tensorflow/tflite-micro/archive/568d181ccc1f60e49742fd43b7f97141ee8d45fc.zip" + "cmsis-nn": "https://github.com/ARM-software/CMSIS-NN/archive/bfc54edb61e873039ec0857cacc40df36b1d644e.zip", + "core-driver": "https://git.mlplatform.org/ml/ethos-u/ethos-u-core-driver.git/snapshot/ethos-u-core-driver-23.11.tar.gz", + "core-platform": "https://git.mlplatform.org/ml/ethos-u/ethos-u-core-platform.git/snapshot/ethos-u-core-platform-23.11.tar.gz", + "tensorflow": "https://github.com/tensorflow/tflite-micro/archive/0996efe9b60fde8efcde5242df1afc6ee24d9ee2.zip" } -- cgit v1.2.1