All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] genericarm64.conf: override poky-altcfg distro kernel version
@ 2025-11-29 13:39 Mikko Rapeli
  2025-11-29 23:36 ` [poky] " Richard Purdie
  0 siblings, 1 reply; 6+ messages in thread
From: Mikko Rapeli @ 2025-11-29 13:39 UTC (permalink / raw)
  To: poky; +Cc: Mikko Rapeli, Ross Burton

To use latest stable kernel from oe-core. It has much more genericarm64
support than the old version selected by poky-altcfg distro.

genericarm64 machine basically only works well with systemd init with
udev already in initramfs and thus with poky-altcfg distro, not plain
poky distro.

This setting makes default release binaries for poky-altcfg distro
useful for genericarm64 machine and the many HW devices we want to
support.

Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
---
 meta-yocto-bsp/conf/machine/genericarm64.conf | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-yocto-bsp/conf/machine/genericarm64.conf b/meta-yocto-bsp/conf/machine/genericarm64.conf
index ff0c29d..d1763f3 100644
--- a/meta-yocto-bsp/conf/machine/genericarm64.conf
+++ b/meta-yocto-bsp/conf/machine/genericarm64.conf
@@ -12,6 +12,9 @@ MACHINE_FEATURES = "acpi alsa bluetooth efi keyboard pci qemu-usermode rtc scree
 
 KERNEL_IMAGETYPE = "Image"
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
+# Update kernel to latest stable when using systemd based poky-altcfg distro
+PREFERRED_VERSION_linux-yocto:poky-altcfg = ""
+PREFERRED_VERSION_linux-yocto-rt:poky-altcfg = ""
 
 # Install all the kernel modules into the rootfs
 MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [poky] [PATCH] genericarm64.conf: override poky-altcfg distro kernel version
  2025-11-29 13:39 [PATCH] genericarm64.conf: override poky-altcfg distro kernel version Mikko Rapeli
@ 2025-11-29 23:36 ` Richard Purdie
  2025-12-01  7:00   ` Mikko Rapeli
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Purdie @ 2025-11-29 23:36 UTC (permalink / raw)
  To: mikko.rapeli, poky; +Cc: Ross Burton

On Sat, 2025-11-29 at 15:39 +0200, Mikko Rapeli via lists.yoctoproject.org wrote:
> To use latest stable kernel from oe-core. It has much more genericarm64
> support than the old version selected by poky-altcfg distro.
> 
> genericarm64 machine basically only works well with systemd init with
> udev already in initramfs and thus with poky-altcfg distro, not plain
> poky distro.
> 
> This setting makes default release binaries for poky-altcfg distro
> useful for genericarm64 machine and the many HW devices we want to
> support.
> 
> Cc: Ross Burton <ross.burton@arm.com>
> Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
> ---
>  meta-yocto-bsp/conf/machine/genericarm64.conf | 3 +++
>  1 file changed, 3 insertions(+)

I have said no and I have explained why not. Sending it again doesn't
change that. We need to find a different solution.

Cheers,

Richard


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [poky] [PATCH] genericarm64.conf: override poky-altcfg distro kernel version
  2025-11-29 23:36 ` [poky] " Richard Purdie
@ 2025-12-01  7:00   ` Mikko Rapeli
  2025-12-01 10:47     ` Alexander Kanavin
  0 siblings, 1 reply; 6+ messages in thread
From: Mikko Rapeli @ 2025-12-01  7:00 UTC (permalink / raw)
  To: Richard Purdie; +Cc: poky, Ross Burton, Bill Mills

Hi,

On Sat, Nov 29, 2025 at 11:36:27PM +0000, Richard Purdie wrote:
> On Sat, 2025-11-29 at 15:39 +0200, Mikko Rapeli via lists.yoctoproject.org wrote:
> > To use latest stable kernel from oe-core. It has much more genericarm64
> > support than the old version selected by poky-altcfg distro.
> > 
> > genericarm64 machine basically only works well with systemd init with
> > udev already in initramfs and thus with poky-altcfg distro, not plain
> > poky distro.
> > 
> > This setting makes default release binaries for poky-altcfg distro
> > useful for genericarm64 machine and the many HW devices we want to
> > support.
> > 
> > Cc: Ross Burton <ross.burton@arm.com>
> > Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
> > ---
> > �meta-yocto-bsp/conf/machine/genericarm64.conf | 3 +++
> > �1 file changed, 3 insertions(+)
> 
> I have said no and I have explained why not. Sending it again doesn't
> change that. We need to find a different solution.

This was another implementation, an override on machine config side.

The kernel version needs to be agreed by both distro and machine configs
and we have a disagreement here.

What kind of alternatives or different solutions do we have?
Another build variant in AB?

For genericarm64 machine, the current setup is not useful with systemd and old
kernel version. Users must recompile or wait until all fixes to kernel configs
are in the oldest available kernel in tree.

Cheers,

-Mikko


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [poky] [PATCH] genericarm64.conf: override poky-altcfg distro kernel version
  2025-12-01  7:00   ` Mikko Rapeli
@ 2025-12-01 10:47     ` Alexander Kanavin
  2025-12-01 11:28       ` Mikko Rapeli
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Kanavin @ 2025-12-01 10:47 UTC (permalink / raw)
  To: mikko.rapeli; +Cc: Richard Purdie, poky, Ross Burton, Bill Mills

On Mon, 1 Dec 2025 at 08:00, Mikko Rapeli via lists.yoctoproject.org
<mikko.rapeli=linaro.org@lists.yoctoproject.org> wrote:

> What kind of alternatives or different solutions do we have?
> Another build variant in AB?

Add the needed fixes to poky and the components used in it so that
genericarm64 does not de facto require systemd? I find that deeply
problematic to begin with.

Alex


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [poky] [PATCH] genericarm64.conf: override poky-altcfg distro kernel version
  2025-12-01 10:47     ` Alexander Kanavin
@ 2025-12-01 11:28       ` Mikko Rapeli
  2025-12-01 11:39         ` Alexander Kanavin
  0 siblings, 1 reply; 6+ messages in thread
From: Mikko Rapeli @ 2025-12-01 11:28 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: Richard Purdie, poky, Ross Burton, Bill Mills

Hi,

On Mon, Dec 01, 2025 at 11:47:46AM +0100, Alexander Kanavin wrote:
> On Mon, 1 Dec 2025 at 08:00, Mikko Rapeli via lists.yoctoproject.org
> <mikko.rapeli=linaro.org@lists.yoctoproject.org> wrote:
> 
> > What kind of alternatives or different solutions do we have?
> > Another build variant in AB?
> 
> Add the needed fixes to poky and the components used in it so that
> genericarm64 does not de facto require systemd? I find that deeply
> problematic to begin with.

We have a working configuration and we have plenty of broken ones.

I'm trying to serve users who would like to see the known
working configuration of systemd and latest stable kernel as output
from the Yocto Project. If something in that working configuration
breaks, then its up to me as co-maintainer of genericarm64 to fix it.

I'm sorry that this does not convince you. I've tried to help with
U-Boot, kernel etc genericarm64 BSP updates and IMO done quite a bit of
development work in linux-yocto kernel to get it working on more HW.

Sounds like building this genericarm64 "known good config" should
move to outside of oe-core and meta-yocto, maybe meta-arm then.

Cheers,

-Mikko


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [poky] [PATCH] genericarm64.conf: override poky-altcfg distro kernel version
  2025-12-01 11:28       ` Mikko Rapeli
@ 2025-12-01 11:39         ` Alexander Kanavin
  0 siblings, 0 replies; 6+ messages in thread
From: Alexander Kanavin @ 2025-12-01 11:39 UTC (permalink / raw)
  To: Mikko Rapeli; +Cc: Richard Purdie, poky, Ross Burton, Bill Mills

On Mon, 1 Dec 2025 at 12:28, Mikko Rapeli <mikko.rapeli@linaro.org> wrote:
> I'm trying to serve users who would like to see the known
> working configuration of systemd and latest stable kernel as output
> from the Yocto Project. If something in that working configuration
> breaks, then its up to me as co-maintainer of genericarm64 to fix it.
>
> I'm sorry that this does not convince you. I've tried to help with
> U-Boot, kernel etc genericarm64 BSP updates and IMO done quite a bit of
> development work in linux-yocto kernel to get it working on more HW.
>
> Sounds like building this genericarm64 "known good config" should
> move to outside of oe-core and meta-yocto, maybe meta-arm then.

Let me take a moment to explain why I am not convinced.

"I have users who are paying me to do X" is not an argument that can
ever work well with me personally. What would work much better is "X
is a good thing for the Yocto Project in the long run, and open source
ecosystem in general". And you can't possibly make that argument when
X is "let's be complicit in (or actively work towards!) systemd
creeping in as a hard requirement to run Linux".

Alex


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-12-01 11:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-29 13:39 [PATCH] genericarm64.conf: override poky-altcfg distro kernel version Mikko Rapeli
2025-11-29 23:36 ` [poky] " Richard Purdie
2025-12-01  7:00   ` Mikko Rapeli
2025-12-01 10:47     ` Alexander Kanavin
2025-12-01 11:28       ` Mikko Rapeli
2025-12-01 11:39         ` Alexander Kanavin

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.