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 B4C6FEB64DD for ; Tue, 25 Jul 2023 22:45:51 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CE250857BF; Wed, 26 Jul 2023 00:45:48 +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="X9VJUBfa"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7D2D185E35; Wed, 26 Jul 2023 00:45:46 +0200 (CEST) Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) (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 8E5A884782 for ; Wed, 26 Jul 2023 00:45:43 +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-yb1-xb31.google.com with SMTP id 3f1490d57ef6-d16639e16e6so1752213276.3 for ; Tue, 25 Jul 2023 15:45:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1690325142; x=1690929942; 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=prIPWw3CwLwanK4exnZIzbyfWI1dYqw575iRrgwkcGI=; b=X9VJUBfaQnMRMU63R3GesisD/s4yHV3sNZkfTTJF3skIrVDII5LNIDmQHiLRLyxgSZ KXFf202Vo7mSLG8Vkfw0wKy3JRxoi5J3cvGebu6YGL5eZ4gixT72M539VzAGUDBGrDfw H82ielFf4LaeryBZba4PttQWIQlotShGLfM2U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690325142; x=1690929942; 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=prIPWw3CwLwanK4exnZIzbyfWI1dYqw575iRrgwkcGI=; b=lOj6fog799acFjIV3NOvmQ+6K/QpuMggh0I8cmYmrnxtIaMzn+o5/tRkUupVjdROSm RkPDbGhNrL3AzO8uEiJazi20gsQ2piS/Xy5cxNFU2X4yKBzhrcR34msebwsmgZuLHJNJ wnLtLzx8X2wZtFR/+e4eqH8d2USV6pM7noJ4CI9F/7JZSMY5JYMBRRwGIau7+k8nS6I8 ZMDzYw5RYFIpcYS8s3sHmiYy+Ant11qJvTY4rl6l4R4nxfR3Qu4LfNxxmzjob8QeJV6s Q8g2LNHX2vs0edvKXDina0/AQRFF6p/eeGKq4Ah30Gv2IVTM48awdw6+jOdO40G0NbcT VxwA== X-Gm-Message-State: ABy/qLa53YsiCle0UHvgYbAvqSnIC4tUL6xvT/rUtq26XwB2SC/KVamY /A7/n9LDylxLgvCiCyi/kTyWVw== X-Google-Smtp-Source: APBJJlFDVM/gQCzzrBvz0AMm+iKw1jfBmmkT1HILabcJGF240Yp8qE24yjgGPX7Y7rxerphaNSp9/A== X-Received: by 2002:a5b:74e:0:b0:d08:50cc:4733 with SMTP id s14-20020a5b074e000000b00d0850cc4733mr293746ybq.45.1690325142272; Tue, 25 Jul 2023 15:45:42 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-b236-e3a5-57be-379d.res6.spectrum.com. [2603:6081:7b00:6400:b236:e3a5:57be:379d]) by smtp.gmail.com with ESMTPSA id n18-20020a25d612000000b00d0ad212e100sm1938806ybg.21.2023.07.25.15.45.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jul 2023 15:45:41 -0700 (PDT) Date: Tue, 25 Jul 2023 18:45:39 -0400 From: Tom Rini To: Nishanth Menon Cc: Neha Malcom Francis , Bryan Brattlof , Praneeth Bajjuri , Andrew Davis , Robert Nelson , Vignesh R , u-boot@lists.denx.de Subject: Re: [PATCH 6/6] doc: board: ti: Add beagleplay documentation Message-ID: <20230725224539.GM3630934@bill-the-cat> References: <20230725185253.2123433-1-nm@ti.com> <20230725185253.2123433-7-nm@ti.com> <20230725213552.GJ3630934@bill-the-cat> <20230725220015.i5dctounavfnsobg@wrinkle> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="GqT9vmfxDWjScZqo" Content-Disposition: inline In-Reply-To: <20230725220015.i5dctounavfnsobg@wrinkle> 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 --GqT9vmfxDWjScZqo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 25, 2023 at 05:00:15PM -0500, Nishanth Menon wrote: > On 17:35-20230725, Tom Rini wrote: > > On Tue, Jul 25, 2023 at 01:52:53PM -0500, Nishanth Menon wrote: > >=20 > [...] >=20 > > > + > > > +Build procedure: > > > +---------------- > > > +1. Trusted Firmware-A: > > > + > > > +.. code-block:: bash > > > + > > > + $ make CROSS_COMPILE=3Daarch64-none-linux-gnu- ARCH=3Daarch64 PLAT= =3Dk3 \ > > > + TARGET_BOARD=3Dlite SPD=3Dopteed > > > + > > > +2. OP-TEE: > > > + > > > +.. code-block:: bash > > > + > > > + $ make PLATFORM=3Dk3 CFG_ARM64_core=3Dy CROSS_COMPILE=3Darm-none-li= nux-gnueabihf- \ > > > + CROSS_COMPILE64=3Daarch64-none-linux-gnu- > >=20 > > So, we have some generic wording on how to build TF-A and OP-TEE up in > > doc/board/ti/k3.rst. It should be made clearer if needed that unless > > otherwise indicated, top of tree is expected to be used for TF-A/OP-TEE > > and ti-linux-firmware for the ti-linux-firmware repo. Then just state > > that TF-A should be which of {lite|generic|j784s4} as it is a $family > > device. And we then drop much of the duplication here. >=20 > Also, Robert pointed out I missed K3_PM_SYSTEM_SUSPEND=3D1 :( Ugh, how many platforms is that variable valid for? > I am wondering how to let people read a single page and know all the > steps to build the components needed instead of referring to other docs. >=20 > Are you thinking something like: > https://gist.github.com/nmenon/8c883ebf37a5d6021400cce9d76bfc35 >=20 > I am not a sphinx expert, is this something you'd not like? I was thinking something more literal and just not have specific copy/paste instructions as you have to fill in a real path to the other files. Just a link back to the K3 doc portion about building the other things. > I have had feedback from multiple folks saying one single doc showing > all the build commands for the platform is what they are trying to get.. > so this might be a good trade-off, perhaps? Bah! Then we really need to figure out how to do something that is not literal copy/paste/minor edit, for every platform. But I've not played with doing something like that before. > [..] > > > +Image formats: > > > +-------------- > > > + > > > +The Image format follows the standard AM62X image format [1]_. > > > + > > > +A53 SPL DDR Memory Layout > > > +------------------------- > >=20 > > This is unchanged for all AM62 platforms, yes? That should be in a > > generic am62 doc. >=20 > I really did think of it, but then, if we did have config fragments, I > could have reused things, but at the moment, it is a different > defconfig.. hence, though it is same at the moment, I cant guarantee it. Hunh? This isn't even a we have different SRAMs thing. Pick some values, use them every time, and note that they could be modified if needed, but it's not suggested as there's many implications to doing so. Especially since this is the SPL map. --=20 Tom --GqT9vmfxDWjScZqo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmTAUIgACgkQFHw5/5Y0 tywIJwwAm2Gjhq9GgtMV4QW8yBwQ+DzDepIr4Q/sS+X16M8oQkPVEFkXGbGxFU7H LwMynI/FdibHytGYlJ+1cybQ2Ef25hgyUcn1CYSiTkEy7wOvadndcU/HauxM7NEX Nqdf7eajWu66UJF/2AhAZSv/gBd0FJOzG3jrK3FLviF3VBFSeBcZllBE4yuG4lTQ 3MYBpq9d3P40qDw4d/u2dgTgCFpr62201jP1tUFP5s9ZccRehEoPkzAVnrhKASWY Qi7ZwHQs907U1YbqUVOrhszzM/u7Xrd9lxGuLVFVIa2dgb2yzZ18qCrSTOcmQoie og7OWb1NGMjMmwcMY/90vVKmKdd2q7TJH1/d0w4BI0e+lFnI5sLHTAnfclc8UOUf b5omas79B7P0TFyrTHqnZ9X9Pkkl0PS370BxWDaH2p856jg/MPNFXm1RWQPwPLFW ynQoialWqGv8mYLrF6UGq504uVTaEtD8LhuYvn63sw+8m9O/tvRmucHR2gYjU4hk Odqxhiuh =1XcM -----END PGP SIGNATURE----- --GqT9vmfxDWjScZqo--