[Concept,1/5] Dockerfile: Download the Arm FVP and extract it

Message ID 20260219192130.737116-2-sjg@u-boot.org
State New
Headers
Series docker: Update Docker image and fix trace test |

Commit Message

Simon Glass Feb. 19, 2026, 7:21 p.m. UTC
  From: Tom Rini <trini@konsulko.com>

There are some reference platforms from Arm which are not found in QEMU
but instead in the FVP tool. As we can make use of this in CI later on,
download and extract it in our Dockerfile today.

Signed-off-by: Tom Rini <trini@konsulko.com>
(cherry picked from commit 01fa1b18ae68381d9d462be66df3943f41426874)
Signed-off-by: Simon Glass <simon.glass@canonical.com>
---

 tools/docker/Dockerfile | 3 +++
 1 file changed, 3 insertions(+)
  

Patch

diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index a30b670b300..0f0c290c232 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -241,6 +241,9 @@  RUN git clone https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git /tmp/t
 	cp fiptool /usr/local/bin && \
 	rm -rf /tmp/tf-a
 
+# Download the Arm Architecture FVP platform. This file is double compressed.
+RUN wget -O - https://developer.arm.com/-/cdn-downloads/permalink/FVPs-Architecture/FM-11.28/FVP_Base_RevC-2xAEMvA_11.28_23_Linux64.tgz | gunzip -dc | tar -C /opt -x
+
 # Build genimage (required by some targets to generate disk images)
 RUN wget -O - https://github.com/pengutronix/genimage/releases/download/v14/genimage-14.tar.xz | tar -C /tmp -xJ && \
 	cd /tmp/genimage-14 && \