From patchwork Fri Feb 20 21:32:26 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1916 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=1771623175; bh=WJgNvsmqaKeVZKXFF66ozAGVh8h5SBNgwiNXO0Cdv7g=; 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=WRWJPcnoAn4GCJ/Tm3aK22Bd1oKJclovUsLH+zGbq+aJHqDuy8trC66cZ4bwbvnSZ eW+m1LO0JZ7AuvKopsjy/n/YaB528QZ/vz0J/W21XHNnIgueANqm6bEzAJXOsXG+v3 rHMJWp7Yoa8LpaKCJmdejw1kWMpsT1uWeUnNrvFItYFdL4fQbr3hvDCa12gPYUKthy pePmFbXrhiVafVf2omrP+mLWxbcQnaePYZUkuvi3HhymybihkLxa2rziHReBIJ0FEp I1is3t88UDd9l0pp+FJZ+hL9nRPSGujc+fn9O6g6hvS/flEaccJKg5pS56H4/zblNa kpnZnhup4USsQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 0A24469CCB for ; Fri, 20 Feb 2026 14:32:55 -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 7VUmgq9gabZW for ; Fri, 20 Feb 2026 14:32:54 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1771623174; bh=WJgNvsmqaKeVZKXFF66ozAGVh8h5SBNgwiNXO0Cdv7g=; 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=PEbALBX9W0xbTyQ3MKUgrSZEo59FqsCgq9AF22fGrMjZDL+xJRHBlZ4S52MPpymMr 7bGQk8RkTcFGUxFfQkhI0Yoy6WdOJxTTBBDFolIk54zdxegYicW3T8zGx7UgZ6Jv4t YNbnDQyHI51Xteoh6NJaVLEusPEEH6lPZf1SnjqJ9eNwQckyK0G48KLSd08uX0JfYw LtB7zJnKU0wlQhNoMSvGCcP/mhlv6XIWGaRuYWWcdUFTp/X968kfAuGIQfTtz6jYaw T3auvvOipByflIVKYHR5NXvpuDM3LeVZOegPtO+csEiT1quoFv+/R61025vysZN1Ea FodR0gXJ7Ed/Q== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id EDD7369CC9 for ; Fri, 20 Feb 2026 14:32:54 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1771623173; bh=sTkhVivJ+vBQUbTUn704kY2Cl3Skinr59qOmfinzhZk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A8jFfbXMHe8L02zvBVo1Vr73sOYQd7c40NPn1+u3CbvX89wz6lAUdrzP2opwFqzDX Sra0+eJFX9YH952J740ciO/ElhIpre/T3eJExcJ9XMqcj99Pel4Tk4dAi60FOCCMna YZ1glXsPQVU/2nnW/ZltEirWIGu7FR32JCmgn8PNnZ+sP2AJizrvUKJGQLErzEYiby 0KuMXAG2IOqoyJa1oVC1C6DWe2GywD01LlJWfi8sSQKCE1tJ/0x+96EWXghNzs32ua LdN7uWbyNrR5qoQABhNuMmnPFuO4VTYxXLAIcf9b2vjEq8+BAePjBLlj6Rp7pVMcVd PHGFM/7OytqZg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 7115869CB2; Fri, 20 Feb 2026 14:32:53 -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 wL10-sHtOp7o; Fri, 20 Feb 2026 14:32:53 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1771623169; bh=QaWMCuSjWfG7A6bm2LGw8HvUrtvWiWS0S9RvwxETrUw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=C8SMEUcJw3FzrD9ej1/oIf+mf+Uo3EShYbGHYBc8vrmdXmE65c+d77JDwcQRr40vo KhpqzTFrIJRMBU+tOn5z9xK2qYTiVHqE4gV7qtwStaINfvbmUIz1vfiIct0BOGhIgs jp6U4zjiEYxh7ZqnbZVdXaUMyFlNRS6/nhZYQ/CNoou5BJiSuM2PUcvKAsxGLpCiRb 9s1UkdcQhH06BWpS4dqdlkwdj84vRHNsF/cZWeVihOdYt6pvCUaOHVYSn7NSlsgm+3 7S4qyue1H5gndatEf28/YjqHwm5hwbCafrOQ3X3/DaSpiDaiZY8qf0bqTGf+jMC5cl QpyGQWBlbvZxQ== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 685A469CC6; Fri, 20 Feb 2026 14:32:49 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Fri, 20 Feb 2026 14:32:26 -0700 Message-ID: <20260220213235.2112347-2-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260220213235.2112347-1-sjg@u-boot.org> References: <20260220213235.2112347-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: BRHP6TBDYNDBY7YFW44O73TQBJMLHS7N X-Message-ID-Hash: BRHP6TBDYNDBY7YFW44O73TQBJMLHS7N 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: Heinrich Schuchardt , Simon Glass , "Claude Opus 4 . 6" X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 1/6] docker: Install UEFI firmware packages 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: Simon Glass Install UEFI firmware packages needed to run EFI application boards under QEMU in CI: - ovmf: OVMF 64-bit firmware for efi-x86_app64 - ovmf-ia32: OVMF 32-bit firmware for efi-x86_app32 - qemu-efi-aarch64: AAVMF firmware for efi-arm_app64 - qemu-efi-riscv64: EDK2 RISC-V firmware for efi-riscv_app64 The ovmf-ia32 and qemu-efi-riscv64 packages are installed from Noble since the Jammy versions are missing or incomplete (Jammy's ovmf-ia32 only provides the secure-boot variant of the firmware, which causes a boot timeout). Co-developed-by: Claude Opus 4.6 Signed-off-by: Simon Glass --- tools/docker/Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index 90ad3708101..7aa9e0a22bd 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -118,10 +118,12 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ net-tools \ ninja-build \ openssl \ + ovmf \ picocom \ parted \ pkg-config \ python-is-python3 \ + qemu-efi-aarch64 \ python2.7 \ python3 \ python3-dev \ @@ -146,6 +148,14 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ xxd \ zip +# Install edk2 packages from Noble (not available or incomplete in Jammy) +RUN for pkg in ovmf-ia32 qemu-efi-riscv64; do \ + wget -O /tmp/${pkg}.deb \ + http://security.ubuntu.com/ubuntu/pool/universe/e/edk2/${pkg}_2024.02-2ubuntu0.7_all.deb && \ + dpkg-deb -x /tmp/${pkg}.deb / && \ + rm /tmp/${pkg}.deb; \ + done + # Make kernels readable for libguestfs tools to work correctly RUN chmod +r /boot/vmlinu*