diff --git a/Dockerfile.ci b/Dockerfile.ci index 665baa8..5bdc749 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -18,6 +18,8 @@ ENV SPARSE_VERSION=$SPARSE_VERSION ARG PROTOC_VERSION=21.7 ENV PROTOC_VERSION=$PROTOC_VERSION ARG WGET_ARGS="-q --show-progress --progress=bar:force:noscroll" +ARG FVP_BASE_REVC_VERSION=11.24_11 +ARG FVP_BASE_AEMV8R_VERSION=11.24_11 # Install Doxygen (x86 only) @@ -92,6 +94,19 @@ RUN mkdir -p /opt/toolchains && \ zephyr-sdk-${ZSDK_VERSION}/setup.sh -t all -h -c && \ rm zephyr-sdk-${ZSDK_VERSION}_linux-${HOSTTYPE}.tar.xz +# Install FVP +RUN mkdir -p /opt/fvps && \ + cd /opt/fvps && \ + wget ${WGET_ARGS} https://developer.arm.com/-/media/Files/downloads/ecosystem-models/FVP_Base_RevC-2xAEMvA_${FVP_BASE_REVC_VERSION}_Linux64.tgz && \ + tar xf FVP_Base_RevC-2xAEMvA_${FVP_BASE_REVC_VERSION}_Linux64.tgz && \ + ln -s /opt/fvps/Base_RevC_AEMvA_pkg/models/Linux64_GCC-9.3/FVP_Base_RevC-2xAEMvA /usr/local/bin && \ + rm FVP_Base_RevC-2xAEMvA_${FVP_BASE_REVC_VERSION}_Linux64.tgz && \ + wget ${WGET_ARGS} https://developer.arm.com/-/media/Files/downloads/ecosystem-models/FVP_Base_AEMv8R_${FVP_BASE_AEMV8R_VERSION}_Linux64.tgz && \ + tar xf FVP_Base_AEMv8R_${FVP_BASE_AEMV8R_VERSION}_Linux64.tgz && \ + ln -s /opt/fvps/AEMv8R_base_pkg/models/Linux64_GCC-9.3/FVP_BaseR_AEMv8R /usr/local/bin && \ + rm FVP_Base_AEMv8R_${FVP_BASE_AEMV8R_VERSION}_Linux64.tgz && \ + apt-get install -y telnet xterm + # Clean up stale packages RUN apt-get clean -y && \ apt-get autoremove --purge -y && \