From patchwork Mon Apr 2 22:42:01 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: 132680 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp3099575ljb; Mon, 2 Apr 2018 15:45:26 -0700 (PDT) X-Google-Smtp-Source: AIpwx49yudW1erWpD20sV9Wr6SyklaFnOz+lJLhd3/4nTGQEGltydYbo5JoNpjDWF9TJOgN/NufR X-Received: by 10.80.173.196 with SMTP id b4mr14510946edd.168.1522709126927; Mon, 02 Apr 2018 15:45:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522709126; cv=none; d=google.com; s=arc-20160816; b=vX/ana/s03sDQoRYIENq/BzUdE5nOWYcPvTvuM8opYEmtqA9YUJ8OTsdOylYIJbpCs Wq5bTl78tXu5Uqa5/WDtB82ZEN42Cqgnem78Zy+etrXEtilSWIl8KnP+rImnnWR7XtUe VIlQbqBYUxq9rEC5zEQxyWWlzz6ILJU72DU8It741BkRletyhc07QJthzHNs0QFxhnPY R3Gv4CNGF+FNcCGGTdLODxcX9GsDQq5sGmR1woJ8AEY22bFAAIKLdo5I+qQDrQi1h7ov 7Ogeub4kR/VQ4MmMtFrqYfCg/7SGUMn4Ex4zlJ9T1wNltfIusR7UCGjmKysopavSInlO ixCQ== 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=H6CCZSZXwl++11AK5MhTouoYDr7MYADOqREI1eqvs2L9p4jqDrpKPs7oH2qN5Q4avv ddK5t9YJbXI4qd/KOfIm/jJuXk4/uJp18E3MAl1Aq8SZmVpr9yeW0NOkCWwY26hqZA/j E/R9gLl+8o/D93wMinJLW96Iq+NRMntsmxDiX6Hu7rtnCXJVniMD4vKLj2g3OKw7EQfL 9aOI8iPFjPYuHFoRENiMgJ4QSm1JeUjZ/QMpwK+P4oG2jtraD4vD9o+2OKH2jS+XIH6d yBji8j5PKGTFeroH0ncvucEymQGA/SU/fXB5N6fXbtWDfkrPGTGo7vfUWDh7sCDCm4Uu 3svw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Cp11bVGa; 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 q24si1205570edg.181.2018.04.02.15.45.26; Mon, 02 Apr 2018 15:45:26 -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=Cp11bVGa; 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 7110CC21E31; Mon, 2 Apr 2018 22:43:21 +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_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 25D61C21EE4; Mon, 2 Apr 2018 22:42:36 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 541A6C21EDE; Mon, 2 Apr 2018 22:42:26 +0000 (UTC) Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by lists.denx.de (Postfix) with ESMTPS id 8FBCCC21DD7 for ; Mon, 2 Apr 2018 22:42:21 +0000 (UTC) Received: by mail-wm0-f65.google.com with SMTP id w2so8389776wmw.1 for ; Mon, 02 Apr 2018 15:42:21 -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=Cp11bVGamGf8g63+zc2+eBmFInovQM2jeXmdN8MbXTDQ4yprhC4i7gDVhJ8t0ZG063 2AOcZ81cqtYisrVioVsKUBUD7qxyP5Dv+8yvviYq49gbFr4QCFlfn9GqhmZz9wlTK3Qj EkJahQFK1IjQ5ZmDJySUL05Im+7xxozzPQFFc= 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=tgRois6kR4h7m5rxe+83cc+hdbVJETSHlUqCj3VaHRoV4f54EO2kTnA6SC/67rUa3Q QNdEJGttAsdNjng+Ba6phKrwRxu8gNtfZol4tiwLxSTE7lbvluPBbSafDC/Qq+a2hpNd mXc2HWCsEaPi32wdx3Gy+v4w0qwXyZLBnYLIeuUsdEcPTrUsF9qpWZn0nAIdAEJHHMBL JRpftleKMQqcHdzxTmX0fIQl4taPnMyBlOx1Q+AlRBhWb42kdW/zsb0tHHLLDtqtNDr6 d3tb+NV6QoSrYq48f+Z2MVlGnJUcu+NR+62+hCXre3Eplf3zCozIF+fcYcADiEzltOjq F+vw== X-Gm-Message-State: AElRT7GRzmaJs/VsmK2OxHhHzOi8eSH1emJMbvBxjdoezVdL9kvt5n1H +l70Olwv/w8vb9lAYrmCSCP9BsN6aoM= X-Received: by 10.80.137.149 with SMTP id g21mr14183330edg.25.1522708940922; Mon, 02 Apr 2018 15:42:20 -0700 (PDT) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id s8sm842086edk.76.2018.04.02.15.42.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 02 Apr 2018 15:42:20 -0700 (PDT) From: Bryan O'Donoghue To: u-boot@lists.denx.de, fabio.estevam@nxp.com, sbabic@denx.de Date: Mon, 2 Apr 2018 23:42:01 +0100 Message-Id: <1522708936-7603-3-git-send-email-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1522708936-7603-1-git-send-email-bryan.odonoghue@linaro.org> References: <1522708936-7603-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 v2 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 /*