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 8E776EB64DD for ; Tue, 25 Jul 2023 22:00:43 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AF73086785; Wed, 26 Jul 2023 00:00:40 +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="ZUgbzjnC"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 751A586789; Wed, 26 Jul 2023 00:00:31 +0200 (CEST) Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (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 949F48636F for ; Wed, 26 Jul 2023 00:00:23 +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=nm@ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 36PM0Fw6019261; Tue, 25 Jul 2023 17:00:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1690322415; bh=oJ1ZU3yW5twhNOE7zsk5bn9UxV3jbA6wctofdzPeSGc=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=ZUgbzjnClcphU2YH/IWTqME1OYHVqpwTMpKNyRaXdNSgQyTR8CVwd0I2+U7urnxcG 295TlOTRkwAPUI1ZlNOn974pBroB1z1lbs4wt0bT2VzfbWvsURssTpRtxJNFTrQygn cn8wTmFrEmPZ8Ox+YFAJvWwSKfcyafHLrQSkUnq0= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 36PM0FdL016959 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 25 Jul 2023 17:00:15 -0500 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 25 Jul 2023 17:00:15 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE110.ent.ti.com (157.170.170.21) 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; Tue, 25 Jul 2023 17:00:15 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 36PM0FGD030245; Tue, 25 Jul 2023 17:00:15 -0500 Date: Tue, 25 Jul 2023 17:00:15 -0500 From: Nishanth Menon To: Tom Rini CC: Neha Malcom Francis , Bryan Brattlof , Praneeth Bajjuri , Andrew Davis , Robert Nelson , Vignesh R , Subject: Re: [PATCH 6/6] doc: board: ti: Add beagleplay documentation Message-ID: <20230725220015.i5dctounavfnsobg@wrinkle> References: <20230725185253.2123433-1-nm@ti.com> <20230725185253.2123433-7-nm@ti.com> <20230725213552.GJ3630934@bill-the-cat> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230725213552.GJ3630934@bill-the-cat> 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 17:35-20230725, Tom Rini wrote: > On Tue, Jul 25, 2023 at 01:52:53PM -0500, Nishanth Menon wrote: > [...] > > + > > +Build procedure: > > +---------------- > > +1. Trusted Firmware-A: > > + > > +.. code-block:: bash > > + > > + $ make CROSS_COMPILE=aarch64-none-linux-gnu- ARCH=aarch64 PLAT=k3 \ > > + TARGET_BOARD=lite SPD=opteed > > + > > +2. OP-TEE: > > + > > +.. code-block:: bash > > + > > + $ make PLATFORM=k3 CFG_ARM64_core=y CROSS_COMPILE=arm-none-linux-gnueabihf- \ > > + CROSS_COMPILE64=aarch64-none-linux-gnu- > > 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. Also, Robert pointed out I missed K3_PM_SYSTEM_SUSPEND=1 :( 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. Are you thinking something like: https://gist.github.com/nmenon/8c883ebf37a5d6021400cce9d76bfc35 I am not a sphinx expert, is this something you'd not like? 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? [..] > > +Image formats: > > +-------------- > > + > > +The Image format follows the standard AM62X image format [1]_. > > + > > +A53 SPL DDR Memory Layout > > +------------------------- > > This is unchanged for all AM62 platforms, yes? That should be in a > generic am62 doc. 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. -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D