From 797bcf304890120d1e81dd1f5726c7de23da51cb Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Mon, 30 May 2022 18:51:36 -0400 Subject: sllin: switch to updated upstream Changes: - Switch the SRC_URI of the sllin driver recipe to point at the new revived upstream location, update to their latest commit to get newer kernel support, and drop all the now unnecessary local patches. - Added a patch to fix compilation against 5.4 kernels before 5.4.110. This will be worked with upstream as time permits. - Rename the sllin driver recipe with a _git suffix to match OE style expectations. - Added the sllin driver to packagegroup-agl-demo as was being done in previous releases. - Split the demo script + service unit and lin_config configuration out of the sllin driver recipe into a new sllin-demo recipe so that they're no longer conflated. This should make it easier for others to reuse the sllin driver recipe. - Update the SRC_URI and SRCREV of the lin_config recipe to also point at the new upstream location/version since it comes out of the same repository. - Add the new master mode "-m" flag to the lin_config command line in the start_lin_demo.sh script (now in sllin-demo). This turns out to be required for our demo usecase as upstream seem to have inadvertently changed the default behavior. Bug-AGL: SPEC-4404 Signed-off-by: Scott Murray Change-Id: Ic6081184d43c516fc4372919b2cf1ed597a90624 --- recipes-platform/packagegroups/packagegroup-agl-demo.bb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'recipes-platform/packagegroups') diff --git a/recipes-platform/packagegroups/packagegroup-agl-demo.bb b/recipes-platform/packagegroups/packagegroup-agl-demo.bb index b0db220fc..b12f37678 100644 --- a/recipes-platform/packagegroups/packagegroup-agl-demo.bb +++ b/recipes-platform/packagegroups/packagegroup-agl-demo.bb @@ -9,7 +9,8 @@ PACKAGES = "\ packagegroup-agl-demo \ " -ALLOW_EMPTY:${PN} = "1" +# HVAC and steering wheel demo dependency +LIN_DRIVERS ??= " sllin" # Hook for demo platform configuration # ATM, only used to disable btwilink module on [MH]3ULCB + Kingfisher by default, @@ -18,10 +19,6 @@ DEMO_ENABLE_BTWILINK ?= "" DEMO_PLATFORM_CONF = "" DEMO_PLATFORM_CONF:append:ulcb = "${@bb.utils.contains("DEMO_ENABLE_BTWILINK", "true", "", " btwilink-disable-conf", d)}" -RDEPENDS:${PN} += "\ - udisks2 \ - " - # fonts TTF_FONTS = " \ ttf-bitstream-vera \ @@ -35,13 +32,14 @@ TTF_FONTS = " \ source-han-sans-kr-fonts \ " - RDEPENDS:${PN} += " \ + udisks2 \ linux-firmware-ath9k \ linux-firmware-ralink \ can-utils \ cannelloni \ iproute2 \ + ${LIN_DRIVERS} \ ${DEMO_PLATFORM_CONF} \ ${TTF_FONTS} \ ${@bb.utils.contains('DISTRO_FEATURES', 'webruntime', 'virtual/webruntime', '', d)} \ -- cgit 1.2.3-korg