From patchwork Mon Jan 8 17:36:30 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: 123786 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp3021629qgn; Mon, 8 Jan 2018 09:53:09 -0800 (PST) X-Google-Smtp-Source: ACJfBot5rrJL/4h8F8EI/4eLHZqyxqIJxOtvid7TcMasKr1goo2siikdTghp1kPsSkeC925xES5c X-Received: by 10.80.245.134 with SMTP id u6mr16875642edm.163.1515433989349; Mon, 08 Jan 2018 09:53:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515433989; cv=none; d=google.com; s=arc-20160816; b=C8T71WRXMLPYrn6ye+cIqb/h/wqe1vInf1tc6fJSoLMtfLsT8njm22h63ShfrAy+d8 fgbjfcsxAqKBLCi4TM910aypPTrdTT/J9jLTl39cxP2S8TQH3C0BW9/BMQlQQsTtjs14 c7X77h5qcWQl7OYBmdXORrWssGZXkdWFLy2mmYtpNUHwkosXL3ARfJeQVUmTfwIY9DdD lWqRf0Q9NNdtfYyZ6nhsZn0A7p0DOIUp6q8PN6rMzq3K7ki8xLA+pO5yeaGfobZF8b+r cct/8T6B61BbtzoH3zPGvV/UwC7tMMVW62g2S0myF8/qOi8mExmFUnGpWthyKaP6d2K6 gwSA== 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=PGSCLjv5LWGk14Ui7kF9Uwp1zp4zH1+BcTD2UPtDRPY=; b=BDsVx6K0lS+gncWakPCFpQjRAxVuAFMEz9EV3l7xaHnPtgtZ38pOeiaqdedEkZkSEu EYmKNUDfaErP5JL1bFqKZmKWlkamMIx7roPSSLqjZ1UH+jF1Ai3qR7E757zlYlKJ/F7k 6U1y4gmHId7KwhjcaxHSepSpjttXd51i1dgHpZ5kVdN0eAR/7UISLl9I1oGv/IgtKGaW zvRaRgIKTpbZ10nGZQAFLMwPVTVP0uMGgQbfeVjrxjQCyjXP6rSSe6hVt+9otmUoU1k1 6KEFlB74zkMSIzsUHLEot8sd02IYMAHXRbOjlNXV4owGRbXjMDE/kxfLj4zk4r0hCV0U rXDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=TveSY3rO; 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 7si2335135edj.364.2018.01.08.09.53.08; Mon, 08 Jan 2018 09:53:09 -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=TveSY3rO; 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 C6625C21FCA; Mon, 8 Jan 2018 17:44:20 +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 903BCC21FBB; Mon, 8 Jan 2018 17:39:23 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id C5995C21FAB; Mon, 8 Jan 2018 17:37:05 +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 CA7D7C21FA5 for ; Mon, 8 Jan 2018 17:37:01 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id t8so15600328wmc.3 for ; Mon, 08 Jan 2018 09:37:01 -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=HRqlpCkWGUfqh336BQqIYXvKtkM0Rxk4QH4BzP5ngE8=; b=TveSY3rO6RmKrxN3kuHMY9DFSsMdsXqDWdgMDCxsQXb1i+dpm5jnR6jqDCMpX25zNM tkjuv3s0c7veBa6iV1EWqKbOthUvBMfKlSjlt8tEqhsFeNXzbb2PSvsrnIyZSSSqdkLL eLwKg1WIV+PDBfzDDjh+B8eIfFqac1xWx0tsE= 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=HRqlpCkWGUfqh336BQqIYXvKtkM0Rxk4QH4BzP5ngE8=; b=to0K5qEmK2vUc7MgmDHV6CibcfxHnOZi2Qyc6dhizaoNGdCq711fvC2HC6ztajOgPA BNVmse6fsXvSHfQdW1P7zD3LSDaxw/PJ6ZoOyguRPDMWdaYQg0DJ1wKovRTs1szfe8uq Ee5HEzw6Ee32oZLGuaOwAQyskC8yjW8TjwAdU/jbALKdTsnlwecYUGbudB9kedfsGtR3 iNboKyVM8DDjeqUUKtWLzobydFNNeLmv9J9RRuJGKqUOEFe1KQLZ3z7Sprp7tOTFBQju mxBb/HwNq89xqJzbvq59zHbeNy6z5Jt7K0ZFO3OnL4MVGnmpM5SDSdt0dFygR3Uz/7B3 kpUA== X-Gm-Message-State: AKGB3mJWxrAUqjGFfiKIzWQNQkEtjJgjk33a3xqSrS4h0oeuSfNGlF+U UFB4MBU0taQYHDqksgNNoSv89bCpDvI= X-Received: by 10.80.177.28 with SMTP id k28mr17272578edd.124.1515433021223; Mon, 08 Jan 2018 09:37:01 -0800 (PST) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id a38sm7160033edf.3.2018.01.08.09.37.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Jan 2018 09:37:00 -0800 (PST) From: Bryan O'Donoghue To: u-boot@lists.denx.de, brenomatheus@gmail.com Date: Mon, 8 Jan 2018 17:36:30 +0000 Message-Id: <1515433001-13857-14-git-send-email-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1515433001-13857-1-git-send-email-bryan.odonoghue@linaro.org> References: <1515433001-13857-1-git-send-email-bryan.odonoghue@linaro.org> Cc: Fabio Estevam Subject: [U-Boot] [PATCH v5 13/24] 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 229c723..364bd6b 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);