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 038F9C433EF for ; Mon, 28 Mar 2022 20:59:23 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9D57084000; Mon, 28 Mar 2022 22:58:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=softathome.com 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=softathome1.onmicrosoft.com header.i=@softathome1.onmicrosoft.com header.b="p7fsZoD8"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 06BCF83F88; Mon, 28 Mar 2022 22:57:30 +0200 (CEST) Received: from FRA01-MR2-obe.outbound.protection.outlook.com (mail-mr2fra01on0618.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e19::618]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4DE6683F8E for ; Mon, 28 Mar 2022 22:57:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=softathome.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=philippe.reynes@softathome.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=af9yc139D8CnKsS8bNja74hNIfSP7iUKkzNG+IXwAxLxbzmQkcmiy7Pwaa+wT0AC9AQr4pVryjnMoXLwDSC2q09jxgFb1ATLM7ZIHHIyC7yVFd/9y7nIdJXZxHFVex325MJCCUNQAwuIFrbvZ/NG+laGC/zEDE1i/Bx5yewL/mPVAdEmpMnSfwvLRIP9+iIUP6hucPBSQAGMc7+ZORC9XqikOTrXovIx7hHgRfpkcDULow0a9ivIc/zrnHIChQpI1qwjdU1YG8l82DTtw4i6V0useOpkrQfXfDJ4+sLa7VigQV5h/ZmRzIVZzbeS/Wjy4BATuKg49F46E7zHw1GEYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=uSEioeUflM7ngagXP89JX4MK6f9zl+Ti2dQh4DaKfrI=; b=dYK4NByb9iBaeJ1zjkknwXTDik6KwT67NGouAcL38VnOXN0Lbv3lReyUFCMjNVLXfStGkuG7Lq3OVCdV4bU+Q7c5AH4+qRjCMWZrrmEt5wHaYEnFh8FmABiJJkoicfLuxD9Kf9mbp5JXP1GnGKn/gw3ojlUk0WbL2iM5CVCHvMf9urSFBV8NcCMckm85xBe6F2cAQhwxXFwebqgCoeBu6DWYoNmmRbsNGXEXclMQsExtgAByDUj7jsPZ/gy4a2gnwRq3Xp3IiJ7Ld97Ews1+Ns/M/DYkDVNdCMJHmMSXh3RzektHGabAYNXfHbl93VwQeDF6wim8wqa3kiXrTSHLKg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.6.166.170) smtp.rcpttodomain=chromium.org smtp.mailfrom=softathome.com; dmarc=bestguesspass action=none header.from=softathome.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=softathome1.onmicrosoft.com; s=selector1-softathome1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uSEioeUflM7ngagXP89JX4MK6f9zl+Ti2dQh4DaKfrI=; b=p7fsZoD8+gSOf5VJgVJcLD62KDI09FSexXh0CfoSO7/ZuPqlWZ5J3tS1vCYDn5dDcesOLDI4y+eOzGRjNzk7V06SrXMb5pTgxY3z6p1lVaiWshEao8b1/fHf5sDQxluAbhauAFF8UpNBDBmtQjR2kAgD23OJe7iz2w1mzKB6lYXRMmi15F/lE+a6iCbmwDjqsslsQfQEnb94TQ3aUn83xki84SANtI9t5JCzt0Y+aVE8CHxo49FJf821bFb1QZq1H4+fTSQgYOTJg9kOibNmmoZG+X7rRGHE9/gsLwp+qfUsW3OruqqtvLEmz3qv9aDp+3o0+6xRvtcslUoYpJtaag== Received: from MR1P264CA0031.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:2f::18) by MR1P264MB2114.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:11::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5102.16; Mon, 28 Mar 2022 20:57:14 +0000 Received: from MR2FRA01FT006.eop-fra01.prod.protection.outlook.com (2603:10a6:501:2f:cafe::b3) by MR1P264CA0031.outlook.office365.com (2603:10a6:501:2f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5102.16 via Frontend Transport; Mon, 28 Mar 2022 20:57:14 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.6.166.170) smtp.mailfrom=softathome.com; dkim=none (message not signed) header.d=none;dmarc=bestguesspass action=none header.from=softathome.com; Received-SPF: Pass (protection.outlook.com: domain of softathome.com designates 149.6.166.170 as permitted sender) receiver=protection.outlook.com; client-ip=149.6.166.170; helo=proxy.softathome.com; Received: from proxy.softathome.com (149.6.166.170) by MR2FRA01FT006.mail.protection.outlook.com (10.152.50.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5102.17 via Frontend Transport; Mon, 28 Mar 2022 20:57:13 +0000 Received: from localhost.localdomain (unknown [192.168.72.32]) by proxy.softathome.com (Postfix) with ESMTPSA id D746C20176; Mon, 28 Mar 2022 22:57:12 +0200 (CEST) From: Philippe Reynes To: sjg@chromium.org, rasmus.villemoes@prevas.dk Cc: u-boot@lists.denx.de, Philippe Reynes Subject: [PATCH v8 11/15] Makefile: provide sah-key to binman Date: Mon, 28 Mar 2022 22:57:03 +0200 Message-Id: <20220328205707.348270-12-philippe.reynes@softathome.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220328205707.348270-1-philippe.reynes@softathome.com> References: <20220328205707.348270-1-philippe.reynes@softathome.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: c99c3acc-7797-4fcb-9619-08da10fd8923 X-MS-TrafficTypeDiagnostic: MR1P264MB2114:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EnH4lCa0goL5GOgzHyZJ2dIJF5eLzzIa6m94rKPhBE88o1YpnW29XloV0BifA4NYN1h8TRHNtqlmOJDUnJBNUo5lD8lsj9QDAuartBLDj3zjMyYEYw7YLh9laJrsL+JF5W4d/TRhywo2OqKjWEkXuqhDTjU8aeptdYXrRHLv8Ucw1bFF4QZjUFySkof8yPEv7h4VnEuXKZz10O/t2maOI7RFG1sTzHgpA+p1Fhy6xQpmCh+8Yr+kstmncay7sFoRdN7hv/r3HB8pnqASoy67orxJ4oQtuKOTG8z4sd+DNuZue0EinRDZPGb+FT2EwWsa6iFqYZLDR85oNYrFbakmurCOn4+68JaXBptDyNfhPUARIW4VoNDiZenPYn7cZ4ZlfIbgDwyM0+Qy0PKFoYQ1d9LpgFBBN+oM4o+F542qOFyDecQDuh+IcU+GfVXb87KezNDiL92fybPUguNYcrWBELIeeQGRgocxQ2LyT3IM5o8jrAT/92djtgb3I7uROMqp3a1o29lafybjocr+63Zub+4m6UnaoxjxpJ65U7pVsh2CjMgCzgmMnIwk5fOagsOHOTwInICa+9fP70VLtrHdRnQuHbOkJUv/2L1ANiDHo7rnzj4KcQN+xvkU5wAsIYp31j/ZYQ7BRBp+dS84odz8lFfY9a0PxqFNw3MwzdgctanhgA+n9WswvjRU1GIwpKcHJ5C01g3gS36ifgkNqJsb1w== X-Forefront-Antispam-Report: CIP:149.6.166.170; CTRY:FR; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:proxy.softathome.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230001)(4636009)(36840700001)(40470700004)(46966006)(426003)(2906002)(26005)(6966003)(336012)(6266002)(186003)(40460700003)(1076003)(508600001)(316002)(36756003)(6666004)(86362001)(82310400004)(107886003)(2616005)(81166007)(356005)(36860700001)(8936002)(47076005)(8676002)(82960400001)(4744005)(70586007)(44832011)(70206006)(5660300002)(4326008)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: softathome.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Mar 2022 20:57:13.9302 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c99c3acc-7797-4fcb-9619-08da10fd8923 X-MS-Exchange-CrossTenant-Id: aa10e044-e405-4c10-8353-36b4d0cce511 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=aa10e044-e405-4c10-8353-36b4d0cce511; Ip=[149.6.166.170]; Helo=[proxy.softathome.com] X-MS-Exchange-CrossTenant-AuthSource: MR2FRA01FT006.eop-fra01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MR1P264MB2114 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.5 at phobos.denx.de X-Virus-Status: Clean Set the variable pre-load-key-path with the shell variable PRE_LOAD_KEY_PATH that contain the keys path (used for signature). This variable pre-load-key-path is provided to binman. Reviewed-by: Simon Glass Signed-off-by: Philippe Reynes --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 6998388884..da57315259 100644 --- a/Makefile +++ b/Makefile @@ -1335,6 +1335,7 @@ cmd_binman = $(srctree)/tools/binman/binman $(if $(BINMAN_DEBUG),-D) \ -a tpl-bss-pad=$(if $(CONFIG_TPL_SEPARATE_BSS),,1) \ -a spl-dtb=$(CONFIG_SPL_OF_REAL) \ -a tpl-dtb=$(CONFIG_TPL_OF_REAL) \ + -a pre-load-key-path=${PRE_LOAD_KEY_PATH} \ $(BINMAN_$(@F)) OBJCOPYFLAGS_u-boot.ldr.hex := -I binary -O ihex -- 2.25.1