Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9B1ECC77B7F for ; Fri, 5 May 2023 07:49:24 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2A12782721; Fri, 5 May 2023 09:49:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="BoTHcsSH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AAFCD8472D; Fri, 5 May 2023 09:49:20 +0200 (CEST) Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (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 B7B2B8206E for ; Fri, 5 May 2023 09:49:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=n-jain1@ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3457nCfB068547; Fri, 5 May 2023 02:49:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1683272952; bh=JS/WKK8LpLKj89KWVx0LN01dnIOkiYMRIzLyaqZtAbA=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=BoTHcsSH0iKVOuHEkijRvI4KABzxPfw8rOAOPvS359ue4AM1d7hp21RaXMX2eQIYs MIcP4x2IcKCZ3qjGIXZsp8YELwdCSOBn6NbOD+khHDEnqp6TvnLWM9n6EQYbE0+Am2 j+DJxmNOMgxif4X+zLcKs0J2we6q1KpuRzCdGGig= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3457nClR011675 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 5 May 2023 02:49:12 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 5 May 2023 02:49:12 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 5 May 2023 02:49:12 -0500 Received: from [10.24.69.45] (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3457nAZF018091; Fri, 5 May 2023 02:49:11 -0500 Message-ID: Date: Fri, 5 May 2023 13:19:10 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [EXTERNAL] [PATCH v3 11/43] bdinfo: Show the RAM top and approximate stack pointer Content-Language: en-US To: Simon Glass , U-Boot Mailing List CC: Heinrich Schuchardt , Bin Meng References: <20230504225829.2537050-1-sjg@chromium.org> <20230504165823.v3.11.Ib35b8f5950b2eceb28aaf39b527c3463cc5c394f@changeid> From: Nikhil M Jain In-Reply-To: <20230504165823.v3.11.Ib35b8f5950b2eceb28aaf39b527c3463cc5c394f@changeid> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.8 at phobos.denx.de X-Virus-Status: Clean On 05/05/23 04:27, Simon Glass wrote: > These are useful pieces of information when debugging. The RAM top shows > where U-Boot started allocating memory from, before it relocated. The > stack pointer can be checked to ensure it is in the correct region. > > Signed-off-by: Simon Glass > --- > > (no changes since v1) > > cmd/Kconfig | 8 ++++++++ > cmd/bdinfo.c | 5 +++++ > 2 files changed, 13 insertions(+) Reviewed-by: Nikhil M Jain Tested-by: Nikhil M Jain