From patchwork Fri Apr 13 15:31:06 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: 897993 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="kkoXpsdS"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 40N2564Z52z9s16 for ; Sat, 14 Apr 2018 01:39:22 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 50847C21DFA; Fri, 13 Apr 2018 15:34:12 +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_H2, 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 8F092C21DEC; Fri, 13 Apr 2018 15:32:03 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id AF40DC21E2B; Fri, 13 Apr 2018 15:31:30 +0000 (UTC) Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by lists.denx.de (Postfix) with ESMTPS id 4F40AC21D8E for ; Fri, 13 Apr 2018 15:31:26 +0000 (UTC) Received: by mail-wr0-f193.google.com with SMTP id l49so9163591wrl.4 for ; Fri, 13 Apr 2018 08:31:26 -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=kkoXpsdS4B50gFLbUXHk3j39iG1VI4P4cZdsrkx1Ifw7pA46ZDTMfpVVZ8U9XEEuw0 E2ZjMIEa43XL2/j2GXDsMMmAG41XViOcF2RqCzC61noWYsihP1S27Dg0O4+80IflspAH 8WXygZwBUrMV4qXfZRZ99U9/88jEdZJUpzTUo= 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=DLxwWhK6sMtkMpS/rCI7IcQy6QxztCk4E0Lm9c39hySPzqg+n8t9FUmSabtyNyv2wT ADqliIgGT7kHHt2me9+2uhI9Y/UfAKLk8AvBqnRUzl5911ceOTVK261tfyoEtoRbeLOc 5BW0l4IFQPSEBzFl/UIQqrvLK0YfkOgeP4WzY4I9FKnsuSvPSbIZqFA7hRG657qqqfPv snMI/VOeTYCL6XGq9Ndvs6yUC1vknAktv9ZyLr98hyudWlwBWMKLFTIJTQDRAZd5Gut8 O//DbN10hOxgYZ5HL2SwGTPscSwPy+4UPGAOAhAviBeBK3lxtU6ykecoJ8LG1zDgM6d5 YGhQ== X-Gm-Message-State: ALQs6tCZ2Bm242d7kk+TOjXfe328ypWDDG3tia50Jxt/vYYyhq7SWJB7 EnPQvmUbS+cwXv7g+2SLIwuvViFuK/Y= X-Google-Smtp-Source: AIpwx49aZG46FXnGbKsqELTZ1iy3lsnbYaXz/fDH3Ix2ISLzelKSo+5tSfTVmWrYMVuRy5W7GQ2/cQ== X-Received: by 10.80.148.97 with SMTP id q30mr20968279eda.70.1523633485807; Fri, 13 Apr 2018 08:31:25 -0700 (PDT) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id x35sm3516008edx.86.2018.04.13.08.31.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 13 Apr 2018 08:31:25 -0700 (PDT) From: Bryan O'Donoghue To: u-boot@lists.denx.de, fabio.estevam@nxp.com, sbabic@denx.de Date: Fri, 13 Apr 2018 16:31:06 +0100 Message-Id: <1523633481-20914-3-git-send-email-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1523633481-20914-1-git-send-email-bryan.odonoghue@linaro.org> References: <1523633481-20914-1-git-send-email-bryan.odonoghue@linaro.org> Cc: breno.lima@nxp.com, rui.silva@linaro.org, paul.liu@linaro.org Subject: [U-Boot] [PATCH v3 02/17] 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 /*