From mboxrd@z Thu Jan 1 00:00:00 1970 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 EB74FC001B0 for ; Wed, 26 Jul 2023 16:27:29 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 652BE868C3; Wed, 26 Jul 2023 18:27:27 +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="TB5inl9i"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 57B95868A1; Wed, 26 Jul 2023 18:27:24 +0200 (CEST) Received: from mail-vs1-xe31.google.com (mail-vs1-xe31.google.com [IPv6:2607:f8b0:4864:20::e31]) (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 131D18681E for ; Wed, 26 Jul 2023 18:27:02 +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-vs1-xe31.google.com with SMTP id ada2fe7eead31-440ad406bc8so1837193137.3 for ; Wed, 26 Jul 2023 09:27:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1690388821; x=1690993621; 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=NglSpT3tyPNUPnhZudWRN8csGtjOV/67aGfl2zhVvP8=; b=TB5inl9if6lGvdgl8oBwrl4BPLmvfqkRtJqIcrZf3HFEMAh1qkt549oJWpR69mzu5H bHbHDNGMSmBOQDYlMIPh6FR3oWnXnd2LiXeQx+HxmChis1MjLtpVuzsD+x3cMczZBsWR Y75fuMJu1Kc/771PeybBqC0Ea3FyHoMlOXKwE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690388821; x=1690993621; 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=NglSpT3tyPNUPnhZudWRN8csGtjOV/67aGfl2zhVvP8=; b=iatoRjmGhnQt0Rro9jH54PAr6E9qC7zpvHGkaKY4oGPnKCMRHBXdgXV3Yfdn3nQ/98 EMnFXe/02tdXpzoy+hWTyHCjGzzU4Q5gybhMuzNYuB+6oYhiHx3jirQ/yvBYRwxRC1IW 4xjTG7Da3T2BxCJhp/tRNUuE7JaGW5fmjnv6J+I//9fY9FWHjoxZOPUSldqNhcIwWCZa jpJABAyIqeWLkXwJhjiQ5Uo2MVMyIOAwAoJVSeP+HZtVFh46ZeQO3RDRtuIA36vUNeQ1 W5fArh7ZMAVLklJphMN1fqwnZvf8nKa3a7Qpc62Cm/JEBIPZvbN9c4jm/5aBYdkndJdR 6L7g== X-Gm-Message-State: ABy/qLY22Uzy9QWzwDmiStBZb5Pka9dfkYqP/TlQZSgYRrvwuCmYLuF1 wY2NzMH9AU1YVeDbfCgiDs/2gLnD7AOWUPuX7D98KA== X-Google-Smtp-Source: APBJJlF9wXFd+Z8MEA+coWX04zov5kHQPNi/yJuAnjRCYkJzMnHMI29MESCLv4FlVYeBqJJUiMNdEg== X-Received: by 2002:a5b:b81:0:b0:d0b:9ec8:d13c with SMTP id l1-20020a5b0b81000000b00d0b9ec8d13cmr2127288ybq.41.1690388509659; Wed, 26 Jul 2023 09:21:49 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-08f6-b38b-1fda-25aa.res6.spectrum.com. [2603:6081:7b00:6400:8f6:b38b:1fda:25aa]) by smtp.gmail.com with ESMTPSA id 189-20020a250ac6000000b00d1e6e93e8f5sm297983ybk.51.2023.07.26.09.21.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jul 2023 09:21:49 -0700 (PDT) Date: Wed, 26 Jul 2023 12:21:47 -0400 From: Tom Rini To: Andrew Davis Cc: Nishanth Menon , Neha Malcom Francis , Bryan Brattlof , Praneeth Bajjuri , Robert Nelson , Vignesh R , u-boot@lists.denx.de Subject: Re: [PATCH 6/6] doc: board: ti: Add beagleplay documentation Message-ID: <20230726162147.GT3630934@bill-the-cat> References: <20230725185253.2123433-1-nm@ti.com> <20230725185253.2123433-7-nm@ti.com> <20230725213552.GJ3630934@bill-the-cat> <20230725220015.i5dctounavfnsobg@wrinkle> <20230725224539.GM3630934@bill-the-cat> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="JTCvHxx6lKUf+3Ij" 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 --JTCvHxx6lKUf+3Ij Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 26, 2023 at 09:59:16AM -0500, Andrew Davis wrote: > On 7/25/23 5:45 PM, Tom Rini wrote: > > 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 P= LAT=3Dk3 \ > > > > > + TARGET_BOARD=3Dlite SPD=3Dopteed > > > > > + > > > > > +2. OP-TEE: > > > > > + > > > > > +.. code-block:: bash > > > > > + > > > > > + $ make PLATFORM=3Dk3 CFG_ARM64_core=3Dy CROSS_COMPILE=3Darm-non= e-linux-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 sta= te > > > > that TF-A should be which of {lite|generic|j784s4} as it is a $fami= ly > > > > device. And we then drop much of the duplication here. > > >=20 > > > Also, Robert pointed out I missed K3_PM_SYSTEM_SUSPEND=3D1 :( > >=20 > > Ugh, how many platforms is that variable valid for? > >=20 > None soon :) >=20 > I'm getting rid of that flag in TF-A. There is a bug blocking me right no= w, > but after that it will be automatic. Not sure if it is worth documenting a > flag that is going away.. OK. But, automatic how? What I'm getting at, from both a documentation standpoint and also how I run my labs standpoint, is that it seems like instead of having a set of TF-A and OP-TEE binaries for each TI K3 platform I have, I really need just 3 different TF-A builds (well, in reality I don't have the J784s4 stuff so just 2) and a single OP-TEE build. --=20 Tom --JTCvHxx6lKUf+3Ij Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmTBSBgACgkQFHw5/5Y0 tyyy8gv/XAHC1ncmFAVqwSc3t6QrvCg1ezqjOWpH2wI1vxmJNWySnWanH27Be9X1 9HHxbHVnl5MK3Sv7HrPSe1La0xwS0gahEkOKQ/tc63FDU5/D7m++nXWXLpxAeY1e GmCVSidtKYJp3uP/bXKBbjPTPpo1JrpJR7O9QRbzMA3c37JT3Cn18koUu2oXaduj vLIC7eTav2o5Sx0AJRJ05gc08EaBz48jOs0fg5MgA3VxKpgRB6Kl4WPyjpCD969V +L6a7R5VANce4TUqDGDAsPKTr0QKr6P5lpnlL6ZwSIdMf0cMQBQLEhnvhbjV9TwU VHFo/IrTKzIppNKOtEZq2mbeQVCed4AEp2BImDsWKmIyXDFRkqgf7LVSajMeqGA8 CbS5hEyYHs1bJXBiayibWCE8h8HfuuVIbLINgh113/wg9WirEpjn6j4hHj6iQgNZ 5rk6YSTT4V2BYGI/yMBQixusSW43r3chIn09y5jUo6jtgupdQC17/njxZPNFyTq8 l+KePxRB =iW6O -----END PGP SIGNATURE----- --JTCvHxx6lKUf+3Ij--