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 8CD85C6FD1D for ; Tue, 4 Apr 2023 17:11:30 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 032B6859DE; Tue, 4 Apr 2023 19:11:28 +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="NRmpqGRm"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 716F985AEC; Tue, 4 Apr 2023 19:11:25 +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 876C98445D for ; Tue, 4 Apr 2023 19:11:21 +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=afd@ti.com Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 334HBFIY063088; Tue, 4 Apr 2023 12:11:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1680628275; bh=tzKHp6ATMP2vINQODQ3k95EHEpbCKviP782lM/MueJk=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=NRmpqGRmAFN5QGpRliMpq8TBauwXIPGJvRp6VdLazvFWlzFuschVIg2PnMuhrUE0d M0xUIXlDvCR5FGNdOHOxIdj5KOsPfhMF8wiQl0Ba9110o/SY6JKIflMRcGRP3SvLyd OU28MGIG9gc53r5s1zFG7xWbyuaj7LPcYlArhw8A= Received: from DFLE101.ent.ti.com (dfle101.ent.ti.com [10.64.6.22]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 334HBFWK060796 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 4 Apr 2023 12:11:15 -0500 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE101.ent.ti.com (10.64.6.22) 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 12:11:15 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE109.ent.ti.com (10.64.6.30) 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 12:11:15 -0500 Received: from [10.250.32.15] (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 334HBDS3121394; Tue, 4 Apr 2023 12:11:14 -0500 Message-ID: <664d7234-3563-649d-5bb0-c65dbf35a497@ti.com> Date: Tue, 4 Apr 2023 12:11:13 -0500 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 02/18] binman: ti-secure: Add support for TI signing Content-Language: en-US To: Neha Malcom Francis , , , , , CC: , , , References: <20230404121342.446935-1-n-francis@ti.com> <20230404121342.446935-3-n-francis@ti.com> From: Andrew Davis In-Reply-To: <20230404121342.446935-3-n-francis@ti.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit 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 4/4/23 7:13 AM, Neha Malcom Francis wrote: > The ti-secure entry contains certificate for binaries that will be > loaded or booted by system firmware whereas the ti-secure-rom entry > contains certificate for binaries that will be booted by ROM. Support > for both these types of certificates is necessary for booting of K3 > devices. > > Signed-off-by: Neha Malcom Francis > --- [...] > +++ b/tools/binman/etype/ti_secure.py > @@ -0,0 +1,83 @@ > +# SPDX-License-Identifier: GPL-2.0+ > +# Copyright 20 Looks like this Copyright string got broken, I see this in a couple spots. Andrew