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: 903730 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="KXuy/36T"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 40VrRP1fKJz9s19 for ; Wed, 25 Apr 2018 03:48:48 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 70C75C21F4F; Tue, 24 Apr 2018 17:47:43 +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-Google-Smtp-Source: AIpwx4+xtak9EFStUw2rGtyDGCnDAeYF/suq9XHWf00WS0q5//N6j2odaOoIVpY84kqO54HI4kJLDw== 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 /*