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 20BC6C6FD1D for ; Tue, 4 Apr 2023 18:25:11 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9424085AEC; Tue, 4 Apr 2023 20:25:08 +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="j+SCQnrV"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9DCA385C6D; Tue, 4 Apr 2023 20:25:06 +0200 (CEST) Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (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 213C485893 for ; Tue, 4 Apr 2023 20:25:00 +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=n-francis@ti.com Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 334IOrMM077727; Tue, 4 Apr 2023 13:24:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1680632693; bh=N9b6OgCC+T3XnjcLwHawuZGBfJKdenFq0sKmr/sW0JQ=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=j+SCQnrVkOx99Ul8nJ6FeuGCj1DBi7eJ44lZPmZubYs2h6WZb5IRWTXez+CrUn86G hEsamA78JsiXMtAYbpNHdRsalUwKidgyuwwicexxhkt7Jv1MOUylZTEe4B6hUH6aYl s+IMBidx53a49MqFGsVY3MJTP06iy61kaWAOb/fg= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 334IOrcr006377 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 4 Apr 2023 13:24:53 -0500 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Tue, 4 Apr 2023 13:24:53 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Tue, 4 Apr 2023 13:24:53 -0500 Received: from [10.249.131.16] (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 334IOntf081564; Tue, 4 Apr 2023 13:24:50 -0500 Message-ID: Date: Tue, 4 Apr 2023 23:54:48 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v2 05/18] j721e: dts: binman: Package tiboot3.bin, sysfw.itb, tispl.bin, u-boot.img Content-Language: en-US To: Andrew Davis , , , , , CC: , , , References: <20230404121342.446935-1-n-francis@ti.com> <20230404121342.446935-6-n-francis@ti.com> <8cdbf69b-5471-6f0e-becd-ae3b09112647@ti.com> From: Neha Malcom Francis In-Reply-To: <8cdbf69b-5471-6f0e-becd-ae3b09112647@ti.com> Content-Type: text/plain; charset="UTF-8"; format=flowed 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.8 at phobos.denx.de X-Virus-Status: Clean Hi Andrew On 04/04/23 22:50, Andrew Davis wrote: > On 4/4/23 7:13 AM, Neha Malcom Francis wrote: >> By providing entries in the binman node of the device tree, binman will >> be able to find and package board config artifacts generated by >> TIBoardConfig with sysfw.bin and generate the final image sysfw.itb. >> It will also pick out the R5 SPL and sign it with the help of TI signing >> entry and generate the final tiboot3.bin. >> >> Entries for A72 build have been added to k3-j721e-binman.dtsi to >> generate tispl.bin and u-boot.img. >> >> Support has been added for both HS(SR 1.1) and GP images where the >> encrypted system firmware binary must be signed along with the signed >> certificate binary. >> >> tiboot3.bin and sysfw-j721e_sr1_1-hs.itb: For HS devices >> tiboot3.bin_unsigned and sysfw-j721e-gp-evm.itb: For GP devices >> .bin/img: For HS devices >> .bin_unsigned/img_unsigned: For GP devices >> >> Intention of patch is to move signing and packaging to binman, >> thus making makefile target only if binman is not enabled. >> >> It is to be noted that the bootflow followed by J721E requires: >> >> tiboot3.bin: >>     * R5 SPL >>     * R5 SPL dtbs >> >> sysfw.itb: >>     * TIFS >>     * board-cfg >>     * pm-cfg >>     * sec-cfg >>     * rm-cfg >> >> tispl.bin: >>     * DM >>     * ATF >>     * OPTEE >>     * A72 SPL >>     * A72 SPL dtbs >> >> u-boot.img: >>     * A72 U-Boot >>     * A72 U-Boot dtbs >> >> Signed-off-by: Neha Malcom Francis >> --- > > [...] > >> +        ti_fs_cert: ti-fs-cert.bin { >> +            filename = "ti-fs-firmware-j721e_sr1_1-hs-cert.bin"; > Suggest prefix these with the expected directory name, > > filename = "ti-sysfw/ti-fs-firmware-j721e_sr1_1-hs-cert.bin"; > > that way we only need to do one simple firmware path export: > > export BINMAN_INDIRS="" > > Same below for DM firmware which lives in the same firmware repo but in > a directory that depends on the platform, selecting the correct platform > directory here in this file makes it so much easier for users. > > [...] > >> + filename = "ipc_echo_testb_mcu1_0_release_strip.xer5f"; > > filename = "ti-dm/j721e/ipc_echo_testb_mcu1_0_release_strip.xer5f"; > > Do that for all the DM/SYSFW files for all the platforms in this series. > That makes it easier, I'll do that, thanks! > Thanks, > Andrew -- Thanking You Neha Malcom Francis