From patchwork Thu Mar 26 18:27:46 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 2060 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=1774549682; bh=IKcEMbBs/F7kMDn1R9KloamKQLLfdTUrc/iq4t9v/go=; 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=spVz8eNfkZGRnh73Q1Z9cp7Q4NN+FRxotpoHlPkYq+dKUJCn5BOTPiHXEXksyQEO1 DIr3oFAxmNTgpzmsAzrUYQWC0IL6bm0uZm0PFuJPhWYexnaw02S8LiE7OYhoHemafx KB/77CLkBX6/gfLG4Zju2L1/I/BqNTjkc/zAgsIOrxjry9Y7DHMVFFOqht6ubWGTsa u5ow3PbSx/yn5ZJL9t1vBn8axpiYVZRYl1aDtegffL8Ydw21BBoFM1QgM9EOVCWpCN Ztz+IRJlRYWerIBgN46RABsAVcsM4leEnPt/2axhK9zAuL+URy0hezpRBCYZgOx5lM SzAzTPTLxmjNA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 93C6F6A278 for ; Thu, 26 Mar 2026 12:28:02 -0600 (MDT) 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 bwL1P0ZAi5cK for ; Thu, 26 Mar 2026 12:28:02 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1774549680; bh=IKcEMbBs/F7kMDn1R9KloamKQLLfdTUrc/iq4t9v/go=; 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=fgVHmTjy4syx5I0RwKDXPa6U/vyxNfYhVFOpWf2bq32ZEM3VThWvFvbC+3w7dmspJ 0mrKfxEfNS/ZIyPNmXucNbtVuewbNh1050/TpP/kgfSJlSbfa7bElnzom/MZbrmO0l GAmMYD2kmktxi/mM2toPGK+z2qg1okWmgv2EpThOVD6jL97zibz8wzynDlbZoFD/wK aswLF13UdkikMLxRfGLekhIlyvlZIB6Q5TmAw0lR9AVMyauSucLnm4o12+I9Nkr6Py DTEJ6+s52rkjknC6+r6FiCG+rqCpkZ1MVau1X0l6h15VuarYnk8aAs5aN+UguV92qj 9UHqEbLNtrSYA== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 939BC6A273 for ; Thu, 26 Mar 2026 12:28:00 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1774549679; bh=NYx4tYPFeSsqwI+10uSB3Je9KukMitRDnA4hdNvDhAQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UL6KdPEDWy/AagqSuOaCcFkFKlqvKVYUGEJpu97QfFw7bANufusbTVRBWYnu8mwdS +W+jidWtR9q7EOTTjgt5QxU8EarY04W4F/b+Lv+NxvczagjEFaYnY9Y86UhH5yBE8g CEXfbaXBL6kF0MJ088Pge59zzCv+qegMrqXMi3EhJtFl5N/4K+7GsjqMXUV35w1P6L S1tK2FqW3Q2m68dHdwpx/ZsxNFh9dXviEVmAgMNYw+7kpTivXSDu/AO0soHhwbSK3E EZ/gXfDlejAjWxnJQTlbL8DI08fJPo+UHArzvVA4lcr3kuGaiRGxdZ3nzs0R98HH53 wDPyTN648Y/7w== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 67E716A253; Thu, 26 Mar 2026 12:27:59 -0600 (MDT) 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 arsE8Yl6m2Rs; Thu, 26 Mar 2026 12:27:59 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1774549679; bh=EPWuyfof26rb0bsrYdnTf3g7JKDnMjaNvGQbXWTx/30=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=h7Fswkwvs+mWtOZLWeMb9iTmvJSVs929fvaJ4KJegQRTIzd/2Fe/v6dzVXi6HhQiO IYMv2xS6H1Kpm8X55C9pZP8eZll3jnPwfeMfmMUTIFNC2Fcuc5X7qcg1/MZzAOlvEE 0OfiEy8v2YfK5KiagEdqlZqQ1T9ZT14K33p9MYaU1Rdnuj80Nn7Kaa/qST4upCmXW0 gJ8zqIazUxubI3uM7YvIAtCef9GBZRhjk1YJSkJKE5J3y64U9vj7nIQ4eRzU8G8fUH nuJZFnLHp5ecw1ej1GqPRa7qMt19hsAdJYPgUcQRoPKGgQOVi/lv6h4BarM17go4iX pmsHntNWKpPcg== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id DCD4D680C0; Thu, 26 Mar 2026 12:27:58 -0600 (MDT) From: Simon Glass To: U-Boot Concept Date: Thu, 26 Mar 2026 12:27:46 -0600 Message-ID: <20260326182749.843755-2-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260326182749.843755-1-sjg@u-boot.org> References: <20260326182749.843755-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: AVANVQ772ALN4C6QEP3KPO5SOFL3ZBON X-Message-ID-Hash: AVANVQ772ALN4C6QEP3KPO5SOFL3ZBON 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: Simon Glass X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 1/2] debian: Drop the uboot.elf target from qemu builds 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 The stripped ELF copy of u-boot is not needed in the package. Drop it from all qemu platform targets, remove the copy/strip logic from rules and the associated lintian overrides. Signed-off-by: Simon Glass --- debian/rules | 6 ------ debian/targets.mk | 16 ++++++++-------- debian/u-boot-concept-qemu.lintian-overrides | 8 +------- 3 files changed, 9 insertions(+), 21 deletions(-) diff --git a/debian/rules b/debian/rules index d6ece3f42fc..a66b9b826ab 100755 --- a/debian/rules +++ b/debian/rules @@ -71,12 +71,6 @@ define build_template CROSS_COMPILE=$(or $($(platform)_CROSS_COMPILE),$(CROSS_COMPILE)) \ $($(platform)_assigns) - ifneq (,$(filter uboot.elf,$($(platform)_targets))) - cp -u debian/build/$(platform)/u-boot debian/build/$(platform)/uboot.elf - # Strip the ELF binary - $($(platform)_CROSS_COMPILE)strip --remove-section=.comment --remove-section=.note \ - debian/build/$(platform)/uboot.elf - endif # Upstream generates executable targets (last checked with 2020-10). chmod -x $(addprefix debian/build/$(platform)/,$($(platform)_targets)) diff --git a/debian/targets.mk b/debian/targets.mk index e7ff2369e5a..ccd10361a49 100644 --- a/debian/targets.mk +++ b/debian/targets.mk @@ -5,35 +5,35 @@ u-boot-concept-qemu_platforms += qemu-ppce500 qemu-ppce500_CROSS_COMPILE := powerpc-linux-gnu- - qemu-ppce500_targets := u-boot.bin uboot.elf + qemu-ppce500_targets := u-boot.bin u-boot-concept-qemu_platforms += qemu-riscv64 qemu-riscv64_CROSS_COMPILE := riscv64-linux-gnu- - qemu-riscv64_targets := u-boot.bin uboot.elf + qemu-riscv64_targets := u-boot.bin u-boot-concept-qemu_platforms += qemu-riscv64_smode qemu-riscv64_smode_CROSS_COMPILE := riscv64-linux-gnu- - qemu-riscv64_smode_targets := u-boot.bin uboot.elf + qemu-riscv64_smode_targets := u-boot.bin u-boot-concept-qemu_platforms += qemu-x86 qemu-x86_CROSS_COMPILE := i686-linux-gnu- - qemu-x86_targets := u-boot.bin u-boot.rom uboot.elf + qemu-x86_targets := u-boot.bin u-boot.rom u-boot-concept-qemu_platforms += qemu-x86_64 qemu-x86_64_CROSS_COMPILE := x86_64-linux-gnu- - qemu-x86_64_targets := u-boot.bin u-boot.rom uboot.elf + qemu-x86_64_targets := u-boot.bin u-boot.rom u-boot-concept-qemu_platforms += qemu-x86_64_nospl qemu-x86_64_nospl_CROSS_COMPILE := x86_64-linux-gnu- - qemu-x86_64_nospl_targets := u-boot.bin u-boot.rom uboot.elf + qemu-x86_64_nospl_targets := u-boot.bin u-boot.rom u-boot-concept-qemu_platforms += qemu_arm qemu_arm_CROSS_COMPILE := arm-linux-gnueabihf- - qemu_arm_targets := u-boot.bin uboot.elf + qemu_arm_targets := u-boot.bin u-boot-concept-qemu_platforms += qemu_arm64 qemu_arm64_CROSS_COMPILE := aarch64-linux-gnu- - qemu_arm64_targets := u-boot.bin uboot.elf + qemu_arm64_targets := u-boot.bin # u-boot-concept-efi (Architecture: all) diff --git a/debian/u-boot-concept-qemu.lintian-overrides b/debian/u-boot-concept-qemu.lintian-overrides index 6959339f648..8728872964a 100644 --- a/debian/u-boot-concept-qemu.lintian-overrides +++ b/debian/u-boot-concept-qemu.lintian-overrides @@ -1,10 +1,4 @@ -# These bootloaders need to be statically linked. -u-boot-concept-qemu binary: statically-linked-binary [*usr/lib/u-boot-concept/*/uboot.elf*] - -# These are bootloader binaries, and have no external dependency information -u-boot-concept-qemu binary: shared-library-lacks-prerequisites [*usr/lib/u-boot-concept/*/uboot.elf*] - u-boot-concept-qemu: description-synopsis-starts-with-article # These are binary firmware blobs -u-boot-concept-qemu binary: arch-independent-package-contains-binary-or-object [*usr/lib/u-boot-concept/*/uboot.elf*] +u-boot-concept-qemu binary: arch-independent-package-contains-binary-or-object [*usr/lib/u-boot-concept/*] From patchwork Thu Mar 26 18:27:47 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 2061 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=1774549682; bh=m+9gETrYszzx7g2/dPzn3pD5cTBQjKtI+0pYFRdBAA0=; 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=w2k1hwItqV9Wt6OByRFolcKkR/fos13gI9Mvs0+HfMnfLwOT8bC6MNpBZ35XovbZR 6CRxOzoZwbXz1fmt6Be4YPF7ZsPN0wNdV+dL+uzEsYZWyrqA58VJ0OgaeQCSe4N1av hvt+Lcqm0alczBjnPMb3KhFuUxsVZpNVwwbPHG4lbBXypYv0NDFk5z4MSFpJIGVw5F XXntqon/k8sSoS7RBez/56QsoEy5WshGAXVTccDkqHG29Z4+/cvwUAgZKd03Iw2p8i SoX0Y2fBA7KkaMDvLMhLL56xLKxhOmh64UNEf5uvHgne7+ibbLXz4nCpwROHadAfZh 6HE/jy0l//yuA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id E505F6A26E for ; Thu, 26 Mar 2026 12:28:02 -0600 (MDT) 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 c96pFLCvjv5r for ; Thu, 26 Mar 2026 12:28:02 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1774549682; bh=m+9gETrYszzx7g2/dPzn3pD5cTBQjKtI+0pYFRdBAA0=; 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=w2k1hwItqV9Wt6OByRFolcKkR/fos13gI9Mvs0+HfMnfLwOT8bC6MNpBZ35XovbZR 6CRxOzoZwbXz1fmt6Be4YPF7ZsPN0wNdV+dL+uzEsYZWyrqA58VJ0OgaeQCSe4N1av hvt+Lcqm0alczBjnPMb3KhFuUxsVZpNVwwbPHG4lbBXypYv0NDFk5z4MSFpJIGVw5F XXntqon/k8sSoS7RBez/56QsoEy5WshGAXVTccDkqHG29Z4+/cvwUAgZKd03Iw2p8i SoX0Y2fBA7KkaMDvLMhLL56xLKxhOmh64UNEf5uvHgne7+ibbLXz4nCpwROHadAfZh 6HE/jy0l//yuA== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 548F06A26F for ; Thu, 26 Mar 2026 12:28:02 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1774549680; bh=p0LMy5UKiBCmC/Tu+1YUwoFYfKmhhSC9YE7gRC1+Vl4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QKzRfi6satEi2qUXZdL0bPCSj3fQLUoa+eCKCf7XDh5f4zkRDYqGmHL4FFF5koSOs ffH1oN6H/avahS4INmTZeipuvWrT002Lju/+nkYp06wEowNxM+G3o47ypHH1Su5518 CUav8bbeTG5V9hF7yUcC4O5tsfdPxLYZ88NZBEcap9jLKSXRKJiln//MXOUnplNvVs r9azCM7jDfx+7j4b/ucLbEGZzzCNg65jVBsfBhqqfCy292oH59r0ROLA9nHcbk6DAI QjBSK9PiGpbSAlh7GxCG0Cx4tUOcqqZ5FKmbVseOEITWgK2PSli/2iS91APYG7rS0j QwvFsLIgncO/w== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 2BC026A26B; Thu, 26 Mar 2026 12:28:00 -0600 (MDT) 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 eFN5nP2xq0Mv; Thu, 26 Mar 2026 12:28:00 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1774549679; bh=NQjnOGltWOro8ubg38ASL3pfK+VqVjqbbhqhPwXO+Ow=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YUU7I7hD2pR7FQM3LuWFpry+17AObK6UFq8kdnbPf2PCHAkrMS+KQvyBEmRvXVqqR HrGC3jDEe3zxyAX736PXm30SAqgrDCLMBz9rJ+y2KTpLmjCJaaBrxpdEewzkU+wGLa G/yprp/TZ/Xmj/4qDi895WfiFCOG878ysEIajWsrDuoF2mQ1HXk72CWlOqslpcqKAv DKPv6I8ce3SSbz+uIr4F17KZT8X/VYSmv5BoxEIqnYOh76Dui9O7ZU2rTKPCsXhWE1 ay/P+pno1iUC2ini0ptUMj2n5qLBzpCGKOaEfK6RLOkluS/39Bm9CPgc3aY7PHANgd B1xskW4ySmirw== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id A78F5680C0; Thu, 26 Mar 2026 12:27:59 -0600 (MDT) From: Simon Glass To: U-Boot Concept Date: Thu, 26 Mar 2026 12:27:47 -0600 Message-ID: <20260326182749.843755-3-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260326182749.843755-1-sjg@u-boot.org> References: <20260326182749.843755-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: CWA5IEZEQA3WBXW2DWSFXEF7SSXRVNPA X-Message-ID-Hash: CWA5IEZEQA3WBXW2DWSFXEF7SSXRVNPA 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: Simon Glass X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 2/2] debian: Drop u-boot.bin from x86 qemu targets 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 The x86 qemu builds only need u-boot.rom, since that is what qemu loads via the -bios option. Signed-off-by: Simon Glass --- debian/targets.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/targets.mk b/debian/targets.mk index ccd10361a49..d7c4f7f867f 100644 --- a/debian/targets.mk +++ b/debian/targets.mk @@ -17,15 +17,15 @@ u-boot-concept-qemu_platforms += qemu-x86 qemu-x86_CROSS_COMPILE := i686-linux-gnu- - qemu-x86_targets := u-boot.bin u-boot.rom + qemu-x86_targets := u-boot.rom u-boot-concept-qemu_platforms += qemu-x86_64 qemu-x86_64_CROSS_COMPILE := x86_64-linux-gnu- - qemu-x86_64_targets := u-boot.bin u-boot.rom + qemu-x86_64_targets := u-boot.rom u-boot-concept-qemu_platforms += qemu-x86_64_nospl qemu-x86_64_nospl_CROSS_COMPILE := x86_64-linux-gnu- - qemu-x86_64_nospl_targets := u-boot.bin u-boot.rom + qemu-x86_64_nospl_targets := u-boot.rom u-boot-concept-qemu_platforms += qemu_arm qemu_arm_CROSS_COMPILE := arm-linux-gnueabihf-