From patchwork Wed Feb 19 05:19:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Schocher X-Patchwork-Id: 1240538 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=ZRWrRr8N; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48MmHD01SKz9sRJ for ; Wed, 19 Feb 2020 16:19:19 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D3D8581234; Wed, 19 Feb 2020 06:19:12 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1582089553; bh=PikmMNpRd8RgdaD4dS/0It9dpzGlv90XYT+J2VMKgl8=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=ZRWrRr8NVdasOo6zq6kUTfJyj6sTMS6TQcAqA64/Hx0jpZZvS5kNfrvfqaaafXgxH puiVLydjZqSesaPVEDuRuQ7Xo7xxtQ+LOX7BaY3Arp+w4MqnBIYQzSAqo1vAoKDAtV yIyuEbq8RqxSwOlH55PrdoxDDrpbA8R95Nrlo7NzVxolFlXBHp34UQSt41r58vpv6J obYa/3LndDD6BOk7yC6NXEBsrqCo/eJSZb78SUSfYjFCIJfJueoJ15RhWM0VzcTyjx GnC+897PYqO0tVAZ7zIbBhHujwxAZyvdj36yNDpZ98vYX3wEGpBRBbQzZWV+hYqLVI KF8RUScvL+XSg== Received: by phobos.denx.de (Postfix, from userid 109) id 21BDA815B4; Wed, 19 Feb 2020 06:19:11 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B8F9680257 for ; Wed, 19 Feb 2020 06:19:07 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=hs@denx.de Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 48MmGz2VCCz1qr4S; Wed, 19 Feb 2020 06:19:07 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 48MmGz2Ff6z1qwyg; Wed, 19 Feb 2020 06:19:07 +0100 (CET) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id Cwghw8SBd4pp; Wed, 19 Feb 2020 06:19:05 +0100 (CET) X-Auth-Info: 6Ic3sQKgYMXm6r9ALYr+Qhyu415U1/o+1k4ieTu7rd0= Received: from mail-internal.denx.de (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Wed, 19 Feb 2020 06:19:05 +0100 (CET) Received: from pollux.denx.de (pollux [192.168.1.1]) by mail-internal.denx.de (Postfix) with ESMTP id 7E3051807A8; Wed, 19 Feb 2020 06:19:04 +0100 (CET) Received: by pollux.denx.de (Postfix, from userid 515) id 601FA1A9843; Wed, 19 Feb 2020 06:19:04 +0100 (CET) From: Heiko Schocher To: U-Boot Mailing List Cc: Heiko Schocher , Alexey Brodkin , Holger Brunck , Joe Hershberger , Simon Glass , Trevor Woerner Subject: [PATCH] bdinfo: Show information about fdt blob via bdinfo Date: Wed, 19 Feb 2020 06:19:03 +0100 Message-Id: <20200219051903.1276724-1-hs@denx.de> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.1 at phobos.denx.de X-Virus-Status: Clean PowerPC target supports OF booting, so print the fdt address and size in bdinfo. Signed-off-by: Heiko Schocher Reviewed-by: Simon Glass --- Travis build: https://travis-ci.org/hsdenx/u-boot-test/builds/651885430 cmd/bdinfo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index d6a7175b37..42b0f49b1a 100644 --- a/cmd/bdinfo.c +++ b/cmd/bdinfo.c @@ -208,6 +208,9 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) print_baudrate(); print_num("relocaddr", gd->relocaddr); board_detail(); + print_num("fdt_blob", (ulong)gd->fdt_blob); + print_num("new_fdt", (ulong)gd->new_fdt); + print_num("fdt_size", (ulong)gd->fdt_size); return 0; }