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 69ACFEB64D9 for ; Mon, 19 Jun 2023 14:44:12 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 04A46865DF; Mon, 19 Jun 2023 16:44:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.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=konsulko.com header.i=@konsulko.com header.b="uC6H9Rq7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6C2AA86442; Mon, 19 Jun 2023 16:43:24 +0200 (CEST) Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 72729865F0 for ; Mon, 19 Jun 2023 16:38:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-pj1-x102b.google.com with SMTP id 98e67ed59e1d1-260a4020ebaso651089a91.2 for ; Mon, 19 Jun 2023 07:38:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1687185530; x=1689777530; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=VSrjQBrX2xzI1Y5UpvVs9HQfL58TqR8XCGbnhDO9O9A=; b=uC6H9Rq7hCCgHeFLA9adixOK5qIk+0guhfu5sPQaOQoK3n+jMJn80+xQ4IvFkRePWW pBoWMXNsPBuGouTFifxHUe8liOYO3siOlJuKFY3VtYQt7TmGew6UmTcV/Vz+zYw8Qip5 kGnMqsKKMPWBwpq02Mr0Nm0mCAvus7Ge9Wuwk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687185530; x=1689777530; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=VSrjQBrX2xzI1Y5UpvVs9HQfL58TqR8XCGbnhDO9O9A=; b=LHPDZHcnYzo4obRzYbG2YzgVJIrZUQVbtJ5Jsgwf4Op596/R+wBlXYvYcWzRzoyeeM sXzOSCrWXCn83gctoq6eJgZrLVnY63EgTk4Eii5ldC86OJFhqf5EYMlRGzfb9FsXzPoG 4WmnxbCWeksZPzTzUL3aSupTLIo+7DAetPIQ4tBUGZUfOIOpnY3o0ryoNvpuDWlEytSP aXkj1VGEMcdwo7oMevbK0D2Gib5AxHyseZijpQaR97w3Y34Pl+Ig3w1QOec2fFl4AXHI 9Zqb2cQwKCf79aAAwVh8sYAPSiPuGYIDBRwrVHiIrA1FWOKMy24+S482eJ2ucqUHpxfs Svpw== X-Gm-Message-State: AC+VfDwQQp/qFznqP2Cqrhv2tDsNLwGybd9IdHysbApQQ0iecHzIVp3j 5HCRGh1NIO3Lov9i/gPumC4652Wzus+U+jfv1YcHsA== X-Google-Smtp-Source: ACHHUZ4YE3heYfNSgnFr8SWWDtcvkltlrEXJT+TPdmnlXeZJTmM90ApD9Z36OYsUscSMJmmYv0l7ww== X-Received: by 2002:a25:ad1e:0:b0:bc8:38c3:6495 with SMTP id y30-20020a25ad1e000000b00bc838c36495mr4366715ybi.55.1687180657523; Mon, 19 Jun 2023 06:17:37 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-1078-74b7-70b4-27ea.res6.spectrum.com. [2603:6081:7b00:6400:1078:74b7:70b4:27ea]) by smtp.gmail.com with ESMTPSA id w3-20020a05690202c300b00bad59725e11sm5702248ybh.57.2023.06.19.06.17.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jun 2023 06:17:36 -0700 (PDT) Date: Mon, 19 Jun 2023 09:17:33 -0400 From: Tom Rini To: Nikhil M Jain Cc: u-boot@lists.denx.de, devarsht@ti.com, vigneshr@ti.com, nsekhar@ti.com, sjg@chromium.org Subject: Re: [PATCH V4 9/9] doc: board: ti: am62x_sk: Add A53 SPL DDR layout Message-ID: <20230619131733.GG3931582@bill-the-cat> References: <20230616105238.192823-1-n-jain1@ti.com> <20230616105238.192823-10-n-jain1@ti.com> <20230616145438.GB3931582@bill-the-cat> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="U0k7Krr0+DDAbDoC" Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett 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 --U0k7Krr0+DDAbDoC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 19, 2023 at 01:36:16PM +0530, Nikhil M Jain wrote: > Hi Tom, >=20 > On 16/06/23 20:24, Tom Rini wrote: > > On Fri, Jun 16, 2023 at 04:22:38PM +0530, Nikhil M Jain wrote: > > > To understand usage of DDR in A53 SPL stage, add a table showing regi= on > > > and space used by major components of SPL. > > >=20 > > > Signed-off-by: Nikhil M Jain > > > --- > > > V4(patch introduced): > > > - Document A53 SPL DDR memory layout. > > >=20 > > > doc/board/ti/am62x_sk.rst | 53 ++++++++++++++++++++++++++++++++++++= +++ > > > 1 file changed, 53 insertions(+) > > >=20 > > > diff --git a/doc/board/ti/am62x_sk.rst b/doc/board/ti/am62x_sk.rst > > > index 27d7b527c6..ac40f8d3c4 100644 > > > --- a/doc/board/ti/am62x_sk.rst > > > +++ b/doc/board/ti/am62x_sk.rst > > > @@ -230,6 +230,59 @@ Image formats: > > > | +-------------------+ | > > > +-----------------------+ > > > +A53 SPL DDR Memory Layout > > > +------------------------- > > > + > > > +This provides an overview memory usage in A53 SPL stage. > > > + > > > + .. code-block:: text > >=20 > > The correct table format to use is in the previous section. > >=20 > +---------------------+0x80000000 > | Empty 512 KB | > | | > +---------------------+0x80080000 > | Text Base | > | 352 KB | > | | > +---------------------+0x800D8000 > | Empty 1.1MB | > | | > +---------------------+0x80200000 > | | > | | > | | > | BMP Image Load | > | | > | 9.4 MB | > | | > | | > | | > | | > | | > | | > +---------------------+0x80B77660 > | Stack 2KB | > +---------------------+0x80B77e60 > | GD 416 Bytes | > +---------------------+0x80B78000 > | | > | Malloc 352KB | > +---------------------+0x80B80000 > | | > | Empty 1 MB | > | | > +---------------------+0x80C80000 > | BSS 512 KB | > | | > +---------------------+0x80D00000 > | Blobs 1KB | > +---------------------+0x80D00400 > | | > | Empty 2.999MB | > | | > | | > +---------------------+FIT Image load address 0x81000000 >=20 > Is this the right format? Well, first an aside-rant, doc/board/ti/index.rst isn't being kept up to date. So https://u-boot.readthedocs.io/en/latest/board/ti/index.html doesn't have everything it should. Then take a look at https://u-boot.readthedocs.io/en/latest/board/ti/am62x_sk.html and tell me if ASCII art tables are really the best way to convey this information. I think with a little work you should be able to use the actual table notation (see the boot modes part) and have something that renders nicely. --=20 Tom --U0k7Krr0+DDAbDoC Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmSQVWcACgkQFHw5/5Y0 tyxgKAv/XOeE0TfLIHbLD4Tm3cuDNtabw1tyLdnHQcVJI5l+28+NzklRmhGuYcw3 j6PfpMcBCxpCETEpmzh+DNtqXfhYmdB8eymtiHkjOcetEtqD14+y3AMilUFJZde2 6ZaPqycnnFCru3c2C/EiNcZlU6tG0WXVdk75LTdrdBbLRMoGZ6U0CYwlMbJtAmd6 DhmlIYSmBMAJzND8LWmigBq6rZIs1sL+NNvwO1CXDU7WJRNqEJoDTe4a/Rhwtkg6 wNyCMk3JjxsaOHfd4vprJtWecmPcpjcgFnxGCSuj6f9x56qgwPS8whaCLF9EiA/C 4ceuONVQEpRzpGIxDLOKn5LkYPrt9rOVKMrVvOVNy53rRr3/3XR7LziADW067ISm V1aUf21GQdpZbEhs3Xd8uR7avZMQkOMvrJEfqKVeRgbxBGH5r2scjOtvoPRVHgqy dKdfJ1BMOyXsrVJcMNFdPR2pEZlOatsMoe1gyHgDZnsoyB/9E/uxr4//C3gBKqjM fKegripV =boNW -----END PGP SIGNATURE----- --U0k7Krr0+DDAbDoC--