From 5c53ee2e9e3d307f1bb0593f61ba0e699d31e32b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gergely=20Korcs=C3=A1k?= Date: Mon, 30 Sep 2024 17:05:52 +0200 Subject: [PATCH] docker: Add Corstone-320 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gergely Korcsák --- .devcontainer/Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 701b19e..ac915ba 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -186,6 +186,20 @@ RUN rm -rf /home/ubuntu/FVP_Corstone_SSE-315; \ rm -rf /tmp/arm-ecosystem-fvp 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}" +# Download and install Corstone-320 ecosystem FVP +RUN rm -rf /home/ubuntu/FVP_Corstone_SSE-320; \ + mkdir /tmp/arm-ecosystem-fvp; \ + FVP_LINK=""; \ + if [[ $(uname -m) == "aarch64" ]]; then \ + FVP_LINK="_armv8l"; \ + fi; \ + 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 \ + | tar -xz -C /tmp/arm-ecosystem-fvp; \ + cd /tmp/arm-ecosystem-fvp && ./FVP_Corstone_SSE-320.sh --i-agree-to-the-contained-eula --no-interactive -q; \ + rm -rf /tmp/arm-ecosystem-fvp +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}" +ENV LD_LIBRARY_PATH=/home/ubuntu/FVP_Corstone_SSE-320/python/lib + # Install uncrustify # With ubuntu 22.04, the version of uncrustify installed is 0.72.0+dfsg1-2. # However, we need the version 0.69.0. Therefore, build and install it manually.