The recent bump of meta-freescale with the kirkstone 4.0.2 upgrade
brought an upgrade to 5.18 in the linux-fslc kernel, which breaks
sllin compilation. Tweak the i.MX6 and i.MX8 machine templates to
use the 5.15 linux-fslc-lts kernel, which matches linux-yocto in
poky and seems a better choice going forward with kirkstone.
Bug-AGL: SPEC-4501
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ib75d8c844301c5ac902e18d02ff8ac6176f614c7
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27842
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
require agl_imx6-common.inc
+# Force use of the community supported LTS kernel instead of the
+# default linux-fslc
+PREFERRED_PROVIDER_virtual/kernel = "linux-fslc-lts"
+
# Include devicetrees for SOM 1.5 and Hummingboard 2 hardware
KERNEL_DEVICETREE:append = " \
imx6dl-hummingboard-som-v15.dtb \
require agl_imx6-common.inc
+
+# Force use of the community supported LTS kernel instead of the
+# default linux-fslc
+IMX_DEFAULT_KERNEL:imx6qdlsabreauto = "linux-fslc-lts"
require agl_imx-common.inc
# Force use of the community supported LTS kernel instead of the
-# default linux-imx
-#IMX_DEFAULT_KERNEL:imx8mq-evk = "linux-fslc-imx"
+# default linux-fslc
+IMX_DEFAULT_KERNEL:imx8mq-evk = "linux-fslc-lts"
# For EVKB wifi support
#MACHINE_FEATURES:append = " bcm4356"