From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 26 Jan 2024 20:31:39 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rTRvN-004y8M-35 for lore@lore.pengutronix.de; Fri, 26 Jan 2024 20:31:39 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1rTRvO-0003sK-Tq; Fri, 26 Jan 2024 20:31:38 +0100 Received: from ptz.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::77] helo=[127.0.0.1]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1rTRv8-0003rz-6k for ptxdist@pengutronix.de; Fri, 26 Jan 2024 20:31:22 +0100 Message-ID: <13e5b14e-94a2-425b-bbe7-b478885ac313@pengutronix.de> Date: Fri, 26 Jan 2024 20:31:22 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: ptxdist@pengutronix.de References: <20240104112659.1449976-1-a.fatoum@pengutronix.de> From: Ahmad Fatoum In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [ptxdist] [PATCH] optee: version bump v3.20.0 -> v4.0.0 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false On 05.01.24 16:06, Michael Olbrich wrote: > On Thu, Jan 04, 2024 at 12:27:00PM +0100, Ahmad Fatoum wrote: >> There has been three major releases since v3.20.0 was released in >> January 2023. The latest is v4.0.0 released in October, so bump our >> rules to point at it. > > Hmmm, now optee-xtest needs libckteec.so (because my test platfrom 'imx' > now has pkcs11 enable). > > That library comes from optee-client. And there are 4 libraries in total > that we don't install: > /usr/lib/libteec.so > /usr/lib/libckteec.so > /usr/lib/libteeacl.so > /usr/lib/libseteec.so > > Do you have any insight what those are? Should we install all of them? Or > just libckteec.so for optee-xtest? I didn't, but I have checked it out now: - libteec: This is already installed by the optee-client package - libckteec: as you note this is the PKCS#11 module - libteeacl: This can be used alongside libckteec for Linux ACL based authentication based on user or group ID - libseteec: This stands for secure element control TEE client library. I don't think we need to enable this generically. I would just deploy libckteec for now and leave the others to those that need them. Cheers, Ahmad > > Michael > >> Signed-off-by: Ahmad Fatoum >> --- >> This replaces my series that made OP-TEE version Kconfig'urable, >> by just bumping versions of all components to the latest >> --- >> rules/optee-client.make | 4 ++-- >> rules/optee-examples.make | 4 ++-- >> rules/optee-test.make | 4 ++-- >> rules/optee.make | 4 ++-- >> 4 files changed, 8 insertions(+), 8 deletions(-) >> >> diff --git a/rules/optee-client.make b/rules/optee-client.make >> index 726a3edabafb..13bbea62f6a4 100644 >> --- a/rules/optee-client.make >> +++ b/rules/optee-client.make >> @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_OPTEE_CLIENT) += optee-client >> # >> # Paths and names >> # >> -OPTEE_CLIENT_VERSION := 3.20.0 >> -OPTEE_CLIENT_MD5 := 14dd4ac7af6ece4d9e69aebbeb882568 >> +OPTEE_CLIENT_VERSION := 4.0.0 >> +OPTEE_CLIENT_MD5 := e47b2d0cc95b3d1089e5373d3b477c35 >> OPTEE_CLIENT := optee-client-$(OPTEE_CLIENT_VERSION) >> OPTEE_CLIENT_SUFFIX := tar.gz >> OPTEE_CLIENT_URL := https://github.com/OP-TEE/optee_client/archive/$(OPTEE_CLIENT_VERSION).$(OPTEE_CLIENT_SUFFIX) >> diff --git a/rules/optee-examples.make b/rules/optee-examples.make >> index f28e824b77a2..a9fa368321bb 100644 >> --- a/rules/optee-examples.make >> +++ b/rules/optee-examples.make >> @@ -16,8 +16,8 @@ endif >> # >> # Paths and names >> # >> -OPTEE_EXAMPLES_VERSION := 3.20.0 >> -OPTEE_EXAMPLES_MD5 := 7082665198c65937e3738af7f2a01f73 >> +OPTEE_EXAMPLES_VERSION := 4.0.0 >> +OPTEE_EXAMPLES_MD5 := 3a0f520f527d0f3ccc336c73baa4b83d >> OPTEE_EXAMPLES := optee-examples-$(OPTEE_EXAMPLES_VERSION) >> OPTEE_EXAMPLES_SUFFIX := tar.gz >> OPTEE_EXAMPLES_URL := https://github.com/linaro-swg/optee_examples/archive/$(OPTEE_EXAMPLES_VERSION).$(OPTEE_EXAMPLES_SUFFIX) >> diff --git a/rules/optee-test.make b/rules/optee-test.make >> index 85e5f9a66178..e8f6483fcec3 100644 >> --- a/rules/optee-test.make >> +++ b/rules/optee-test.make >> @@ -16,8 +16,8 @@ endif >> # >> # Paths and names >> # >> -OPTEE_TEST_VERSION := 3.20.0 >> -OPTEE_TEST_MD5 := b0e67556ed928b50424e356e10c79781 >> +OPTEE_TEST_VERSION := 4.0.0 >> +OPTEE_TEST_MD5 := d2d1436ce8324ad81b58493dbee13be9 >> OPTEE_TEST := optee-test-$(OPTEE_TEST_VERSION) >> OPTEE_TEST_SUFFIX := tar.gz >> OPTEE_TEST_URL := https://github.com/OP-TEE/optee_test/archive/$(OPTEE_TEST_VERSION).$(OPTEE_TEST_SUFFIX) >> diff --git a/rules/optee.make b/rules/optee.make >> index a3735dc0f605..bfffa750a2ca 100644 >> --- a/rules/optee.make >> +++ b/rules/optee.make >> @@ -16,8 +16,8 @@ endif >> # >> # Paths and names >> # >> -OPTEE_VERSION := 3.20.0 >> -OPTEE_MD5 := 4ffc0d561f9db90180575992beac5a9d >> +OPTEE_VERSION := 4.0.0 >> +OPTEE_MD5 := f7e9e874481dfb6b6b0998e1acb4e215 >> OPTEE := optee-$(OPTEE_VERSION) >> OPTEE_SUFFIX := tar.gz >> OPTEE_URL := https://github.com/OP-TEE/optee_os/archive/$(OPTEE_VERSION).$(OPTEE_SUFFIX) >> -- >> 2.39.2 >> >> >> > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |