From patchwork Tue Apr 24 17:46:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 134172 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp2523569lji; Tue, 24 Apr 2018 10:49:10 -0700 (PDT) X-Google-Smtp-Source: AIpwx49cYCWPnv+RTAo2UMZR/WpnO6Ee16CVaqIBGRc9EZYCTU52vMpiAbtftg2ffu3fKTDBKdQd X-Received: by 10.80.148.75 with SMTP id q11mr34817564eda.70.1524592149719; Tue, 24 Apr 2018 10:49:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524592149; cv=none; d=google.com; s=arc-20160816; b=N8T1JL4yiaO9CnoOqElZEWeIEw8W1AYkhKwEsO/WHNnwGe+H7AbzbU7QmMz2yy9S7f Y7CEt5J7ob3TJyh5nhnv1y3EcSzoMNCADkbbh5XEAxSSQZbqozUdkMI6Bqzv6FymIfGq syU5fLxeew8tdRtWf8J6DaCK0JbhTv7e7OjuZRWksJyxp6Jo3J+wOTovSLPc3LhZx7RX 5JTDI+2xklENshlmKDdIrEH2SkH/pNLqoUtgBh4ZpHz7Rb9WCshwAVH/UHHCDQeeyOVL grUTHicsQherFLZTcVLrcSgLMbuZyuYRfBPA23aetxbMK7gwsGz1IKCLGKiFjlkLwUWr Anwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:arc-authentication-results; bh=7ymHt7XOekScpxbek+CZNjUCZuYhimz/fNeetXifAaE=; b=wD2sZWlixGYW5dfGij7p2VbQfMKvgAKsxWHixdxEqO7Db4A4XLuF0CyUGKfkwvZ4+q MPD4CcdaPCymwp0+PUVa4n+Rh6B9U2dINoP/bUOPIyx1X+Kz2pCivEOfiuz+IXDb4nB1 oDoh+XoebciN1mUSgv7sfGdmpcigSoNBQimSWL+n6AVL7e1sewqWcISO1ceatukVyz9y GTxq38QyRR7zNoh5IEB2d8oebb6JspycsyMO8CBmcJMVof95Wk8AsqfRJPRiXFjWa4OC 9orrdEWad4oL/r2pLxUfyyarV0TRk62ITX66z9jv1Cl8NqEjzR5L3UwO4OVn7mVdH+Ew 4GAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=KXuy/36T; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id q27si3492106edq.244.2018.04.24.10.49.09; Tue, 24 Apr 2018 10:49:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=KXuy/36T; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.denx.de (Postfix, from userid 105) id 3F4AAC21F74; Tue, 24 Apr 2018 17:47:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 3B158C21F32; Tue, 24 Apr 2018 17:47:20 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id D7D9AC21F32; Tue, 24 Apr 2018 17:46:56 +0000 (UTC) Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by lists.denx.de (Postfix) with ESMTPS id 64108C21F79 for ; Tue, 24 Apr 2018 17:46:55 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id 66so2669895wmd.3 for ; Tue, 24 Apr 2018 10:46:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=EkPCXzOdciZFxNMHTTGHkKRoNdn6mN7y67CWCkIvazE=; b=KXuy/36Tw6AJ2h2/GIXwPUy+ndMKUm6qB55KcF5AHB1RIeVO0qv5rGDRvFBNsYnXBy Zh8vHYzvvFdMWrCpdryJc9cGfJnzDuYAcvEbw/qGLY6gCl4O7EeTmeTAN2Q0XNAiHZby 4KGX/dEt37CfoNMK3qN70WzQlzrcncnYqIzc0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=EkPCXzOdciZFxNMHTTGHkKRoNdn6mN7y67CWCkIvazE=; b=RYcF2GOjtupbmkwekOqta6Yu5KGmHexQ4tC+cv1dno0nkGV13ArIGTVdFscryy2Jvi yOTrDolF/GClCdCdOXgL+ftZ5b8kUYYcu7Jzww/LomHLFqbZWST+L6Fh4xXjpXNkYxFY VULI4F7p1+UkGpgmNHvsoFmw/XjSFPd9EfBpsAgNz+68OR56EthXGKDEdONScitaRKbd AVzGmMjzAcXirso3xBTkfK4oCm+K+f4dqmK3VqX6UWRnyb86MaQvSou9Yd7dndrPagCp Y8jydEf22/mLbMb6A4pOAQO9QvaWWns9vZbjPBpnTyBm4hPyDl5Byk2hODrEgrSYjWXT mfPg== X-Gm-Message-State: ALQs6tA4cPqiKKIXYYQdHqShqa+EVeaYhfUty39oPP2h44vmE++mi/cd 2BSZIkOGpCLZgZ/AtqSDmccpnkYn2RI= X-Received: by 10.80.183.65 with SMTP id g59mr34668443ede.129.1524592014887; Tue, 24 Apr 2018 10:46:54 -0700 (PDT) Received: from event-horizon.net ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id e6sm6443087eds.20.2018.04.24.10.46.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Apr 2018 10:46:54 -0700 (PDT) From: Bryan O'Donoghue To: u-boot@lists.denx.de, sbabic@denx.de, fabio.estevam@nxp.com, breno.lima@nxp.com Date: Tue, 24 Apr 2018 18:46:32 +0100 Message-Id: <20180424174647.11840-4-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180424174647.11840-1-bryan.odonoghue@linaro.org> References: <20180424174647.11840-1-bryan.odonoghue@linaro.org> Subject: [U-Boot] [PATCH v4 03/18] warp7: hab: Add a CSF location definition X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" In order to correctly produce an image with a IVT/DCD header we need to define a CSF in imximage.cfg. We just use the mx7 default here. All we have to do with this option switched on is "make u-boot.imx" and we then will get - u-boot.imx - u-boot.imx.log The log file is really important because it gives the addresses for the HAB that we will require to sign the u-boot image using the CST. Since the addresses can change this logfile is a critical output. Signed-off-by: Bryan O'Donoghue Tested-by: Breno Lima Reviewed-by: Fabio Estevam --- board/warp7/imximage.cfg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/board/warp7/imximage.cfg b/board/warp7/imximage.cfg index 5b42793786..51a5bff723 100644 --- a/board/warp7/imximage.cfg +++ b/board/warp7/imximage.cfg @@ -13,6 +13,10 @@ #include IMAGE_VERSION 2 +#ifdef CONFIG_SECURE_BOOT +CSF CONFIG_CSF_SIZE +#endif + BOOT_FROM sd /*