diff mbox series

genericarm64.conf: override poky-altcfg distro kernel version

Message ID 20251129133901.1732829-1-mikko.rapeli@linaro.org (mailing list archive)
State New
Headers show
Series genericarm64.conf: override poky-altcfg distro kernel version | expand

Commit Message

Mikko Rapeli Nov. 29, 2025, 1:39 p.m. UTC
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(+)

Comments

Richard Purdie Nov. 29, 2025, 11:36 p.m. UTC | #1
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
diff mbox series

Patch

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"