Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B6F88EB64DD for ; Tue, 18 Jul 2023 20:36:03 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D124686729; Tue, 18 Jul 2023 22:35:03 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kwiboo.se Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kwiboo.se header.i=@kwiboo.se header.b="rXnOoFUq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 881FA86717; Tue, 18 Jul 2023 22:34:44 +0200 (CEST) Received: from s.wrqvtzvf.outbound-mail.sendgrid.net (s.wrqvtzvf.outbound-mail.sendgrid.net [149.72.126.143]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id CBFF786712 for ; Tue, 18 Jul 2023 22:34:41 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kwiboo.se Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bounces+31435339-7456-u-boot=lists.denx.de@em2124.kwiboo.se DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kwiboo.se; h=from:subject:in-reply-to:references:mime-version:to:cc: content-transfer-encoding:content-type:cc:content-type:from:subject:to; s=s1; bh=rtB02ienDSFgT9/XQqo9hSbzpVg+0mj4dYHVGejF4C4=; b=rXnOoFUqiGJ0LFjQgHtweeOAtdHjJy0GkE27zaHXE/Y6oqc6zlQRy1H+gEZ0Do0WdgKF SXS0rNbyoaMgaTofPz3A9tVDs34SSQRuauSwjkaQ+6hfvogmarP1orN9jMJ+zcC5Y9QJdA RoScljdRX+gCVBhKen9bgLttwV6GS0xw4DwO9YayfbIb+rRPmnMNtYIug03hWK6jOV0Pxg La3LwsQzEYBkUF5pUa1FI/OhO04zU/e6TC1SazNvJ8wjbYEq0vo3FmJ4mes16ouXg8dwhs tnSd4SQdvSlTeOW+LZNBT/vBPYDL0c/ydUsBcWRZ55h7uUGnPph/xODtPO+14AvQ== Received: by filterdrecv-77869f68cc-5zdvl with SMTP id filterdrecv-77869f68cc-5zdvl-1-64B6F760-8 2023-07-18 20:34:40.190761309 +0000 UTC m=+5950717.988617178 Received: from bionic.localdomain (unknown) by geopod-ismtpd-9 (SG) with ESMTP id 67uRzwXpR9KguWDG6MWiOw Tue, 18 Jul 2023 20:34:39.955 +0000 (UTC) From: Jonas Karlman Subject: [PATCH v2 7/7] Makefile: Show binman missing blob message Date: Tue, 18 Jul 2023 20:34:40 +0000 (UTC) Message-ID: <20230718203423.264341-8-jonas@kwiboo.se> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230718203423.264341-1-jonas@kwiboo.se> References: <20230718203423.264341-1-jonas@kwiboo.se> MIME-Version: 1.0 X-SG-EID: =?us-ascii?Q?TdbjyGynYnRZWhH+7lKUQJL+ZxmxpowvO2O9SQF5CwCVrYgcwUXgU5DKUU3QxA?= =?us-ascii?Q?fZekEeQsTe+RrMu3cja6a0h7e6kXe+6AOHcmS0n?= =?us-ascii?Q?8n2D=2FebgCoMnb2TNj7631rRO6v=2FurEbO55w2I+d?= =?us-ascii?Q?yIyIws93+wgMw20kN1K5V7DGDmCFPNp0119i9Ux?= =?us-ascii?Q?0k=2FCfkDnx7EiBCdXkDY=2FqN3m8+Oyp9Brfo=2FBu79?= =?us-ascii?Q?wOl5VdBqk3Dv1L3nF9jvYyeZsnlfl63JPW8SHv?= To: Simon Glass , Alper Nebi Yasak Cc: u-boot@lists.denx.de, Jonas Karlman X-Entity-ID: P7KYpSJvGCELWjBME/J5tg== Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean When binman is invoked during a build of U-Boot and an external blob is missing, the user is usually presented with a generic file not found in input path message. Invoke binman with --allow-missing so that binman can show relevant missing blob help messages. Build continue to fail with missing blobs unless BINMAN_ALLOW_MISSING=1 is used, same as before. This changes the following error message during a normal build: binman: Filename 'atf-bl31' not found in input path (...) to the following: Image 'itb' is missing external blobs and is non-functional: atf-blob /binman/itb/fit/images/atf/atf-blob (bl31.bin): See the documentation for your board. You may need to build ARM Trusted Firmware and build with BL31=/path/to/bl31.bin Signed-off-by: Jonas Karlman Reviewed-by: Simon Glass --- v2: - Collect r-b tag Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 87f9fc786e8c..7850c171a042 100644 --- a/Makefile +++ b/Makefile @@ -1334,7 +1334,7 @@ cmd_binman = $(srctree)/tools/binman/binman $(if $(BINMAN_DEBUG),-D) \ --toolpath $(objtree)/tools \ $(if $(BINMAN_VERBOSE),-v$(BINMAN_VERBOSE)) \ build -u -d u-boot.dtb -O . -m \ - $(if $(BINMAN_ALLOW_MISSING),--allow-missing --ignore-missing) \ + --allow-missing $(if $(BINMAN_ALLOW_MISSING),--ignore-missing) \ -I . -I $(srctree) -I $(srctree)/board/$(BOARDDIR) \ -I arch/$(ARCH)/dts -a of-list=$(CONFIG_OF_LIST) \ $(foreach f,$(BINMAN_INDIRS),-I $(f)) \ -- 2.41.0