Message ID | 1523633481-20914-15-git-send-email-bryan.odonoghue@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.84.18 with SMTP id i18csp851584ljb; Fri, 13 Apr 2018 08:36:42 -0700 (PDT) X-Google-Smtp-Source: AIpwx48OI9bv1xRJlrRonPqUQyhw5otbsbrxpeyMQcogfhJxyLFeJYrbnKBJw7CMd3RROxm8dW+x X-Received: by 10.80.154.131 with SMTP id p3mr2951661edb.136.1523633802783; Fri, 13 Apr 2018 08:36:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523633802; cv=none; d=google.com; s=arc-20160816; b=Q3/eT/g3QiJ/k3ttMMgZdEXIWZ44BucRqyu3wLAyyJC1zsvboy708mPz7V7m6NqGWr etopJ5VvdVMfe8sZ4BH3qyG54SkZWv2n8SIYBjiUIxLdw8nTzxrX96H0VBe6W3ZaFTYu HSBu41EKZK4x9D1HZBBMuNoHNnO5xkIbR+UpzNuBE0Ozsdwk2QkLDIceZRhiaBHAiUGZ pTOVgA/oe6X/EXkoZhxlG7c5afGdOMXisirpa2+5Vwud4MnEMZdP+JZyuRvHg9RSUsof tro4wnkXX2nvs8Ss20Bo+kTP9mhZEV2HzC3SkjE2IVKJ5uD1JgdPQC7EWNLnQtPDbZFN VaEQ== 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=Nwje+9EdbgjXkvFQp12NdA3YQNRAed/bEiUIIndMttM=; b=zPtefW6BO8leVcFiJ5Q7MwVfui+FNlfn/Q9OM85KzN/gNd0GbEx+pnQGNcHc1Ad8qa nOPHbuJndPCrqQi1jbdGkv61ipxk7BORHrYsqt1pY4HPGI7v6fD4Roer0xHOM0O8F7LS eeIXCEwZf5eoWta4aJIIqV0OPu6+zwb4nbXFuzVSWfoNR8A6BF9CZw5ajFAIuQftpPS2 Af/so3/n1v9ScxhMxr2f/34/6VvzI/yniYEt4wXgqx35l2vqJNpyb1vWbpYIuMQDlYz+ Ast1P4FrwO9jB5PeIAFLjfOwtpn9Av48E8no98nyH1KA5R0rVtjKHPhppl8X0IzCquC4 oDFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Ke3w+qsJ; 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: <u-boot-bounces@lists.denx.de> Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id r25si6044760eda.237.2018.04.13.08.36.42; Fri, 13 Apr 2018 08:36:42 -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=Ke3w+qsJ; 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 5CE49C21D83; Fri, 13 Apr 2018 15:35:00 +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 77B18C21E57; Fri, 13 Apr 2018 15:32:08 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 14034C21DD3; Fri, 13 Apr 2018 15:31:43 +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 5DC29C21E0B for <u-boot@lists.denx.de>; Fri, 13 Apr 2018 15:31:39 +0000 (UTC) Received: by mail-wr0-f193.google.com with SMTP id u46so9164816wrc.11 for <u-boot@lists.denx.de>; Fri, 13 Apr 2018 08:31:39 -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=bbFAncBFRkexED0uhJw8cduRh56y9IoLFmos07tqqVc=; b=Ke3w+qsJ08fPrp8gdzMhVb1k9toYZH5dshXym9VlVP3RA00we8iS64vPSnRG8spxI3 z+DwVB8Lfqu3SPydEZAAYJ1NA6ZnjbzYjmQGeyXIBw/E4k3HNdp9En9Wahzpq8Nsov5F eamGXLXc/D6RHyuqm3ecQbBBQNqs+52Gizum0= 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=bbFAncBFRkexED0uhJw8cduRh56y9IoLFmos07tqqVc=; b=oj5+yPRCViSz51WKBiEuUmr1V5y1fXS0m9SuRn357n3ti2hfOUHuwZie2yNwOwd8ek uo2GK1medOd9iT3unPdA+gNV2gnH/Pue3eXgm1GJdityOekhtN+5NF5WnRDfC3JkWcwG 3z65S0G0btWC2g8sBX5kYHiKEeeQtjdLcRGXHFl4QXqV1cmKs4zF4tyZ+/Sry4yDD8iU mi2WvINGEYZAHbhLEe9ZRIApeMt+J3hhwjUynOBewwXup3MnMjEiY4EzCxHeS+iX3Vuw eXkxW/XODBdeBR2DFNwFMe9y0Wswa9Vg1gPBhtkq3aAdw1iHm2KkUUNbmhogOw5wIeF9 Taug== X-Gm-Message-State: ALQs6tCGKi43zo40BRY7ev58Y2Y/5O/1tUfoCcycZVRwZyrnvXj0F0Ej k0Ej2mdkNhwgXYoHWM0RdkbSKr6tmTU= X-Received: by 10.80.246.3 with SMTP id c3mr20105528edn.185.1523633498855; Fri, 13 Apr 2018 08:31:38 -0700 (PDT) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id x35sm3516008edx.86.2018.04.13.08.31.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 13 Apr 2018 08:31:38 -0700 (PDT) From: Bryan O'Donoghue <bryan.odonoghue@linaro.org> To: u-boot@lists.denx.de, fabio.estevam@nxp.com, sbabic@denx.de Date: Fri, 13 Apr 2018 16:31:18 +0100 Message-Id: <1523633481-20914-15-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 14/17] warp7: add warp7_auth_or_fail X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
warp7: Enable automated OPTEE/HAB boot flow
|
expand
|
diff --git a/include/configs/warp7.h b/include/configs/warp7.h index 0ed95d8..454bc1c 100644 --- a/include/configs/warp7.h +++ b/include/configs/warp7.h @@ -50,6 +50,7 @@ "finduuid=part uuid mmc 0:${rootpart} uuid\0" \ "mmcargs=setenv bootargs console=${console},${baudrate} " \ "root=PARTUUID=${uuid} rootwait rw\0" \ + "warp7_auth_or_fail=hab_auth_img_or_fail ${hab_ivt_addr} ${filesize} 0;\0" \ "loadbootscript=" \ "load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \ "bootscript=echo Running bootscript from mmc ...; " \
Doing secure boot on the WaRP7 using a common image format and the same variable to represent the base address for each call means we can reduce down the command to a single environment command. This patch adds warp7_auth_or_fail as a wrapper around "hab_auth_img_or_fail ${hab_ivt_addr} ${filesize} 0". Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> --- include/configs/warp7.h | 1 + 1 file changed, 1 insertion(+)