From patchwork Thu Feb 19 19:21:23 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1899 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1771528917; bh=byFjt7hnlFfM4CREaFUYQj1gpDpmBDt7sB8KLh//LbM=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=D/tGoM9CncSLQ5QwRslzQWmxtLiqZAH10DZgc+eaX/dk1gtTmA88czOm+txPhMBXV ImTzeNWcM6rRsR1f/wAIhqtoaVTnVoOuDJQu4pE/7XgUo7qzkZZ4peJO23gCsNlwaK RsCXOiEBQDjsqcSFz33WzF+Z/N9XAajZ/OUt6dV6nZienYxIUWwmPvzKxeUmXkXU4m lMyBya4NlN2kLEuXn84EXQguXf/Yr5WPpmw/kc0crrDiQWf0Yl22Crh8iLcQkhKKXi EdBWPe7PwXE2am5qdjs9wrx+raBl47PPIjsJMYNq8wjc0Jd3Sb3o4caskWE5ESjrO1 x9tHUz3GeADWw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id CBB0269C7C for ; Thu, 19 Feb 2026 12:21:57 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id d94lazmb1t6S for ; Thu, 19 Feb 2026 12:21:57 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1771528917; bh=byFjt7hnlFfM4CREaFUYQj1gpDpmBDt7sB8KLh//LbM=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=D/tGoM9CncSLQ5QwRslzQWmxtLiqZAH10DZgc+eaX/dk1gtTmA88czOm+txPhMBXV ImTzeNWcM6rRsR1f/wAIhqtoaVTnVoOuDJQu4pE/7XgUo7qzkZZ4peJO23gCsNlwaK RsCXOiEBQDjsqcSFz33WzF+Z/N9XAajZ/OUt6dV6nZienYxIUWwmPvzKxeUmXkXU4m lMyBya4NlN2kLEuXn84EXQguXf/Yr5WPpmw/kc0crrDiQWf0Yl22Crh8iLcQkhKKXi EdBWPe7PwXE2am5qdjs9wrx+raBl47PPIjsJMYNq8wjc0Jd3Sb3o4caskWE5ESjrO1 x9tHUz3GeADWw== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id B730069C77 for ; Thu, 19 Feb 2026 12:21:57 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1771528916; bh=3KYGdDzDrF6BjFmUZUR76LH2KtfuT1SR46QYx8s7t4k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=V0PhoPMsR0z6jWLDUqHe3Fya0V9LGD6vlEJVlW4rmEy7hdiRfh7qsNSK0cElI8Dfw cXDNo9oZaBu//wTd0AXkGfHQX5gZMXshbTmI29McZNQi0BVgPTA39jOjwuJi99IEEm pWG1uzK3KMJgnqJjES0+xUvd0i9DgLjsCDtLosWPxHyFZpfi0qIP6zj36Ucjh6L2XY 28azNA8ZqamUbyb+Xc80TIBecHNhh9tpCMqij3PTCAJcK7NA/JVUtds7yDtCWc/l39 dVY8Sy2obWAjiN80t8yvB3k7A8S4IVlG+96IzDzUahDeQs1GiHasD9zQv+AyBnl/k5 z3MPVTmx6WBqw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 99FD769C73; Thu, 19 Feb 2026 12:21:56 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id ktd5Li49m4VA; Thu, 19 Feb 2026 12:21:56 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1771528912; bh=DtkPwpJN5ouS/Cpywe1Vr6urzFtDikp0gE16koP9PAQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iBSLcuMpMPFWdd2ypPXj8GkAU4zXrDLsr6SMb0Hlk272+i8qkQuURmk2pvncrZdvn J7HtpolZrOQDbdLE+9mxmglgPpadBDZIueH7/a9tPHhYwrq1nqrXx2NAGNR8xaguyb F+122AfitpI8EAV6+JvFNFVLRHdbTcrqdGT53Uxk+DYLa+eZbE+ztx5aFNwyOiVk77 VZf9T0Gljrwr6k6zCmkhkKG8SAfJ7nGOTHQpGNlMDdsqwbpsjJgI+BXuU3B4LAuAI1 u9/PqsPIgnROkjXp4+G3NObqrIKhZVVIABrfFmLHuDIc/NErcNXHsmTvfJ/aWkfnI1 cy03w6IU0b4pQ== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 070D469C01; Thu, 19 Feb 2026 12:21:51 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Thu, 19 Feb 2026 12:21:23 -0700 Message-ID: <20260219192130.737116-3-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260219192130.737116-1-sjg@u-boot.org> References: <20260219192130.737116-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: 54DTI4PJEUQHDQPKDTNSJB2ASBDVKHVA X-Message-ID-Hash: 54DTI4PJEUQHDQPKDTNSJB2ASBDVKHVA X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Tom Rini , Harrison Mutai , Ilias Apalodimas , Simon Glass X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 2/5] Docker, CI: Add vexpress_fvp / vexpress_fvp_bloblist support List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Tom Rini This adds the vexpress_fvp and vexpress_fvp_bloblist platforms to the list of platforms we test via emulator in CI. In order to do this we need to first have our container runtime have TF-A builds for the vexpress_fvp platform, both with and without transfer list support as well as installing "telnet" so that we can access console. In the CI files we check for the existence of /opt/tf-a/${TEST_PY_BD} and if found, copy bl1.bin and fip.bin to /tmp and set the variables so that we can later run FVP to run. Note that we currently disable the hostfs (semihosting) tests as they trigger a bug in FVP. This has been reported upstream, and can be enabled when fixed. Reviewed-by: Harrison Mutai Acked-by: Ilias Apalodimas Signed-off-by: Tom Rini (cherry picked from commit d75998b476de439a05b2f7ec95d426410bcaae18) Signed-off-by: Simon Glass --- tools/docker/Dockerfile | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index 0f0c290c232..b804df03e16 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -87,6 +87,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ help2man \ iasl \ imagemagick \ + inetutils-telnet \ iputils-ping \ libconfuse-dev \ libgit2-dev \ @@ -234,11 +235,19 @@ RUN git clone https://gitlab.com/qemu-project/qemu.git /tmp/qemu && \ # Build fiptool RUN git clone https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git /tmp/tf-a && \ cd /tmp/tf-a/ && \ - git checkout v2.10.0 && \ - cd tools/fiptool && \ - make -j$(nproc) && \ - mkdir -p /usr/local/bin && \ - cp fiptool /usr/local/bin && \ + git checkout v2.12.0 && \ + make CROSS_COMPILE=/opt/gcc-${TCVER}-nolibc/aarch64-linux/bin/aarch64-linux- \ + PLAT=fvp BL33=/dev/null -j$(nproc) all fip && \ + mkdir -p /usr/local/bin /opt/tf-a/vexpress_fvp && \ + cp tools/fiptool/fiptool /usr/local/bin && \ + cp build/fvp/release/fip.bin build/fvp/release/bl1.bin \ + /opt/tf-a/vexpress_fvp/ && \ + rm -rf build/fvp && \ + make CROSS_COMPILE=/opt/gcc-${TCVER}-nolibc/aarch64-linux/bin/aarch64-linux- \ + PLAT=fvp BL33=/dev/null TRANSFER_LIST=1 -j$(nproc) all fip && \ + mkdir -p /opt/tf-a/vexpress_fvp_bloblist && \ + cp build/fvp/release/fip.bin build/fvp/release/bl1.bin \ + /opt/tf-a/vexpress_fvp_bloblist/ && \ rm -rf /tmp/tf-a # Download the Arm Architecture FVP platform. This file is double compressed.