From: Alejandro Hernandez <alhe@linux.microsoft.com>
To: Jon Mason <jdmason@kudzu.us>
Cc: Denys Dmytriyenko <denis@denix.org>,
Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>,
Sumit Garg <sumit.garg@linaro.org>,
"meta-arm@lists.yoctoproject.org"
<meta-arm@lists.yoctoproject.org>,
Vishnu Banavath <Vishnu.Banavath@arm.com>,
Maxim Uvarov <maxim.uvarov@linaro.org>,
Peter Griffin <peter.griffin@linaro.org>,
Drew Reed <Drew.Reed@arm.com>
Subject: Re: [meta-arm] [PATCH] arm/optee: Upgrade from 3.14 to 3.16
Date: Thu, 10 Mar 2022 17:11:55 +0000 [thread overview]
Message-ID: <571898ed-d0f4-a7c6-9559-4a125baf7c38@linux.microsoft.com> (raw)
In-Reply-To: <f91a66b2-53da-4ba9-dc20-3d2b4d590206@linux.microsoft.com>
[-- Attachment #1: Type: text/plain, Size: 3668 bytes --]
On 3/10/22 01:05, Alejandro Hernandez wrote:
>
>
> On 3/9/22 13:01, Jon Mason wrote:
>> On Fri, Mar 04, 2022 at 03:16:31AM +0000, Alejandro Hernandez wrote:
>>> On 3/3/22 23:37, Denys Dmytriyenko wrote:
>>>> On Thu, Mar 03, 2022 at 09:11:28PM +0000, Alejandro Hernandez Samaniego wrote:
>>>>> On 3/3/22 10:55, Abdellatif El Khlifi wrote:
>>>>>> Hello,
>>>>>>
>>>>>> I suggest the following:
>>>>>>
>>>>>> In meta-arm-bsp/conf/layer.conf add :
>>>>>>
>>>>>> LAYERDEPENDS_meta-arm-bsp:append:qemuarm64-secureboot = "
>>>>>> meta-python openembedded-layer"
>>>>> This statement is a little confusing (to me), please correct me if
>>>>> I'm wrong, but you're saying
>>>>>
>>>>> we should set a dependency from meta-arm-bsp layer, only for
>>>>> qemuarm64-secureboot,
>>>>>
>>>>> however, the qemuarm64-secureboot is part of meta-arm and not meta-arm-bsp,
>>>>>
>>>>> AFAIC meta-arm-bsp has now knowledge of its existence, in fact
>>>>> there's no other mention of
>>>>>
>>>>> qemuarm64-secureboot in meta-arm-bsp.
>>>> Moreover, optee is used by other BSP layers (e.g. meta-ti) by depending on
>>>> meta-arm, not meta-arm-bsp.
>>>>
>>>> Depending on python3-cryptography which is only available in meta-python (part
>>>> of meta-openembedded) should be avoided. Back in the day we pushed for moving
>>>> other python3 dependencies like pycryptodome and pyelftools into OE-Core:
>>>>
>>>> https://git.openembedded.org/meta-openembedded/commit/?id=a8f3c00d8d113b46a49584682e10435157d516ca
>>>> https://git.yoctoproject.org/meta-arm/commit/?id=f2069723f27d9229e8ec74263a41160c8df32571
>>>>
>>>> We could try doing the same with this new python3-cryptography dependecy and
>>>> propose moving it to OE-Core. Alternatively, consider adding it to meta-arm?
>>>> Not ideal, but meta-arm-bsp briefly carried alternative/older version recently:
>>>>
>>>> https://git.yoctoproject.org/meta-arm/commit/?id=a15c16068ab011e2ba91a6c4ca6e1251de0d8058
>>> I agree with Denys's point here, I think its likely there's other cases just like
>>> meta-ti, and we would be forcing a meta-oe and meta-python dependency on them, IMO
>>> it would make sense to add a copy of python3-cryptography to meta-arm (especially since
>>> there's been similar situations in the past) and in parallel try to make a case for
>>> python3-cryptography to be moved from meta-python to OE-core.
>>>
>>> Once (and if) we're successful we can delete the python3-cyrptography copy from meta-arm.
>> This seems reasonable. Can you rework your series to add this? Also,
>> we need to keep the older version of OPTEE for corstone1000 (for the
>> kirkstone release). So, if you can keep that around in v2, it would
>> be appreciated.
>>
>> Thanks,
>> Jon
> Will do, I'll send a v2 soon.
> Cheers,
> Alejandro
>
>
Quick update before sending v2, the list of required dependencies to bring python3-cryptography is the following:
recipes:
python3-asn1crypto_1.4.0.bb
python3-cffi_1.15.0.bb
python3-cryptography
python3-cryptography_36.0.1.bb
python3-cryptography-vectors_36.0.1.bb
python3-pycparser_2.21.bb
python3-semantic-version_2.9.0.bb
python3-setuptools-rust-native_1.1.2.bb
python3-typing-extensions_3.10.0.0.bb
classes:
pyo3.bbclass
setuptools3_rust.bbclass
Alejandro
>>> Alejandro
>>>
>>> -=-=-=-=-=-=-=-=-=-=-=-
>>> Links: You receive all messages sent to this group.
>>> View/Reply Online (#3142):https://lists.yoctoproject.org/g/meta-arm/message/3142
>>> Mute This Topic:https://lists.yoctoproject.org/mt/89404067/4354175
>>> Group Owner:meta-arm+owner@lists.yoctoproject.org
>>> Unsubscribe:https://lists.yoctoproject.org/g/meta-arm/unsub [alhe@linux.microsoft.com]
>>> -=-=-=-=-=-=-=-=-=-=-=-
>>>
[-- Attachment #2: Type: text/html, Size: 6375 bytes --]
next prev parent reply other threads:[~2022-03-10 17:12 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-26 3:04 [PATCH] arm/optee: Upgrade from 3.14 to 3.16 Alejandro Enedino Hernandez Samaniego
2022-03-01 16:27 ` Jon Mason
2022-03-01 21:54 ` [meta-arm] " Alejandro Hernandez
[not found] ` <Yh+DX8uaoS1VPpQ8@kudzu.us>
2022-03-03 5:31 ` Sumit Garg
2022-03-03 10:55 ` Abdellatif El Khlifi
2022-03-03 21:11 ` Alejandro Hernandez
2022-03-03 23:37 ` Denys Dmytriyenko
2022-03-04 3:16 ` Alejandro Hernandez
2022-03-04 3:58 ` Tim Orling
2022-03-04 11:35 ` Abdellatif El Khlifi
2022-03-04 11:43 ` Abdellatif El Khlifi
2022-03-04 18:56 ` Denys Dmytriyenko
2022-03-09 20:01 ` Jon Mason
2022-03-10 1:05 ` Alejandro Hernandez
2022-03-10 13:44 ` Ross Burton
2022-03-10 16:37 ` Richard Purdie
2022-03-10 16:53 ` Ross Burton
2022-03-10 17:11 ` Alejandro Hernandez [this message]
2022-03-12 22:02 ` Tim Orling
[not found] ` <ae6d4ed4ab31810631fd311956d9675c48f5284e.camel@linuxfoundation.org>
2022-03-14 0:54 ` Alejandro Enedino Hernandez Samaniego
2022-03-23 13:31 ` Jon Mason
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=571898ed-d0f4-a7c6-9559-4a125baf7c38@linux.microsoft.com \
--to=alhe@linux.microsoft.com \
--cc=Drew.Reed@arm.com \
--cc=Vishnu.Banavath@arm.com \
--cc=abdellatif.elkhlifi@arm.com \
--cc=denis@denix.org \
--cc=jdmason@kudzu.us \
--cc=maxim.uvarov@linaro.org \
--cc=meta-arm@lists.yoctoproject.org \
--cc=peter.griffin@linaro.org \
--cc=sumit.garg@linaro.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.