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 <[email protected]>
>> ---
>> 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 via email to