All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: rs@ti.com
Cc: reatmon@ti.com, afd@ti.com, nm@ti.com, meta-arago@lists.yoctoproject.org
Subject: Re: [meta-arago][kirkstone/master][PATCH 4/5] packagegroup-arago-boot: add a new group for all-around useful packages
Date: Fri, 28 Jul 2023 17:09:22 -0400	[thread overview]
Message-ID: <20230728210922.GU1518@denix.org> (raw)
In-Reply-To: <20230728002032.853330-5-rs@ti.com>

"boot" packagegroup is usually used to list mandatory components required to 
boot the target.

"base" is where you list a minimal set of additional components that are often 
useful, but the target can still boot without.

And one can argue that performance util like irqbalance doesn't fit either of 
the above. While is probably fine to be included in all default images except 
tiny. Come to think of it, "addons" was a perfect place for it...


On Thu, Jul 27, 2023 at 07:20:31PM -0500, Randolph Sapp via lists.yoctoproject.org wrote:
> From: Randolph Sapp <rs@ti.com>
> 
> Add a new package group for performance or QoL tools that all images
> should inherit and add the first example of a package that should belong
> here.
> 
> Irqbalance is a good example. It helps reduce irq response delays on
> most if not all of our platforms and is only problematic for users
> attempting to reduce jitter specifically through the use of irq pinning,
> in which case it can be easily disabled.
> 
> Signed-off-by: Randolph Sapp <rs@ti.com>
> ---
>  .../recipes-core/images/arago-image.inc         |  1 +
>  .../packagegroups/packagegroup-arago-boot.bb    | 17 +++++++++++++++++
>  .../packagegroup-arago-tisdk-addons.bb          |  1 -
>  3 files changed, 18 insertions(+), 1 deletion(-)
>  create mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-boot.bb
> 
> diff --git a/meta-arago-distro/recipes-core/images/arago-image.inc b/meta-arago-distro/recipes-core/images/arago-image.inc
> index d00c1f70..0421dca3 100644
> --- a/meta-arago-distro/recipes-core/images/arago-image.inc
> +++ b/meta-arago-distro/recipes-core/images/arago-image.inc
> @@ -11,6 +11,7 @@ EXTRA_IMAGECMD:ext2.gz += "-i 4096"
>  
>  IMAGE_INSTALL = " \
>  	packagegroup-core-boot \
> +	packagegroup-arago-boot \
>  	${VIRTUAL-RUNTIME_initramfs} \
>  	${CORE_IMAGE_EXTRA_INSTALL} \
>  "
> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-boot.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-boot.bb
> new file mode 100644
> index 00000000..c9b87a45
> --- /dev/null
> +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-boot.bb
> @@ -0,0 +1,17 @@
> +SUMMARY = "Tools or utilities that all images should inherit"
> +DESCRIPTION = "These are packages that lead to general performance or QoL improvements on our platforms that should be inherited by all images. The idea is to keep this group as small as possible moving forward for compatibility with things like the tisdk-tiny-image build target."
> +LICENSE = "MIT"
> +PR = "r0"
> +
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +inherit packagegroup
> +
> +# packages that lead to general performance improvements
> +PERFORMANCE_UTILS = " \
> +    irqbalance \
> +"
> +
> +RDEPENDS:${PN} = "\
> +    ${PERFORMANCE_UTILS} \
> +"
> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
> index c678460d..a9b71fd1 100644
> --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
> +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
> @@ -50,7 +50,6 @@ UTILS:append:omap-a15 = " mmc-utils \
>  
>  UTILS:append:k3 = " mmc-utils \
>                      switch-config \
> -                    irqbalance \
>                      ti-rpmsg-char \
>                      ti-rpmsg-char-examples \
>                      statcol \
> -- 
> 2.41.0


  reply	other threads:[~2023-07-28 21:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-28  0:20 [meta-arago][kirkstone/master][PATCH 0/5] Packagegroup cleaning and a new proposal rs
2023-07-28  0:20 ` [meta-arago][kirkstone/master][PATCH 1/5] packagegroup-arago-bootstrap: fix RDEPENDS notation rs
2023-07-31 20:10   ` Denys Dmytriyenko
2023-07-28  0:20 ` [meta-arago][kirkstone/master][PATCH 2/5] packagegroup-arago-base: edit the summary to describe current use rs
2023-07-31 20:11   ` Denys Dmytriyenko
2023-07-28  0:20 ` [meta-arago][kirkstone/master][PATCH 3/5] irqbalance: remove append to install systemd script rs
2023-07-28  0:20 ` [meta-arago][kirkstone/master][PATCH 4/5] packagegroup-arago-boot: add a new group for all-around useful packages rs
2023-07-28 21:09   ` Denys Dmytriyenko [this message]
2023-07-28  0:20 ` [meta-arago][kirkstone/master][PATCH 5/5] arago-tiny-image: add packagegroup-arago-boot to IMAGE_INSTALL rs
2023-07-28 21:20   ` 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=20230728210922.GU1518@denix.org \
    --to=denis@denix.org \
    --cc=afd@ti.com \
    --cc=meta-arago@lists.yoctoproject.org \
    --cc=nm@ti.com \
    --cc=reatmon@ti.com \
    --cc=rs@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.