public inbox for yocto@lists.yoctoproject.org
 help / color / mirror / Atom feed
From: "Sumit Garg" <sumit.garg@kernel.org>
To: raj.khem@gmail.com, ross.burton@arm.com, thomas.perrot@bootlin.com
Cc: yocto@lists.yoctoproject.org,
	"nylon.chen@sifive.com" <nylon.chen@sifive.com>,
	"peter.lin@sifive.com" <peter.lin@sifive.com>,
	"meta-arm@lists.yoctoproject.org"
	<meta-arm@lists.yoctoproject.org>,
	ricardo.salveti@oss.qualcomm.com,
	dmitry.baryshkov@oss.qualcomm.com
Subject: Re: [meta-arm] [yocto] [RFC] Moving OP-TEE support from meta-arm to oe-core
Date: Fri, 23 Jan 2026 16:50:18 +0530	[thread overview]
Message-ID: <aXNZcv9laWEjvB4W@sumit-xelite> (raw)
In-Reply-To: <CAMKF1sq=OEHMM97DiKsdBTnCdSCbsfzTLiADfyUb0=RbVBVYeA@mail.gmail.com>

On Thu, Jan 22, 2026 at 09:22:27AM -0800, Khem Raj via lists.yoctoproject.org wrote:
> On Thu, Jan 22, 2026 at 9:05 AM Ross Burton via lists.yoctoproject.org
> <ross.burton=arm.com@lists.yoctoproject.org> wrote:
> 
> > On 22 Jan 2026, at 09:33, Thomas Perrot via lists.yoctoproject.org
> > <thomas.perrot=bootlin.com@lists.yoctoproject.org> wrote:
> > >
> > > Hi,
> > >
> > > Currently, OP-TEE support is maintained in the meta-arm layer. However,
> > > OP-TEE is now being adopted by non-ARM platforms as well, notably RISC-
> > > V.
> > >
> > > Given this broader adoption, would it make sense to move the OP-TEE
> > > recipes from meta-arm to oe-core?
> > >
> > > I'd like to hear the community's thoughts on this.
> >

I would be supportive of idea to move upstream aligned OP-TEE recipes to
OE core which can be built in an architecture neutral way.

> > Copying in the meta-arm list.
> >
> > My immediate thought on this is “would the riscv machines actually use the
> > same recipes” or is there enough forking and vendor branches happening that
> > whilst in theory everyone is using OP-TEE, they’re not all using the _same_
> > optee.
> >

Agree, I rarely see OP-TEE and TF-A recipes being reused by various
vendor BSP layers. There is enough forking there for sure but the other
reason is that vendor BSP layer maintainers don't typically want to
depend on meta-arm but only OE core. This typically causes the vendor
BSPs to just copy TF-A and OP-TEE recipes rather than using overrides.

Not sure what's the standard practice that OE/Yocto community would
recommend here to avoid duplication.

BTW, compilation for RISC-V can be referred here [1].

[1] https://github.com/OP-TEE/optee_os/blob/master/.github/workflows/ci.yml#L331

> > I’m not against moving genuinely shared recipes somewhere common, but I do
> > think verifying this will actually happen is important.
> >
> > meta-arm tends to have several versions of optee at once for good reason…
> > (currently one, but about to be two)
> >
> >
> I think its a good idea, but Ross's point is good too. If optee is forked
> for every architecture that can not be a good thing. However, if we can get
> qemuarm64 and qemuriscv64 based machines use an upstream version reliably,
> we might be able to even help upstream to keep things sane
> atleast for emulated machine architecture, similar to u-boot.
> 

That's right, getting the OP-TEE recipes in OE core would provide better
chances of cross-architecture reuse following the U-Boot example.

Although I would have hoped full boot stack including TF-A recipes to be
in OE-core for emulated machines but not sure if that's really meta-arm
maintainers are looking forward too.

-Sumit

> 
> > Ross
> > 
> >
> >

> 
> 
> 



  reply	other threads:[~2026-01-23 11:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-22  9:33 [RFC] Moving OP-TEE support from meta-arm to oe-core Thomas Perrot
2026-01-22 17:04 ` [yocto] " Ross Burton
2026-01-22 17:22   ` Khem Raj
2026-01-23 11:20     ` Sumit Garg [this message]
2026-02-03 16:29     ` Thomas Perrot
2026-03-31 13:49       ` Jose Quaresma
2026-01-22 17:32   ` Rahul Singh
2026-01-24 13:23 ` John Dowd

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=aXNZcv9laWEjvB4W@sumit-xelite \
    --to=sumit.garg@kernel.org \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=meta-arm@lists.yoctoproject.org \
    --cc=nylon.chen@sifive.com \
    --cc=peter.lin@sifive.com \
    --cc=raj.khem@gmail.com \
    --cc=ricardo.salveti@oss.qualcomm.com \
    --cc=ross.burton@arm.com \
    --cc=thomas.perrot@bootlin.com \
    --cc=yocto@lists.yoctoproject.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox