Skip to content

Commit

Permalink
Docker env for Arm® Ethos™-U55 Port
Browse files Browse the repository at this point in the history
* Removes /opt/arm/cmake/bin from the path
* Parameterizes Arm® Ethos™-U55 driver stack version

Change-Id: I2162b40f82241fd013643cbfa8847b60d7f4f5a1
  • Loading branch information
grant-arm committed Jul 22, 2021
1 parent 6c1f4b0 commit 1b114d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile.ci_cpu
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,4 @@ COPY install/ubuntu_install_vela.sh /install/ubuntu_install_vela.sh
RUN bash /install/ubuntu_install_vela.sh

# Update PATH
ENV PATH /opt/arm/bin:/opt/arm/cmake/bin:/opt/arm/gcc-arm-none-eabi/bin:$PATH
ENV PATH /opt/arm/bin:/opt/arm/gcc-arm-none-eabi/bin:$PATH
7 changes: 4 additions & 3 deletions docker/install/ubuntu_install_ethosu_driver_stack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ set -o pipefail
fvp_dir="/opt/arm/FVP_Corstone_SSE-300_Ethos-U55"
cmake_dir="/opt/arm/cmake"
ethosu_dir="/opt/arm/ethosu"
ethosu_driver_ver="21.05"

mkdir -p /opt/arm

Expand Down Expand Up @@ -79,15 +80,15 @@ mkdir "${ethosu_dir}"
cd "${ethosu_dir}"
git clone "https://review.mlplatform.org/ml/ethos-u/ethos-u-core-driver" core_driver
cd core_driver
git checkout tags/21.05
git checkout tags/${ethosu_driver_ver}

cd "${ethosu_dir}"
git clone "https://review.mlplatform.org/ml/ethos-u/ethos-u-core-platform" core_platform
cd core_platform
git checkout tags/21.05
git checkout tags/${ethosu_driver_ver}

# Clone CMSIS
cd "${ethosu_dir}"
git clone "https://github.com/ARM-software/CMSIS_5.git" cmsis
cd cmsis
git checkout -f tags/5.7.0
git checkout -f tags/5.7.0

0 comments on commit 1b114d7

Please sign in to comment.