From patchwork Tue Jan 2 16:44:00 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: 123174 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp9180661qgn; Tue, 2 Jan 2018 08:57:47 -0800 (PST) X-Google-Smtp-Source: ACJfBosT4lraY4xGN4fdCrQiAM1r6oYs1H2k0ifFxx31Txh6SWzuocB1bRpS4VTottNK6ny4pIIA X-Received: by 10.80.180.16 with SMTP id b16mr63186991edh.136.1514912267501; Tue, 02 Jan 2018 08:57:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514912267; cv=none; d=google.com; s=arc-20160816; b=G20vJGsFSAQofv6fRA2qxJXHq/TB0S6xJYXHL0Qbve+go7jjrmacG0Rm91jUXRmPkV PxXQvHYiUzDXxmRC9dN+NsXaJ3jVkC8ERHy/kdhYoA0WN5Nc3DAezmMkquzWnuEuMT1p 6i9odMFHJKD4iGAzSSuQpSo0JY/KkUqsx42BNcUnT4PrJ1bhrEN3DyxlX04EDxyRqrfs yDkelg+r2HkG/14YoVVCKBpyGIwRHXJpaDrnKcIqB+0KoRBoBOK48DRN0e8xSzZqrnhP DFMgFKWSoU/q1FrwnO55afL/cMrYoZRIKOvnCh0ma7c4LntckpgcGxbv4pw1hK6ZhVAW aGBg== 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=tguWdLB+cSGljzpdwFmWcdczxxhwHRGmkclYhxVzHMo=; b=OSMUY2UlfGJk82JHOHo7q5CaRZ9z4c6BvzI1RpoO03fY7CEM+0cu6ktw5nxBvgACkB c2da4GsueUdzXqekFkL5CNkueK7FTfFORavHgOwl5FLUmPl+8k9Es1o6qDtIRDYhd3Ti cdLszDRvewenv9TcjOmmwtd8OdE4ZerW1EPnbb62SNSL1v0LIuQNFh/JwgcC0UoUJIIj c5B2HMAF5PrvMBcsONfdZEaUK8OZQuvHIH2uNww6zZSAKTVM34PJ7Yd+v8Y3E8zi1LQ+ 5mfVmpvpYBSpUf95T17HxxZNiTXjAoWc7ym8ArCN3wIC940HfI5vLd8CJkzxt/wUUXiN IMHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=KQFS3CJE; 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 f6si8890807edi.534.2018.01.02.08.57.47; Tue, 02 Jan 2018 08:57:47 -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=KQFS3CJE; 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 0E35AC21DE9; Tue, 2 Jan 2018 16:49:24 +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_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 75311C21C2B; Tue, 2 Jan 2018 16:45:28 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 1301DC21E57; Tue, 2 Jan 2018 16:44:46 +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 18090C21CB6 for ; Tue, 2 Jan 2018 16:44:42 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id g75so62447441wme.0 for ; Tue, 02 Jan 2018 08:44:42 -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=Q5DyyaMBYNHiqW+IHw8e4o3ykhOOFXzq0W14FWG2fkQ=; b=KQFS3CJEpbUocR7GRXCtq9fdEmvMqwmf9T+Xy6F2dpwDRvaK/mwKCq+WGt7SjZX1/j 0+0nYnG3tvOTOFMl/OnqLfTE2/VXf7iPPwSFFliot7ARa5W5+B9BgTEnxTn28SURyyJA gDpNKnPaeGUmcLReQ4hMvVE+rDRNoFa+fHrGw= 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=Q5DyyaMBYNHiqW+IHw8e4o3ykhOOFXzq0W14FWG2fkQ=; b=m0Ko+7xLKgByPeFGDxxm49OlPMptNl4J307EThHxpkXOnH+ZZlas3SUwP/zyKGRPLY 13xif4Gl7pf6haSHHJ3WCSqTL00fLORP5lC8YlU6/3ZWUJSIl1uy8zyhhOkzpF9vQV1A LZKDisn5+ZKmKbpcNYfBLaiEMZdfNYWsk47msggX4eyj8acjMEE+LS3mvJmKPPkULGPU JaVwr2OK/CfmT+YSDjJM10OFwkyttBtdLUQBQlaOs4PMpBQG0lb2ngsDaVEp0driggrF LX9xJIOIV48YFmYhOSxv7i4NuXCFNdPIpUe2+36m85wsd2SDO5AmV/quwRXSyETryg1z BVXQ== X-Gm-Message-State: AKGB3mJsMHknyN0P3th6mdWNT4W/WUy2djcyki/IA+GqtvQdUh0H3lqD k+50Gl8hTmt27xAyKvGola8TiccopMY= X-Received: by 10.80.170.207 with SMTP id r15mr65668624edc.220.1514911481498; Tue, 02 Jan 2018 08:44:41 -0800 (PST) Received: from localhost.localdomain (D4CCACC7.cm-2.dynamic.ziggo.nl. [212.204.172.199]) by smtp.gmail.com with ESMTPSA id z5sm29850584edh.76.2018.01.02.08.44.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 02 Jan 2018 08:44:40 -0800 (PST) From: Bryan O'Donoghue To: u-boot@lists.denx.de, brenomatheus@gmail.com Date: Tue, 2 Jan 2018 16:44:00 +0000 Message-Id: <1514911451-4520-15-git-send-email-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514911451-4520-1-git-send-email-bryan.odonoghue@linaro.org> References: <1514911451-4520-1-git-send-email-bryan.odonoghue@linaro.org> Cc: Fabio Estevam Subject: [U-Boot] [PATCH v4 14/25] 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 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" This patch enables printout of the IVT entry, dcd and csf data fields. Signed-off-by: Bryan O'Donoghue Cc: Stefano Babic Cc: Fabio Estevam Cc: Peng Fan Cc: Albert Aribaud Cc: Sven Ebenfeld Cc: George McCollister Cc: Breno Matheus Lima --- arch/arm/mach-imx/hab.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-imx/hab.c b/arch/arm/mach-imx/hab.c index f9b8cb7..7c3a621 100644 --- a/arch/arm/mach-imx/hab.c +++ b/arch/arm/mach-imx/hab.c @@ -462,6 +462,8 @@ int authenticate_image(uint32_t ddr_start, uint32_t 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);