Skip to content

Commit 3f09db5

Browse files
authored
Arm backend: Uplift Ethos-U SDK to 26.05 (pytorch#21886)
cc @digantdesai @freddan80 @per @zingo @oscarandersson8218 @Sebastian-Larsson @robell @rascani Signed-off-by: Måns Nilsson <mans.nilsson@arm.com>
1 parent 3546e32 commit 3f09db5

3 files changed

Lines changed: 21 additions & 20 deletions

File tree

‎backends/arm/CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ set(ETHOSU_LINUX_DRIVER_GIT_REPO
2929
CACHE STRING "Git repository that hosts the Ethos-U Linux driver stack"
3030
)
3131
set(ETHOSU_LINUX_DRIVER_GIT_TAG
32-
"26.02"
32+
"26.05"
3333
CACHE STRING
3434
"Git tag/branch/commit used to fetch the Ethos-U Linux driver stack"
3535
)

‎backends/arm/scripts/corstone_utils.cmake‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ function(fetch_ethos_u_content ETHOS_SDK_PATH ET_DIR_PATH)
2525
file(MAKE_DIRECTORY ${ETHOS_SDK_PATH}/../ethos_u)
2626
include(FetchContent)
2727
find_package(Python3 REQUIRED COMPONENTS Interpreter)
28-
set(ethos_u_base_tag "26.02")
28+
set(ethos_u_base_tag "26.05.1")
29+
set(ethos_u_manifest_version "26.05")
2930
FetchContent_Declare(
3031
ethos_u
3132
GIT_REPOSITORY
@@ -43,7 +44,7 @@ function(fetch_ethos_u_content ETHOS_SDK_PATH ET_DIR_PATH)
4344
FetchContent_MakeAvailable(ethos_u)
4445
# Patch manifest to remove unused projects.
4546
set(patch_dir "${ET_DIR_PATH}/examples/arm/ethos-u-setup")
46-
set(ethos_u_base_rev "26.02")
47+
set(ethos_u_base_rev "26.05.1")
4748
patch_ethos_u_repo(
4849
"${ETHOS_SDK_PATH}" "${ethos_u_base_rev}" "${patch_dir}" "${ET_DIR_PATH}"
4950
)
@@ -54,12 +55,12 @@ function(fetch_ethos_u_content ETHOS_SDK_PATH ET_DIR_PATH)
5455
)
5556
execute_process(
5657
COMMAND ${Python3_EXECUTABLE} fetch_externals.py -c
57-
${ethos_u_base_tag}.json fetch
58+
${ethos_u_manifest_version}.json fetch
5859
WORKING_DIRECTORY ${ETHOS_SDK_PATH}
5960
)
6061
endif()
6162
# Patch core_software to remove unused projects.
62-
set(core_software_base_rev "26.02")
63+
set(core_software_base_rev "26.05")
6364
patch_ethos_u_repo(
6465
"${ETHOS_SDK_PATH}/core_software" "${core_software_base_rev}"
6566
"${patch_dir}" "${ET_DIR_PATH}"
@@ -71,7 +72,7 @@ function(fetch_ethos_u_content ETHOS_SDK_PATH ET_DIR_PATH)
7172
# Cortex-M cores. Once the equivalent guards land upstream in
7273
# ethos-u/core_platform and ${core_platform_base_rev} is bumped past those
7374
# commits, delete the 0002 and 0003 patches.
74-
set(core_platform_base_rev "26.02")
75+
set(core_platform_base_rev "26.05")
7576
patch_ethos_u_repo(
7677
"${ETHOS_SDK_PATH}/core_platform" "${core_platform_base_rev}"
7778
"${patch_dir}" "${ET_DIR_PATH}"

examples/arm/ethos-u-setup/ethos-u/0001-Remove-unused-projects-from-26.02-manifest.patch renamed to examples/arm/ethos-u-setup/ethos-u/0001-Remove-unused-projects-from-26.05-manifest.patch

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,51 @@
11
From 5d9118fefaf67e3b9e2889e8913adf0fae995d80 Mon Sep 17 00:00:00 2001
22
From: Erik Lundell <erik.lundell@arm.com>
33
Date: Wed, 4 Mar 2026 13:38:12 +0100
4-
Subject: [PATCH] Remove unused projects from 26.02 manifest
4+
Subject: [PATCH] Remove unused projects from 26.05 manifest
55

66
---
7-
26.02.json | 42 ------------------------------------------
7+
26.05.json | 42 ------------------------------------------
88
1 file changed, 42 deletions(-)
99

10-
diff --git a/26.02.json b/26.02.json
11-
index cf80b76..90986b9 100644
12-
--- a/26.02.json
13-
+++ b/26.02.json
10+
diff --git a/26.05.json b/26.05.json
11+
index 50f5a20..eb3ecc1 100644
12+
--- a/26.05.json
13+
+++ b/26.05.json
1414
@@ -38,48 +38,6 @@
1515
"path": "core_software/cmsis-view",
1616
"fetchurl": "https://github.com/ARM-software/CMSIS-View.git",
17-
"revision": "a0c972906c1fd0dd5718062b93cfcd142e965587"
17+
"revision": "87610cbad386a1ad166f3948533bf857f11bf0c5"
1818
- },
1919
- {
2020
- "path": "core_software/openamp/libmetal",
2121
- "fetchurl": "https://github.com/OpenAMP/libmetal",
22-
- "revision": "ece95f0e71811c44a4c23d9a1514f338ccf60c75"
22+
- "revision": "c5389ea380a2824a069f06df357d7dddfc0942a9"
2323
- },
2424
- {
2525
- "path": "core_software/openamp/openamp",
2626
- "fetchurl": "https://github.com/OpenAMP/open-amp",
27-
- "revision": "62b28881119277b9d2f244b2314e18bde23c296e"
27+
- "revision": "23d4c5d7a5c5dd08b74d4ba828243988592337cb"
2828
- },
2929
- {
3030
- "path": "core_software/rtos/freertos/freertos_kernel",
3131
- "fetchurl": "https://github.com/FreeRTOS/FreeRTOS-Kernel.git",
32-
- "revision": "f1043c49d59944353291654c175852bd17b34f99"
32+
- "revision": "d877cd53989eba16c5092761056e31e1dcddba2f"
3333
- },
3434
- {
3535
- "path": "core_software/rtos/threadx",
3636
- "fetchurl": "https://github.com/eclipse-threadx/threadx",
37-
- "revision": "4b6e8100d932a3a67b34c6eb17f84f3bffb9e2ae"
37+
- "revision": "9ab0cf9683f832cdb48e2099533a5b06a3afcd64"
3838
- },
3939
- {
4040
- "path": "core_software/tflite_micro",
4141
- "fetchurl": "https://github.com/tensorflow/tflite-micro",
42-
- "revision": "f2b2b3f51cdf97fe190ef8bd6d1839013c9c179e"
42+
- "revision": "730449fef1510c5d7848a4e9f0069ba357c16b96"
4343
- },
4444
- {
4545
- "path": "linux_driver_stack",
4646
- "fetchurl": "https://git.gitlab.arm.com/artificial-intelligence/ethos-u/ethos-u-linux-driver-stack.git",
4747
- "pushurl": "ssh://git@git.gitlab.arm.com/artificial-intelligence/ethos-u/ethos-u-linux-driver-stack.git",
48-
- "revision": "26.02"
48+
- "revision": "26.05"
4949
- },
5050
- {
5151
- "path": "linux_driver_stack/thirdparty/tensorflow",
@@ -56,7 +56,7 @@ index cf80b76..90986b9 100644
5656
- "path": "vela",
5757
- "fetchurl": "https://git.gitlab.arm.com/artificial-intelligence/ethos-u/ethos-u-vela.git",
5858
- "pushurl": "ssh://git@git.gitlab.arm.com/artificial-intelligence/ethos-u/ethos-u-vela.git",
59-
- "revision": "5.0.0"
59+
- "revision": "5.1.0"
6060
}
6161
]
6262
}

0 commit comments

Comments
 (0)