From patchwork Fri Mar 30 14:18:30 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: 132614 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp3101836ljb; Fri, 30 Mar 2018 07:23:40 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/9rcijF4ezsjsYoRCm6K5SWS/3Fq4QME13kHroQRlshHD/dTd+XQBOsSSu6xZrDaQfptY7 X-Received: by 10.80.187.14 with SMTP id y14mr3029602ede.26.1522419820732; Fri, 30 Mar 2018 07:23:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522419820; cv=none; d=google.com; s=arc-20160816; b=e95JtV+8yRhRqqwMbQvOPK0cw77ZHKjRf10ctB28b1R45TlGcaOYy80TQMkMCaYE0V bP6rLh0v34YPA6TCEuaED/OdxN35cq+PXFL3nYQkRILT+EtYf9j8KjiY3IYyXHzJ0COB G9cehY42fpB6uiDkPjssxzAThp7sc0QfYhUpYLMfqLJY+Ic4Zw2jh0ljwRYlza7S7eHz zFyd9jVflflk/U71EKEk0de2PgPHgnoJMFY0Uc79n9v5qv453mzDKk9y3Kiq1PExtnlP KJaQgJNkK1lWOZocG3grHAkWHNbOQ32x2yILxBxtcp0n2mOQ+wr5dAozH8Jvo8y2dbmF dxnQ== 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:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:arc-authentication-results; bh=wP/v909xFYGre5ags3Nmyk6UA/y6X71vDRJQXtvrloE=; b=BUzPA7cP38osl6VvpYFpuKQ3wyDyMDqTmq0AFLe1NNJCLb3nZYd24FFqVDXhkd3S/K O/a7aqleU3ldXPpeY9QzwlPEUTIZZGeXIZQ7Gwis2dpBzmuMTGkUXHKu+p4JyTllLvm/ q87CIKn9FnfAfCbrqUnLZxukXptfqBoxk5bYt6vcOxFwbOeBQFpdPGgv63UHAoqClwDi nf4LC2CsQzoWz44WYb+wFbIDbLzs2Lc6gF52XJyh+bTWnlsQggP3LX8iGESjq/fWxeoC eZZ6lenIabT2eIGqPxFdvkPhMTdromaus5+Ms4klqihwJbdWq0CfIs0F9qa8e+AliELt Ec9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=hJENsOBD; 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 g25si6676422edf.328.2018.03.30.07.23.40; Fri, 30 Mar 2018 07:23:40 -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=hJENsOBD; 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 30FECC221EC; Fri, 30 Mar 2018 14:19:32 +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_DNSWL_BLOCKED, 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 5B456C22231; Fri, 30 Mar 2018 14:19:03 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 70C34C221BF; Fri, 30 Mar 2018 14:18:55 +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 B082CC221FE for ; Fri, 30 Mar 2018 14:18:51 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id r131so16971495wmb.2 for ; Fri, 30 Mar 2018 07:18:51 -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=xp3EILTG9IfrkkHtXk2iwGfCG5Gib4/zSdFgIY1RNXo=; b=hJENsOBD2qmAbzwfaF6lQE4n5WHT0i+RKuaXn1bp9H4+wGD/tGOFpOQX8k5FWN//ib 7SgYfxk04solRUDmVsQFtLX8Yz2eoip0Nw88KfEmk2VcAiCHoDTLkfupely6K3fqp+3x hlvWcHPiPpY29hDk26JTCXW7dqtRUhZlF3g0c= 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=xp3EILTG9IfrkkHtXk2iwGfCG5Gib4/zSdFgIY1RNXo=; b=d5LXrb+iXG0Fcwj1e/qv52MmcSKjHV1SJ/e0YYBkyGgYatnnAclTBVzVNZnqUeHaDN PjECb8rZ2Ucqt8kwmq7zvhx+l9X3PeiHJevq9N2RC8kfPJCa+2zRxj96YOro4qcJpkg7 qhu51IpiVoGbyuZplAgLZMwxWgCiIDunJC3K/ZgHQS0ftMkHYd7r0cDvz9IcIqvYSzTc IFhltdIww0hcyHJanOixldDceS0EM9lnC+mGvu0zeRVPoJQFbWuTW/Ohx0GFh3pQp7CS aIQZsnCXERNegtzsCkbilmsAbyO5Bcb+241Y7QIhORGvlF3eBIwhOrVRpSzMbSaJgnP5 wNyw== X-Gm-Message-State: AElRT7HsMtdqZEexgP4G2eeVolY4euMt81P8ms0yN2PL6tr3N0vRU39I Dzqwz+Z1JJtBhbcV6YO0J8uGK/JXU6o= X-Received: by 10.80.151.110 with SMTP id d43mr3136364edb.174.1522419531071; Fri, 30 Mar 2018 07:18:51 -0700 (PDT) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id d22sm5831758eda.31.2018.03.30.07.18.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 30 Mar 2018 07:18:50 -0700 (PDT) From: Bryan O'Donoghue To: u-boot@lists.denx.de, fabio.estevam@nxp.com Date: Fri, 30 Mar 2018 15:18:30 +0100 Message-Id: <1522419526-29494-3-git-send-email-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1522419526-29494-1-git-send-email-bryan.odonoghue@linaro.org> References: <1522419526-29494-1-git-send-email-bryan.odonoghue@linaro.org> Cc: rui.silva@linaro.org, paul.liu@linaro.org Subject: [U-Boot] [PATCH 02/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 --- board/warp7/imximage.cfg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/board/warp7/imximage.cfg b/board/warp7/imximage.cfg index 5b42793..51a5bff 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 /*