Message ID | 1514486982-19059-14-git-send-email-bryan.odonoghue@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp3811350qgn; Thu, 28 Dec 2017 11:05:46 -0800 (PST) X-Google-Smtp-Source: ACJfBot6ieiYri8ZHL8xpnd2V5r6TC7IOHsxIcn2WHGZ4PTasQfnVwrw4RQnR157VfrHSGFrvQ0B X-Received: by 10.80.184.23 with SMTP id j23mr41546347ede.115.1514487946430; Thu, 28 Dec 2017 11:05:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514487946; cv=none; d=google.com; s=arc-20160816; b=XYD0bEgVQ0B4H1bXW+elRDN2BZeVUjjacmuFCQ5QHVliioigSkuZqurFY9lf/ecHes EZrpdhjpdW74Wu+P+uTD3XzKg1HftZzwC1Omse/R+2KIid5eiSXpV8hdFNv7On/PQ8lk n25I28hhmkVf5SBZtOUScCugVxVGIulYKD7o3tqF5ocAkXOteagPFl9v3nehk7lHEVlj GyqM2wpNUDNYkWkRjcucMGRok0fAb52HUz8TqwB7b8bGJv46u+Vdm2Vl6/y9Q2Gs2bsE eGuC80tKoSGxFO83+7ge5b071Q45leDt3owV0raZ2kc/fE2ZEUm3HVD5ANYOGcVGv0Lr 8q0g== 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=Fh8wCYmrkejb8LLhrIT6RpV12huJ+1SuUAU0hxTsk5A=; b=0fOhFemnqk6N/VenYP9Y36+9pb7lioz4B/WGB9edWPjO/YbkqXB9juE88rvQZyieo6 4ZBlfRZq8uUtI+TS4KkQWC4wxTY8SUH6ddXCCaN439I0EkKagb5LVROlkkuVfkSyDNp7 su+hrfbNQRrmolElOfV2nvg7Jb8BcDjKWjcYpQTbfSisXegacXJIGsGw+GX61V/zNife ggOc57zhzB+7vUtU09EyeNRTrfM76LI24Uo0gWdxhccYzY18zpvEs3oT0xDjASv4OeQ0 00+wDht/xMBhquYYp7ea21FO5EaTqgwL4qPaCoBQsXg004wmVi1gB3uEn9Mq7QbG27TZ zdKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FWdN21OO; 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 65si2350061edi.238.2017.12.28.11.05.46; Thu, 28 Dec 2017 11:05:46 -0800 (PST) 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=FWdN21OO; 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 EAC7EC21DB2; Thu, 28 Dec 2017 18:55:35 +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 AE475C21DAB; Thu, 28 Dec 2017 18:51:09 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 372A2C21DC1; Thu, 28 Dec 2017 18:50:03 +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 40833C21E06 for <u-boot@lists.denx.de>; Thu, 28 Dec 2017 18:50:00 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id r78so45513808wme.5 for <u-boot@lists.denx.de>; Thu, 28 Dec 2017 10:50:00 -0800 (PST) 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=7c9sfTFlc20qfKLGqYsO6eLvrjN1ZxhXWBA6CIL8dIE=; b=FWdN21OOifBzCwXqJBDviE7urVwAhFyb/W8z5ixlDkbPBxg+v9mokFVa+PxiG1iunQ qM33ZAXO7ptZuHarbtKhhyK83zbz0l/B39jeW0LyoeYUBpsbmfVFZBUa2/iGcMuSlVVv HYLgbwiSJuTFub9EkDc+aoxNs6Cm/gHfJsBWY= 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=7c9sfTFlc20qfKLGqYsO6eLvrjN1ZxhXWBA6CIL8dIE=; b=SkDg/0OucMDAdWddX6gUfBxq+Wqs13ETIP4/20EOg+KPbNW5/kp/TdajweifFuYkfs JCfKgPVTiNYicYkFzkxF4Ore2sQqE1xx9UBMduDZwR+ObFP7kvbPMs7Yi/dPXrgEKHpI ZXTzT+5kT7ZIGlQ70Asgzi1pdKmQbx4FPw7SXWyHV/idhrvH7ySqRhzwOrGxGouTCtM3 1DTYDw3gFUxs+M6e+pxW4+6z4lhso37DPBty+ZB8nvgUNglvdL8RkTmWQR7HGRN0i8U7 sagbToa4QpIG98fXizn/rGflFabthAAYGqDEY27HJPr+JKg69zs0mASgb42jDTdO+5gm v6Yw== X-Gm-Message-State: AKGB3mK1ixXLxGI5+BQlmpl40iQrag6g2nFg+c1jUgw+GNi0VxZYM8j8 BJvyrI2AVpx8ynErCpv0CfsN7Z3AQs8= X-Received: by 10.80.148.163 with SMTP id s32mr41518613eda.74.1514486999633; Thu, 28 Dec 2017 10:49:59 -0800 (PST) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id x28sm35246579edd.0.2017.12.28.10.49.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 28 Dec 2017 10:49:58 -0800 (PST) From: Bryan O'Donoghue <bryan.odonoghue@linaro.org> To: u-boot@lists.denx.de, brenomatheus@gmail.com Date: Thu, 28 Dec 2017 18:49:32 +0000 Message-Id: <1514486982-19059-14-git-send-email-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514486982-19059-1-git-send-email-bryan.odonoghue@linaro.org> References: <1514486982-19059-1-git-send-email-bryan.odonoghue@linaro.org> Cc: Fabio Estevam <fabio.estevam@nxp.com> Subject: [U-Boot] [PATCH v2 13/23] arm: imx: hab: Print additional IVT elements during debug 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 |
Fix and extend i.MX HAB layer
|
expand
|
diff --git a/arch/arm/mach-imx/hab.c b/arch/arm/mach-imx/hab.c index d620524..6646f81 100644 --- a/arch/arm/mach-imx/hab.c +++ b/arch/arm/mach-imx/hab.c @@ -461,6 +461,8 @@ int authenticate_image(uint32_t ddr_start, uint32_t image_size, bytes = image_size; #ifdef DEBUG printf("\nivt_offset = 0x%x, ivt addr = 0x%x\n", ivt_offset, ivt_addr); + printf("ivt entry = 0x%08x, dcd = 0x%08x, csf = 0x%08x\n", ivt->entry, + ivt->dcd, ivt->csf); puts("Dumping IVT\n"); print_buffer(ivt_addr, (void *)(ivt_addr), 4, 0x8, 0);
This patch enables printout of the IVT entry, dcd and csf data fields. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Sven Ebenfeld <sven.ebenfeld@gmail.com> Cc: George McCollister <george.mccollister@gmail.com> Cc: Breno Matheus Lima <brenomatheus@gmail.com> --- arch/arm/mach-imx/hab.c | 2 ++ 1 file changed, 2 insertions(+)