pi4: pin kernel to 4.19 prior to the YP 3.1.4 uprev 16/25716/3
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 3 Dec 2020 01:08:51 +0000 (02:08 +0100)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 4 Dec 2020 13:50:03 +0000 (13:50 +0000)
The uprev to YP 'dunfell' 3.1.4 would change the default kernel used by the pi4.
This has an effect on the DTBo's used for booting and in CI.

One effect is that create-combined-dtb won't no longer build.
Also we might have to change away from fkms on kernel 5.4 .

Bug-AGL: SPEC-3702
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: If7353c1b9fde4ef4fe6456ce969a37e2734c5a79
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25716

meta-agl-bsp/conf/include/agl_raspberrypi4.inc

index ae302aa..3d21d56 100644 (file)
@@ -26,3 +26,6 @@ IMAGE_INSTALL_append = " ${@bb.utils.contains('AGL_XEN_WANTED', '1', 'xen-tools
 
 # Add xen-raspberry binary to boot files
 IMAGE_BOOT_FILES_append = " ${@bb.utils.contains('AGL_XEN_WANTED','1', 'xen-${MACHINE}', '',d)}"
+
+# pin the kernel to 4.19.x for SPEC-3702
+PREFERRED_VERSION_linux-raspberrypi ?= "4.19.%"