Message ID | 1522419526-29494-15-git-send-email-bryan.odonoghue@linaro.org |
---|---|
State | Superseded |
Delegated to: | Stefano Babic |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> 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=<UNKNOWN>) 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="Bty/IMVC"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 40CP9J17Bmz9sX8 for <incoming@patchwork.ozlabs.org>; Sat, 31 Mar 2018 01:26:49 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id EE198C22248; Fri, 30 Mar 2018 14:21:45 +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 AA5B8C22255; Fri, 30 Mar 2018 14:19:27 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 6A157C22252; Fri, 30 Mar 2018 14:19:07 +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 4BCDBC2222D for <u-boot@lists.denx.de>; Fri, 30 Mar 2018 14:19:03 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id b127so15046909wmf.5 for <u-boot@lists.denx.de>; Fri, 30 Mar 2018 07:19:03 -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=v2u7l1c0M2K1Ymy59hhHuBLxnZM3pqA57+elldq+44g=; b=Bty/IMVCxpipdgfh24dJdXiU+9Ie7kDDFHy5nQVQeGNf0uJYblNKPVVhmJxFM2aVRw D63YIes4FhHLHhVkhO/3UcFO5sRP5rFSa7vKADPcasPiQcIYaYsEi0CnQB6dfPn3aNCq 3mWEHwDyCtmn2Q8KBnRynRy82W8EEJWHQgS2A= 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=v2u7l1c0M2K1Ymy59hhHuBLxnZM3pqA57+elldq+44g=; b=bCLY6YBGUztoR6vac5WR1jVA6dj5b518cgjp6rLmvQ1l8G1ndw2owQXV4ABhnl43aX W42Xq9Brj2Re4qdTPr/g7/awgxMif0fcVphLEeJG/brNX4A7uXkUto7pWXtlyKckopDZ mqQmyyDEMDyq4fyxRcxFQGqm/djbwPidfpyFdARnrUat1jaQi9DyJAkryMQ4LIHAvkmo Xmx4xDjfJLSpcl80e/sUCQQC4+dmXNiNon9yrgRfgnOlb3gZef+9Hag52xpD0oQoMj8O h2wIU/D2xp8nuP/v+MuYQ5owOGuAqsZWTKCjePfSdreHran6FsAEHYqACI2zXZM2mExu Bw8Q== X-Gm-Message-State: AElRT7EtJmJnaBkOC9uHfGdzxA7u7zI2f+oJeoFtm1v3yjvw4NSpUqJ9 +bBanvqanOBJTNGUjSLXuzenPebGvDA= X-Google-Smtp-Source: AIpwx49RYyoVj9sW6lnnUh2pFbEuH8xN5GEYhigW9F5WLRbbCA9N8sUFtya3Z1LXljLV/YbuwqeWvA== X-Received: by 10.80.173.196 with SMTP id b4mr3188620edd.168.1522419542784; Fri, 30 Mar 2018 07:19:02 -0700 (PDT) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id d22sm5831758eda.31.2018.03.30.07.19.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 30 Mar 2018 07:19:02 -0700 (PDT) From: Bryan O'Donoghue <bryan.odonoghue@linaro.org> To: u-boot@lists.denx.de, fabio.estevam@nxp.com Date: Fri, 30 Mar 2018 15:18:42 +0100 Message-Id: <1522419526-29494-15-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 14/18] 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 53fbcb2..c957b2d 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=" \ "fatload 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(+)