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 4FEF0C433FE for ; Tue, 31 May 2022 10:53:46 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D3FAE83993; Tue, 31 May 2022 12:53:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="T7i3wM/O"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EC8A183993; Tue, 31 May 2022 12:53:41 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (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 6D89A83C10 for ; Tue, 31 May 2022 12:53:36 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=rogerq@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1737460F58; Tue, 31 May 2022 10:53:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E0AA4C3411D; Tue, 31 May 2022 10:53:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653994414; bh=Kf38Hj/Mt9sUTKn47e6g/8bZzUebkeIiw0DuWyAJrkM=; h=Date:Subject:To:References:From:In-Reply-To:From; b=T7i3wM/Oi+baKCH/NrrDV6ZSdQIXEhTP35giPbwmoE1d7x+oCBfQo3xZKqCT1p+QI dS1xEuXJ8Cidh18NJSml7UbbWy6NynXS/9QkhDoPtWXx2to0bgYSpV4rZI7B00ICcc PGkCB3FmWCCmsFTXXacQ/AUjqYrqzDED+1XDTg9H/jm5xY+y/Z58KAKRPCcsgaBGpn 5n0JPxOi9Q4zMRH3ysCYDrul+rhKmkMr8zF9BSadQi64F7d/1KjXIkk2PecbEY2OSd Sl0PvtpZoTzr0YupjHQ3oxPwfMj7tZohJbP5uo67FCetwi7zdZjhQv+m3z1wt0TYOg P0AO/Yz1/GYtA== Message-ID: <61433c6f-01d5-5c2b-dfbb-ceda4707924d@kernel.org> Date: Tue, 31 May 2022 13:53:31 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH RFC v2 08/11] ti: tispl.bin: Removed script that packages tispl.bin Content-Language: en-US To: Neha Malcom Francis , u-boot@lists.denx.de References: <20220506043759.8193-1-n-francis@ti.com> <20220506043759.8193-9-n-francis@ti.com> From: Roger Quadros In-Reply-To: <20220506043759.8193-9-n-francis@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 06/05/2022 07:37, Neha Malcom Francis wrote: > As tispl.bin is to be packaged (with ATF, OPTEE, DM and A72 SPL) using > binman, the shell script k3_fit_atf.sh is no longer needed. Removing This is not true until you have migrated all K3 platforms to use binman. So let's leave this script here for now. > this file. > > Signed-off-by: Neha Malcom Francis cheers, -roger > --- > tools/k3_fit_atf.sh | 123 -------------------------------------------- > 1 file changed, 123 deletions(-) > delete mode 100755 tools/k3_fit_atf.sh > > diff --git a/tools/k3_fit_atf.sh b/tools/k3_fit_atf.sh > deleted file mode 100755 > index 7bc07ad074..0000000000 > --- a/tools/k3_fit_atf.sh > +++ /dev/null > @@ -1,123 +0,0 @@ > -#!/bin/sh > -# SPDX-License-Identifier: GPL-2.0+ > -# > -# script to generate FIT image source for K3 Family boards with > -# ATF, OPTEE, SPL and multiple device trees (given on the command line). > -# Inspired from board/sunxi/mksunxi_fit_atf.sh > -# > -# usage: $0 [ [ - > -[ -z "$ATF" ] && ATF="bl31.bin" > - > -if [ ! -f $ATF ]; then > - echo "WARNING ATF file $ATF NOT found, resulting binary is non-functional" >&2 > - ATF=/dev/null > -fi > - > -[ -z "$TEE" ] && TEE="bl32.bin" > - > -if [ ! -f $TEE ]; then > - echo "WARNING OPTEE file $TEE NOT found, resulting might be non-functional" >&2 > - TEE=/dev/null > -fi > - > -[ -z "$DM" ] && DM="dm.bin" > - > -if [ ! -e $DM ]; then > - echo "WARNING DM file $DM NOT found, resulting might be non-functional" >&2 > - DM=/dev/null > -fi > - > -if [ ! -z "$IS_HS" ]; then > - HS_APPEND=_HS > -fi > - > -cat << __HEADER_EOF > -/dts-v1/; > - > -/ { > - description = "Configuration to load ATF and SPL"; > - #address-cells = <1>; > - > - images { > - atf { > - description = "ARM Trusted Firmware"; > - data = /incbin/("$ATF"); > - type = "firmware"; > - arch = "arm64"; > - compression = "none"; > - os = "arm-trusted-firmware"; > - load = <$1>; > - entry = <$1>; > - }; > - tee { > - description = "OPTEE"; > - data = /incbin/("$TEE"); > - type = "tee"; > - arch = "arm64"; > - compression = "none"; > - os = "tee"; > - load = <0x9e800000>; > - entry = <0x9e800000>; > - }; > - dm { > - description = "DM binary"; > - data = /incbin/("$DM"); > - type = "firmware"; > - arch = "arm32"; > - compression = "none"; > - os = "DM"; > - load = <0x89000000>; > - entry = <0x89000000>; > - }; > - spl { > - description = "SPL (64-bit)"; > - data = /incbin/("spl/u-boot-spl-nodtb.bin$HS_APPEND"); > - type = "standalone"; > - os = "U-Boot"; > - arch = "arm64"; > - compression = "none"; > - load = <0x80080000>; > - entry = <0x80080000>; > - }; > -__HEADER_EOF > - > -# shift through ATF load address in the command line arguments > -shift > - > -for dtname in $* > -do > - cat << __FDT_IMAGE_EOF > - $(basename $dtname) { > - description = "$(basename $dtname .dtb)"; > - data = /incbin/("$dtname$HS_APPEND"); > - type = "flat_dt"; > - arch = "arm"; > - compression = "none"; > - }; > -__FDT_IMAGE_EOF > -done > - > -cat << __CONF_HEADER_EOF > - }; > - configurations { > - default = "$(basename $1)"; > - > -__CONF_HEADER_EOF > - > -for dtname in $* > -do > - cat << __CONF_SECTION_EOF > - $(basename $dtname) { > - description = "$(basename $dtname .dtb)"; > - firmware = "atf"; > - loadables = "tee", "dm", "spl"; > - fdt = "$(basename $dtname)"; > - }; > -__CONF_SECTION_EOF > -done > - > -cat << __ITS_EOF > - }; > -}; > -__ITS_EOF