All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: Nishanth Menon <nm@ti.com>
Cc: Drew Fustini <dfustini@baylibre.com>,
	meta-ti@lists.yoctoproject.org, Ryan Eatmon <reatmon@ti.com>
Subject: Re: [meta-ti] [PATCH dunfell 0/3] fix ARAGO_BRAND=mainline builds
Date: Tue, 19 Jul 2022 15:51:02 -0400	[thread overview]
Message-ID: <20220719195102.GE18692@denix.org> (raw)
In-Reply-To: <20220719132201.2r73plviktkkxnkf@wrecker>

On Tue, Jul 19, 2022 at 08:22:01AM -0500, Nishanth Menon wrote:
> On 23:18-20220718, Denys Dmytriyenko wrote:
> > I was thinking that instead of keying off of ARAGO_BRAND=mainline, which 
> > is very specific to Arago distro, long term we should instead key off of 
> > PREFERRED_PROVIDER_virtual/kernel=linux-ti-mainline, that is specific to 
> > meta-ti... Thoughts?
> 
> 
> We'd want mainline kernel, u-boot, tf-a, optee ..... as many upstream
> components as possible. is there a way to create a virtual package group
> that points to all upstream base components?
> 
> I am looking for ways we can enable this beyond just arago brand.

My understanding is that tf-a and optee were initially forked for K3 
development, but these days are pretty much the same as upstream.

And optee is already pulling code from upstream, just pinning down to a 
specific version and doing some extra TI-specific signing on top.

As of tf-a, I'd recommend dropping git.ti.com fork completely and pulling 
from upstream, if possible.

But kernel/U-boot is a bit more involved. Those are done as multiple 
providers and require switching corresponding PREFERRED_PROVIDER 
variables.

Either way, for testing which kernel is being built (ti-staging or mainline) 
and which U-boot (ti-staging or mainline), checking PREFERRED_PROVIDER 
should be doable and Distro-agnostic.

As of creating a virtual package group, it might be a bit challenging. 
Since if you try building linux-ti-mainline w/o switching preferred provider, 
you'd get an error saying there's a conflict between 2 kernels.

It would be more involved to solve this w/o simply switching providers, 
maybe with multiconfig, or something like that...

-- 
Denys


  reply	other threads:[~2022-07-19 19:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-04  3:06 [PATCH dunfell 0/3] fix ARAGO_BRAND=mainline builds Drew Fustini
2022-07-04  3:06 ` [PATCH dunfell 1/3] conf: am57xx-evm: avoid missing dtb files when ARAGO_BRAND=mainline Drew Fustini
2022-07-04  3:06 ` [PATCH dunfell 2/3] conf: dra7xx-evm: " Drew Fustini
2022-07-04  3:06 ` [PATCH dunfell 3/3] conf: am43: " Drew Fustini
2022-07-19  3:18 ` [meta-ti] [PATCH dunfell 0/3] fix ARAGO_BRAND=mainline builds Denys Dmytriyenko
2022-07-19 13:22   ` Nishanth Menon
2022-07-19 19:51     ` Denys Dmytriyenko [this message]
2022-07-19 20:15       ` Andrew Davis
2022-07-19 20:34         ` Denys Dmytriyenko
2022-07-20 20:45       ` Drew Fustini
2022-07-20 22:37         ` Denys Dmytriyenko

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=20220719195102.GE18692@denix.org \
    --to=denis@denix.org \
    --cc=dfustini@baylibre.com \
    --cc=meta-ti@lists.yoctoproject.org \
    --cc=nm@ti.com \
    --cc=reatmon@ti.com \
    /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.