Skip to content

Commit 5c53ee2

Browse files
gergelykarmurutva
authored andcommitted
docker: Add Corstone-320
Signed-off-by: Gergely Korcsák <[email protected]>
1 parent 4bea39f commit 5c53ee2

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.devcontainer/Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,20 @@ RUN rm -rf /home/ubuntu/FVP_Corstone_SSE-315; \
186186
rm -rf /tmp/arm-ecosystem-fvp
187187
ENV PATH="/home/ubuntu/FVP_Corstone_SSE-315/models/Linux64_armv8l_GCC-9.3:/home/ubuntu/FVP_Corstone_SSE-315/models/Linux64_GCC-9.3:${PATH}"
188188

189+
# Download and install Corstone-320 ecosystem FVP
190+
RUN rm -rf /home/ubuntu/FVP_Corstone_SSE-320; \
191+
mkdir /tmp/arm-ecosystem-fvp; \
192+
FVP_LINK=""; \
193+
if [[ $(uname -m) == "aarch64" ]]; then \
194+
FVP_LINK="_armv8l"; \
195+
fi; \
196+
wget -qO - https://developer.arm.com/-/media/Arm%20Developer%20Community/Downloads/OSS/FVP/Corstone-320/FVP_Corstone_SSE-320_11.27_25_Linux64${FVP_LINK}.tgz \
197+
| tar -xz -C /tmp/arm-ecosystem-fvp; \
198+
cd /tmp/arm-ecosystem-fvp && ./FVP_Corstone_SSE-320.sh --i-agree-to-the-contained-eula --no-interactive -q; \
199+
rm -rf /tmp/arm-ecosystem-fvp
200+
ENV PATH="/home/ubuntu/FVP_Corstone_SSE-320/models/Linux64_armv8l_GCC-9.3:/home/ubuntu/FVP_Corstone_SSE-320/models/Linux64_GCC-9.3:${PATH}"
201+
ENV LD_LIBRARY_PATH=/home/ubuntu/FVP_Corstone_SSE-320/python/lib
202+
189203
# Install uncrustify
190204
# With ubuntu 22.04, the version of uncrustify installed is 0.72.0+dfsg1-2.
191205
# However, we need the version 0.69.0. Therefore, build and install it manually.

0 commit comments

Comments
 (0)