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: 893355 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="hJENsOBD"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 40CP1n6MLsz9s1r for ; Sat, 31 Mar 2018 01:21:32 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 13039C2223C; 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-Google-Smtp-Source: AIpwx48eQ3CvB0KiAMJ3+y1hDkBjTXb81HtAmCayPzc0ADDbHEveFNPriS6USGsFRzMHsHDoQZIFfQ== 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 /*