Message ID | 1522419526-29494-2-git-send-email-bryan.odonoghue@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp3098095ljb; Fri, 30 Mar 2018 07:19:58 -0700 (PDT) X-Google-Smtp-Source: AIpwx49Ltxfxx8+baiOq2ITiH/oOpveSObOJyaOq4pJL8IdFsK//b+S1Kcs1PmVlIVQdw2RW8KDX X-Received: by 10.80.142.220 with SMTP id x28mr3129885edx.128.1522419598181; Fri, 30 Mar 2018 07:19:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522419598; cv=none; d=google.com; s=arc-20160816; b=Rq2BZ3p+pLN5BYr+UKw5ZcIrUUalaFRg+jAOVRJF7pfJRy8ELT/wfxzP2RVh3kyBwi JJuIPIkwK4kIVYg0ITqz27PRVBIRc7liDGr9WtD9YVncDj+ZCKNdcu06D9q4jW+auUdp VYl4OIsYwbi1E8NTfJK7/I7MQ/Q2zP4tDhN0L42HnhGCqVhiBLfznz9YMMaYPTFm9pom ItJlTW6fRnqbYjWd3mNH2Q6pi18iARrG3HSLWZeUB8YbcxfnXv63os5SuFwG+hmfcDTb Pd91dCNbGkwmaNfAjyTt9tKTnrLMJK9eEw4ah9oerZG4bszGZmHkwDeuSIzrWzkqqxL1 xDUw== 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=I8gKKcvg0ChOXiulGqPSbZBiHxe+ezmD43IWCZnxFOo=; b=p+lPDndFLB0eqUaFoHp1MYC+w5l/Bx7AE2dSAd6Stco97wG1UzTsy7aylLgbG/b9Fb HD7RKtIGB6fyFJwVQuqf+jtAjbPKMnRmbFyuuvpZXHM/y09zEK4Cr3zyype6Uw60XWyD mRw35Wy4YgkfGR2JxTrpi9gkEH6BkvhwtWF/rkaGSb89FhIc5wq0ENHUiE0xhOf9Guzz gsUfejAA+4EbSca8aFVKvYUG3v6OgT+x9UP+Wt0ByHnUC/hYdeXzoaIY1Xsx7RpKq9Cp 8rhxq3GR9V2+FngjbAFyzAUjmRZxnHRR+eBiyeRm7+UVBtfhhcNlouo/CpSSE52dN9g0 8Hbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=aYKDARyy; 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 x31si6270880ede.122.2018.03.30.07.19.57; Fri, 30 Mar 2018 07:19:58 -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=aYKDARyy; 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 BEE7BC221D2; Fri, 30 Mar 2018 14:19:14 +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 5CAC6C22215; Fri, 30 Mar 2018 14:18:54 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id F16A0C2216C; Fri, 30 Mar 2018 14:18:50 +0000 (UTC) Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by lists.denx.de (Postfix) with ESMTPS id 904F0C21E96 for <u-boot@lists.denx.de>; Fri, 30 Mar 2018 14:18:50 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id b127so15046086wmf.5 for <u-boot@lists.denx.de>; Fri, 30 Mar 2018 07:18:50 -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=CA2atoKRAAeZaRXet7yXYeavk5dzsuMokIvwFjiBCMU=; b=aYKDARyydwunKRw3jyYB2+hfZZ3spMuhFujQ1pb6IrmWh8paQenTQO6bHlvSgwsh6J KtyGJP8vn5RfIs25gpOBQ5LEhP8KoHGAUusLZT65sgB3r3sfyhw6LFAZnu0DZ2AOIHzs PXF6E8hoccY8Zhw2ALR2JJPD08595G1OIuKEQ= 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=CA2atoKRAAeZaRXet7yXYeavk5dzsuMokIvwFjiBCMU=; b=IHbuz1YaWMMyB4rPEeGQ9KCEFxsxYNg2M12yt7LvSMOWtUz10eti+eQrsXczkmAZGl rbIVfIQ4smlJpNQ2xKQwItVVzboO3V7XRkz4qtR/GBd5vUo50cXy4F3X+b4cqSHiuhK3 jHCnAgKv647RqfEOAJURvbq3jUtXSiD7KaSm5EmZ33U6bvHeb2k4b6ZYAzCKjL0lAvNr ITdo/T3TUlQ0ZVhyc+9W70flKRBzUAt4SFTLpvp20sp9v09P5rGP8j51IjBTgFu7oqe9 qjlAnQPyuFeDytnXk0TwnUjbaUvKV8CVdaCuuO/6Jgheqaq7LaxOIXfX61MCf7SQlOPP RCSA== X-Gm-Message-State: AElRT7GrKvEy988rOYzaTO9xi+CdfQYGl5j37n7ohzWZ+KI6ZigbY5LC dqvMKcmGdGJu/Z2MnpuDXQcvGWuPwg4= X-Received: by 10.80.145.49 with SMTP id e46mr3141249eda.252.1522419530095; Fri, 30 Mar 2018 07:18:50 -0700 (PDT) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id d22sm5831758eda.31.2018.03.30.07.18.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 30 Mar 2018 07:18:49 -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:29 +0100 Message-Id: <1522419526-29494-2-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: Breno Lima <breno.lima@nxp.com>, Utkarsh Gupta <utkarsh.gupta@nxp.com>, rui.silva@linaro.org, paul.liu@linaro.org Subject: [U-Boot] [PATCH 01/18] imximage: Specify default IVT offset in IMX image 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/imximage.h b/include/imximage.h index 553b852..800fd63 100644 --- a/include/imximage.h +++ b/include/imximage.h @@ -14,6 +14,9 @@ #define APP_CODE_BARKER 0xB1 #define DCD_BARKER 0xB17219E9 +/* Specify the offset of the IVT in the IMX header as expected by BootROM */ +#define BOOTROM_IVT_HDR_OFFSET 0xC00 + /* * NOTE: This file must be kept in sync with arch/arm/include/asm/\ * mach-imx/imximage.cfg because tools/imximage.c can not
This patch adds BOOTROM_IVT_HDR_OFFSET at 0xC00. The BootROM expects to find the IVT header at a particular offset in an i.MX image. Defining the expected offset of the IVT header in the first-stage BootROM image format is of use of later stage authentication routines where those routines continue to follow the first-stage authentication layout. This patch defines the first stage offset which later patch make use of. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Cc: Utkarsh Gupta <utkarsh.gupta@nxp.com> Cc: Breno Lima <breno.lima@nxp.com> Cc: Fabio Estevam <fabio.estevam@nxp.com> --- include/imximage.h | 3 +++ 1 file changed, 3 insertions(+)