From mboxrd@z Thu Jan 1 00:00:00 1970 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 C0B02C05027 for ; Sun, 19 Feb 2023 22:04:06 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EA4DA85928; Sun, 19 Feb 2023 23:03:23 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject 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="GjA36F5I"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A720E8580F; Sun, 19 Feb 2023 23:02:23 +0100 (CET) Received: from xtrwhxbr.outbound-mail.sendgrid.net (xtrwhxbr.outbound-mail.sendgrid.net [167.89.10.181]) (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 476B9858E1 for ; Sun, 19 Feb 2023 23:02:09 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject 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=galmiRvSae3e3Wak2xJIMiT0ZavdpR/lmbR5XvYEZnc=; b=GjA36F5IkXW9C2DcqkQYK/88b75Badz77d6A+NmsxafGNlRGMcuHzieibk0V9Mh7wn3T mnDSodwGGYtyCgF+s7na2v6ImWiYR/FY/SYGsOXJx0XCp0I2GwvGSH0x2SdUj75lnBOPbV VdMfOlZc4ATl3VdCccBDYwJGB8B3J0o6f9XGETRXSdkYiCrgMxLhMCD2U5/ur3IHocxqyc Pf9lby+EP37sM/gD0D6jFwdiD+yCi2ViXU6PCRJ0jbP8r5C6lgpCAlfImd1BiAyX17/Xry 62NAOzCW2zl4AHsNPGo1VFoZpz8kBPLLNTQBKHKkTnYwYWSnOstMXrBTSEivQu+A== Received: by filterdrecv-695cbfbb87-4gblt with SMTP id filterdrecv-695cbfbb87-4gblt-1-63F29C5E-85 2023-02-19 22:02:07.028142292 +0000 UTC m=+788671.100324055 Received: from bionic.localdomain (unknown) by geopod-ismtpd-canary-0 (SG) with ESMTP id Nb9RRp4xQWmMde1GWu8RTQ Sun, 19 Feb 2023 22:02:06.822 +0000 (UTC) From: Jonas Karlman Subject: [PATCH 9/9] Makefile: Show binman missing blob message Date: Sun, 19 Feb 2023 22:02:07 +0000 (UTC) Message-Id: <20230219220158.4160763-10-jonas@kwiboo.se> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230219220158.4160763-1-jonas@kwiboo.se> References: <20230219220158.4160763-1-jonas@kwiboo.se> MIME-Version: 1.0 X-SG-EID: =?us-ascii?Q?TdbjyGynYnRZWhH+7lKUQJL+ZxmxpowvO2O9SQF5CwCVrYgcwUXgU5DKUU3QxA?= =?us-ascii?Q?fZekEeQsTe+RrMu3cja6a0h=2F=2FjDTHQXcOZTJgCK?= =?us-ascii?Q?BvGmF5l24zgElnh5pc8BLRMWfa7OgqwF=2FAr+dlw?= =?us-ascii?Q?aAJjWcRvul+FOdFLZ8WUJcV7VjpyPYGcwQ2AGQn?= =?us-ascii?Q?K8BIrRiY=2FSrpFGS7F5mzsL33dSJO9EjwI9lOXaF?= =?us-ascii?Q?T7Ivzj46vO0ICiiKvuxecLzc88RlT0pE=2Fxr6Cq?= To: Simon Glass , Alper Nebi Yasak Cc: Pali =?iso-8859-1?b?Um9o4XI=?= , Heinrich Schuchardt , Marek =?iso-8859-1?b?QmVo+m4=?= , Quentin Schulz , Stefan Herbrechtsmeier , 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.6 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. This changes the following error message: 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 58f8c7a35335..c2860824f6f2 100644 --- a/Makefile +++ b/Makefile @@ -1326,7 +1326,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.39.2