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 7849DC433F5 for ; Mon, 18 Apr 2022 18:49:17 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5358C811D8; Mon, 18 Apr 2022 20:49:15 +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="rcMnJjCR"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6DF0180A4E; Mon, 18 Apr 2022 20:49:14 +0200 (CEST) Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (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 E2CD4837C9 for ; Mon, 18 Apr 2022 20:49:11 +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=vigneshr@ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 23IIn69V014609; Mon, 18 Apr 2022 13:49:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1650307746; bh=FRWX/Bg100Vc6zxMMH/4KYuW5pSqhD7fGRcZGADKUi4=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=rcMnJjCRH/uvnSKirQJFDA7/gDhqIvj4AKyB0sTNY87MSco3KU5+aid/SFEBvxSe3 mh2gLqF29C9nf94ToZb36cScuU0WOryIstArt4Cy9p9TNdtFkYj2BO6/PMVXetxUft SeaNoKncQl301XoEgigXDKf6BrtuS6sgEIW8I2Jo= Received: from DLEE110.ent.ti.com (dlee110.ent.ti.com [157.170.170.21]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 23IIn6QK009426 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 18 Apr 2022 13:49:06 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) 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.2308.14; Mon, 18 Apr 2022 13:49:06 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Mon, 18 Apr 2022 13:49:05 -0500 Received: from [10.250.235.115] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 23IIn0xY065159; Mon, 18 Apr 2022 13:49:01 -0500 Message-ID: Date: Tue, 19 Apr 2022 00:19:00 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH 11/11] doc: ti: Add readme for AM62x SK Content-Language: en-US To: Andrew Davis , Tom Rini , Dave Gerlach , Lukasz Majewski , Sean Anderson , Peng Fan , Jaehoon Chung CC: Simon Glass , Suman Anna , Nishanth Menon , Aswath Govindraju , Bryan Brattlof , , Georgi Vlaev References: <20220415140931.490047-1-vigneshr@ti.com> <20220415140931.490047-12-vigneshr@ti.com> <5cda75ec-f7d4-bfe4-b23c-87394c19175b@ti.com> From: Vignesh Raghavendra In-Reply-To: <5cda75ec-f7d4-bfe4-b23c-87394c19175b@ti.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit 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.5 at phobos.denx.de X-Virus-Status: Clean On 18/04/22 8:26 pm, Andrew Davis wrote: > On 4/15/22 9:09 AM, Vignesh Raghavendra wrote: >> Add info of boot flow and build steps for AM62x SK. >> >> Signed-off-by: Vignesh Raghavendra >> --- >>   doc/board/ti/am62x_sk.rst | 231 ++++++++++++++++++++++++++++++++++++++ > > > This isn't specific to the SK, more the AM62x in general, suggest name > am62x.rst. > Agreed > [...] > > >> +Build procedure: >> +---------------- >> +1. ATF: >> + >> +.. code-block:: text >> + >> + $ make CROSS_COMPILE=aarch64-none-linux-gnu- ARCH=aarch64 PLAT=k3 >> TARGET_BOARD=lite SPD=opteed >> + > > > These compiler names might not be the same as installed by some current > package managers (-none), > maybe we start by setting up two env vars to point to the two compilers > we use: > > export CROSS_COMPILE32=arm-none-linux-gnueabihf- > export CROSS_COMPILE64=aarch64-none-linux-gnu- > > Then just use those below, that way we only have to switch these first > two commands if we > have a different compiler. > > CROSS_COMPILE=$CROSS_COMPILE32 > Good idea, thanks! > etc.. > > >> +2. OPTEE: >> + >> +.. code-block:: text >> + >> + $ make PLATFORM=k3 CFG_ARM64_core=y >> CROSS_COMPILE=arm-none-linux-gnueabihf- >> CROSS_COMPILE64=aarch64-none-linux-gnu- >> + >> +3. U-Boot: >> + >> +* 3.1 R5: >> + >> +.. code-block:: text >> + >> + $ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- >> am62x_evm_r5_defconfig O=/tmp/r5 > > > Lets not pollute directories outside of the current one, suggest > `O=build/r5` > and the same below. Sure, will fix! Regards Vignesh