mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] optee: version bump v3.20.0 -> v4.0.0
Date: Fri, 26 Jan 2024 20:31:22 +0100	[thread overview]
Message-ID: <13e5b14e-94a2-425b-bbe7-b478885ac313@pengutronix.de> (raw)
In-Reply-To: <ZZgbC7Wjta47N75O@pengutronix.de>

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 <a.fatoum@pengutronix.de>
>> ---
>> 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 |




      reply	other threads:[~2024-01-26 19:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-04 11:27 Ahmad Fatoum
2024-01-05 15:06 ` Michael Olbrich
2024-01-26 19:31   ` Ahmad Fatoum [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=13e5b14e-94a2-425b-bbe7-b478885ac313@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox