From bb2f72ff3081dd37582810fdf1ea7c08fc352ef4 Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Thu, 25 Apr 2024 05:21:24 +0300 Subject: [PATCH 1/8] pil-squasher: bump SRCREV Bump SRCREV to pickup the fix for sm8650 mbn files. Unfortunately this also means updating the LIC_FILE_CHKSUM and SRC_URI. Signed-off-by: Dmitry Baryshkov --- recipes-devtools/pil-squasher/pil-squasher_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-devtools/pil-squasher/pil-squasher_git.bb b/recipes-devtools/pil-squasher/pil-squasher_git.bb index 0095282f3..062eff188 100644 --- a/recipes-devtools/pil-squasher/pil-squasher_git.bb +++ b/recipes-devtools/pil-squasher/pil-squasher_git.bb @@ -3,11 +3,11 @@ HOMEPAGE = "https://github.com/andersson/pil-squasher.git" SECTION = "devel" LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://pil-squasher.c;beginline=1;endline=30;md5=632a4253d26470c9301255e9a3dc31a0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=aac743f09c3b727c9fa920ed48cc946d" -SRCREV = "e8573feaad506f5f41227d8abd905312426607c1" +SRCREV = "e25efba9b3abb16643262e9a9e3eb330c48cf9a5" SRC_URI = " \ - git://github.com/andersson/${BPN}.git;branch=master;protocol=https \ + git://github.com/linux-msm/${BPN}.git;branch=master;protocol=https \ " PV = "0.0+${SRCPV}" From b0626cfd66d46ee2699b5ef0d50bf71390e1bc78 Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Thu, 25 Apr 2024 05:28:40 +0300 Subject: [PATCH 2/8] firmware: qcom-sm8650: package firmware for the HDK Package firmware for the Qualcomm SM8650 HDK. Signed-off-by: Dmitry Baryshkov --- .../firmware/firmware-qcom-sm8650-hdk.bb | 25 +++++++++++++++++++ .../initramfs-firmware-sm8650-hdk-image.bb | 10 ++++++++ .../packagegroup-firmware-sm8650-hdk.bb | 13 ++++++++++ 3 files changed, 48 insertions(+) create mode 100644 recipes-bsp/firmware/firmware-qcom-sm8650-hdk.bb create mode 100644 recipes-bsp/images/initramfs-firmware-sm8650-hdk-image.bb create mode 100644 recipes-bsp/packagegroups/packagegroup-firmware-sm8650-hdk.bb diff --git a/recipes-bsp/firmware/firmware-qcom-sm8650-hdk.bb b/recipes-bsp/firmware/firmware-qcom-sm8650-hdk.bb new file mode 100644 index 000000000..567995229 --- /dev/null +++ b/recipes-bsp/firmware/firmware-qcom-sm8650-hdk.bb @@ -0,0 +1,25 @@ +# Specify location of the corresponding NON-HLOS.bin file by adding +# NHLOS_URI:pn-firmware-qcom-sm8450-hdk = "..." to local.conf. Use "file://" +# if the file is provided locally. + +DESCRIPTION = "QCOM Firmware for SM8650 HDK board" + +LICENSE = "CLOSED" + +FW_QCOM_NAME = "sm8650" + +FW_QCOM_LIST = "\ + adsp.mbn adsp_dtb.mbn adspr.jsn adsps.jsn adspua.jsn battmgr.jsn \ + cdsp.mbn cdsp_dtb.mbn cdspr.jsn \ + ipa_fws.mbn \ +" + +require recipes-bsp/firmware/firmware-qcom.inc +require recipes-bsp/firmware/firmware-qcom-nhlos.inc +require recipes-bsp/firmware/firmware-qcom-adreno.inc + +SPLIT_FIRMWARE_PACKAGES = "\ + linux-firmware-qcom-${FW_QCOM_NAME}-audio \ + linux-firmware-qcom-${FW_QCOM_NAME}-compute \ + linux-firmware-qcom-${FW_QCOM_NAME}-ipa \ +" diff --git a/recipes-bsp/images/initramfs-firmware-sm8650-hdk-image.bb b/recipes-bsp/images/initramfs-firmware-sm8650-hdk-image.bb new file mode 100644 index 000000000..5b45bf268 --- /dev/null +++ b/recipes-bsp/images/initramfs-firmware-sm8650-hdk-image.bb @@ -0,0 +1,10 @@ +DESCRIPTION = "Tiny ramdisk image with SM8650 HDK devices firmware files" + +PACKAGE_INSTALL += " \ + packagegroup-firmware-sm8650-hdk \ +" + +BAD_RECOMMENDATIONS = " \ +" + +require initramfs-firmware-image.inc diff --git a/recipes-bsp/packagegroups/packagegroup-firmware-sm8650-hdk.bb b/recipes-bsp/packagegroups/packagegroup-firmware-sm8650-hdk.bb new file mode 100644 index 000000000..69419e402 --- /dev/null +++ b/recipes-bsp/packagegroups/packagegroup-firmware-sm8650-hdk.bb @@ -0,0 +1,13 @@ +SUMMARY = "Firmware packages for the SM8650-HDK board" + +inherit packagegroup + +RRECOMMENDS:${PN} += " \ + ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'linux-firmware-qca', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'linux-firmware-ath12k', '', d)} \ + firmware-qcom-sm8650-hdk \ + linux-firmware-lt9611uxc \ + linux-firmware-qcom-sm8650-audio \ + linux-firmware-qcom-sm8650-compute \ + linux-firmware-qcom-sm8650-ipa \ +" From bfc8af3f3babd317fe49ebb0db93484391c2a86c Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Wed, 17 Apr 2024 10:32:14 +0300 Subject: [PATCH 3/8] firmware-pixel: install WiFi and modem firmware Include WiFi firmware, BDF and modem loader firmware to generated package. Signed-off-by: Dmitry Baryshkov --- recipes-bsp/firmware-nexus/firmware-qcom-pixel.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes-bsp/firmware-nexus/firmware-qcom-pixel.inc b/recipes-bsp/firmware-nexus/firmware-qcom-pixel.inc index c3546316c..0bd778454 100644 --- a/recipes-bsp/firmware-nexus/firmware-qcom-pixel.inc +++ b/recipes-bsp/firmware-nexus/firmware-qcom-pixel.inc @@ -66,6 +66,10 @@ do_install() { ls ${B}/firmware/*.jsn && install -m 0644 ${B}/firmware/*.jsn ${D}${FW_QCOM_PATH} + ls ${B}/firmware/bdwlan* && install -m 0644 ${B}/firmware/bdwlan* ${D}${FW_QCOM_PATH} + ls ${B}/firmware/mba.mbn && install -m 0644 ${B}/firmware/mba.mbn ${D}${FW_QCOM_PATH} + ls ${B}/firmware/wlanmdsp.mbn && install -m 0644 ${B}/firmware/wlanmdsp.mbn ${D}${FW_QCOM_PATH} + ls ${B}/firmware/a[0-9]*_gmu.bin && install -m 0644 ${B}/firmware/a[0-9]*_gmu.bin ${D}${FW_QCOM_PATH} ls ${B}/a[0-9]*.mbn && install -m 0644 ${B}/a[0-9]*.mbn ${D}${FW_QCOM_PATH} From 2ce7f6d11e6117b9bd43c8d64840cdc5183f36b0 Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Wed, 17 Apr 2024 10:39:12 +0300 Subject: [PATCH 4/8] packagegroup-firmware-sm8450-hdk: include lt9611uxc firmware Add lt9611uxc firmware to the list of the firmware for the board. Signed-off-by: Dmitry Baryshkov --- recipes-bsp/packagegroups/packagegroup-firmware-sm8450-hdk.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-bsp/packagegroups/packagegroup-firmware-sm8450-hdk.bb b/recipes-bsp/packagegroups/packagegroup-firmware-sm8450-hdk.bb index e895ca440..6a9fef9c0 100644 --- a/recipes-bsp/packagegroups/packagegroup-firmware-sm8450-hdk.bb +++ b/recipes-bsp/packagegroups/packagegroup-firmware-sm8450-hdk.bb @@ -7,6 +7,7 @@ RRECOMMENDS:${PN} += " \ ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'linux-firmware-qca', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'linux-firmware-ath11k', '', d)} \ firmware-qcom-sm8450-hdk \ + linux-firmware-lt9611uxc \ linux-firmware-qcom-sm8450-audio \ linux-firmware-qcom-sm8450-compute \ linux-firmware-qcom-sm8450-modem \ From 43091b714dee20e780c1ed3675f45dfb95953b3d Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Wed, 17 Apr 2024 10:39:12 +0300 Subject: [PATCH 5/8] packagegroup-firmware-sm8350-hdk: include lt9611uxc firmware Add lt9611uxc firmware to the list of the firmware for the board. Signed-off-by: Dmitry Baryshkov --- recipes-bsp/packagegroups/packagegroup-firmware-sm8350-hdk.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-bsp/packagegroups/packagegroup-firmware-sm8350-hdk.bb b/recipes-bsp/packagegroups/packagegroup-firmware-sm8350-hdk.bb index 0b1f548d6..05187fc6e 100644 --- a/recipes-bsp/packagegroups/packagegroup-firmware-sm8350-hdk.bb +++ b/recipes-bsp/packagegroups/packagegroup-firmware-sm8350-hdk.bb @@ -7,6 +7,7 @@ RRECOMMENDS:${PN} += " \ ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'linux-firmware-qca', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'linux-firmware-ath11k', '', d)} \ firmware-qcom-sm8350-hdk \ + linux-firmware-lt9611uxc \ linux-firmware-qcom-sm8350-adreno \ linux-firmware-qcom-sm8350-audio \ linux-firmware-qcom-sm8350-compute \ From d4fb39b8d307e74ded0980972034df7868a3b12c Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Thu, 25 Apr 2024 05:23:30 +0300 Subject: [PATCH 6/8] packagegroup-firmware-sm8150-hdk: fix wifi firmware SM8150 uses ath10k, pick up correct WiFi firmware package for the platform. Signed-off-by: Dmitry Baryshkov --- recipes-bsp/packagegroups/packagegroup-firmware-sm8150-hdk.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/packagegroups/packagegroup-firmware-sm8150-hdk.bb b/recipes-bsp/packagegroups/packagegroup-firmware-sm8150-hdk.bb index 935b8b6f0..ec3195384 100644 --- a/recipes-bsp/packagegroups/packagegroup-firmware-sm8150-hdk.bb +++ b/recipes-bsp/packagegroups/packagegroup-firmware-sm8150-hdk.bb @@ -5,7 +5,7 @@ inherit packagegroup RRECOMMENDS:${PN} += " \ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'linux-firmware-qcom-adreno-a640 linux-firmware-qcom-sm8150-adreno', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'linux-firmware-qca', '', d)} \ - ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'linux-firmware-ath11k', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'linux-firmware-ath10k', '', d)} \ firmware-qcom-sm8150-hdk \ linux-firmware-qcom-sm8150-audio \ linux-firmware-qcom-sm8150-compute \ From 4a42ebefed33ba5e31b78274ee1b17a3773520af Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Wed, 17 Apr 2024 10:36:27 +0300 Subject: [PATCH 7/8] firmware-woa: move WoA firmware names to WoA firmware include In order not to complicate the main firmware-qcom.inc, move WoA firmware names to firmware-woa.inc. Signed-off-by: Dmitry Baryshkov --- recipes-bsp/firmware-woa/firmware-woa.inc | 7 +++++++ recipes-bsp/firmware/firmware-qcom.inc | 14 +++++++------- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/recipes-bsp/firmware-woa/firmware-woa.inc b/recipes-bsp/firmware-woa/firmware-woa.inc index 0624ecb23..f2a0abef8 100644 --- a/recipes-bsp/firmware-woa/firmware-woa.inc +++ b/recipes-bsp/firmware-woa/firmware-woa.inc @@ -3,6 +3,13 @@ require recipes-bsp/firmware/firmware-qcom.inc WOA_FW_URL = "https://github.com/WOA-Project/Qualcomm-Reference-Drivers/raw/master/${WOA_SUBDIR}/${PV}" +FILES:linux-firmware-qcom-${FW_QCOM_NAME}-adreno += "${FW_QCOM_PATH}/qcdxkmsuc*.mbn" +FILES:linux-firmware-qcom-${FW_QCOM_NAME}-audio += "${FW_QCOM_PATH}/qcadsp*.mbn" +FILES:linux-firmware-qcom-${FW_QCOM_NAME}-compute += "${FW_QCOM_PATH}/qccdsp*.mbn" +FILES:linux-firmware-qcom-${FW_QCOM_NAME}-modem += "${FW_QCOM_PATH}/qcmpss*.mbn" +FILES:linux-firmware-qcom-${FW_QCOM_NAME}-sensors += "${FW_QCOM_PATH}/qcslpi*.mbn" +FILES:linux-firmware-qcom-${FW_QCOM_NAME}-venus += "${FW_QCOM_PATH}/qcvss*.mbn" + do_compile:append() { for file in ${WORKDIR}/*cab ; do cabextract $file || exit 1 diff --git a/recipes-bsp/firmware/firmware-qcom.inc b/recipes-bsp/firmware/firmware-qcom.inc index 55b1d7e0a..b892f9095 100644 --- a/recipes-bsp/firmware/firmware-qcom.inc +++ b/recipes-bsp/firmware/firmware-qcom.inc @@ -20,20 +20,20 @@ RRECOMMENDS:${PN} += "${@ ' '.join(filter(lambda p: not p.endswith('-split'), d. # Default settings for several split packages FILES:${PN}-dspso += "${FW_QCOM_BASE_PATH}/*/*dspso.bin" -FILES:linux-firmware-qcom-${FW_QCOM_NAME}-adreno = "${FW_QCOM_PATH}/*_zap.mbn ${FW_QCOM_PATH}/qcdxkmsuc*.mbn" -FILES:linux-firmware-qcom-${FW_QCOM_NAME}-audio = "${FW_QCOM_PATH}/adsp.mbn ${FW_QCOM_PATH}/adsp*.jsn ${FW_QCOM_PATH}/battmgr*.jsn ${FW_QCOM_PATH}/qcadsp*.mbn" +FILES:linux-firmware-qcom-${FW_QCOM_NAME}-adreno = "${FW_QCOM_PATH}/*_zap.mbn" +FILES:linux-firmware-qcom-${FW_QCOM_NAME}-audio = "${FW_QCOM_PATH}/adsp.mbn ${FW_QCOM_PATH}/adsp*.jsn" FILES:linux-firmware-qcom-${FW_QCOM_NAME}-audio-split = "${FW_QCOM_PATH}/adsp.mdt ${FW_QCOM_PATH}/adsp.b*" -FILES:linux-firmware-qcom-${FW_QCOM_NAME}-compute = "${FW_QCOM_PATH}/cdsp.mbn ${FW_QCOM_PATH}/cdsp*.jsn ${FW_QCOM_PATH}/qccdsp*.mbn" +FILES:linux-firmware-qcom-${FW_QCOM_NAME}-compute = "${FW_QCOM_PATH}/cdsp.mbn ${FW_QCOM_PATH}/cdsp*.jsn" FILES:linux-firmware-qcom-${FW_QCOM_NAME}-compute-split = "${FW_QCOM_PATH}/cdsp.mdt ${FW_QCOM_PATH}/cdsp.b*" FILES:linux-firmware-qcom-${FW_QCOM_NAME}-dsps = "${FW_QCOM_PATH}/dsps.mbn" FILES:linux-firmware-qcom-${FW_QCOM_NAME}-gss = "${FW_QCOM_PATH}/gss.mbn" -FILES:linux-firmware-qcom-${FW_QCOM_NAME}-ipa = "${FW_QCOM_PATH}/ipa_fws.mbn ${FW_QCOM_PATH}/ipa_fws.elf" -FILES:linux-firmware-qcom-${FW_QCOM_NAME}-modem = "${FW_QCOM_PATH}/mba.mbn ${FW_QCOM_PATH}/modem.mbn ${FW_QCOM_PATH}/modem*.jsn ${FW_QCOM_PATH}/qcmpss*.mbn" +FILES:linux-firmware-qcom-${FW_QCOM_NAME}-ipa = "${FW_QCOM_PATH}/ipa_fws.mbn" +FILES:linux-firmware-qcom-${FW_QCOM_NAME}-modem = "${FW_QCOM_PATH}/mba.mbn ${FW_QCOM_PATH}/modem.mbn ${FW_QCOM_PATH}/modem*.jsn" FILES:linux-firmware-qcom-${FW_QCOM_NAME}-modem-split = "${FW_QCOM_PATH}/modem.mdt ${FW_QCOM_PATH}/modem.b*" FILES:linux-firmware-qcom-${FW_QCOM_NAME}-q6 = "${FW_QCOM_PATH}/q6.mbn" -FILES:linux-firmware-qcom-${FW_QCOM_NAME}-sensors = "${FW_QCOM_PATH}/slpi.mbn ${FW_QCOM_PATH}/slpi*.jsn ${FW_QCOM_PATH}/qcslpi*.mbn" +FILES:linux-firmware-qcom-${FW_QCOM_NAME}-sensors = "${FW_QCOM_PATH}/slpi.mbn ${FW_QCOM_PATH}/slpi*.jsn" FILES:linux-firmware-qcom-${FW_QCOM_NAME}-sensors-split = "${FW_QCOM_PATH}/slpi.mdt ${FW_QCOM_PATH}/slpi.b*" -FILES:linux-firmware-qcom-${FW_QCOM_NAME}-venus = "${FW_QCOM_PATH}/venus.mbn ${FW_QCOM_PATH}/vidc* ${FW_QCOM_PATH}/qcvss*.mbn" +FILES:linux-firmware-qcom-${FW_QCOM_NAME}-venus = "${FW_QCOM_PATH}/venus.mbn ${FW_QCOM_PATH}/vidc*" FILES:linux-firmware-qcom-${FW_QCOM_NAME}-wifi = "${FW_QCOM_PATH}/wcnss.mbn ${FW_QCOM_PATH}/wlanmdsp.mbn" FILES:linux-firmware-qcom-${FW_QCOM_NAME}-wifi-split = "${FW_QCOM_PATH}/wcnss.mdt ${FW_QCOM_PATH}/wcnss.b*" From 0de13c1906f61d1dbb1b95e2046917d9dc5b07f8 Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Thu, 25 Apr 2024 05:23:44 +0300 Subject: [PATCH 8/8] firmware-woa: package lenovo-yoga-c630 firmware Package firmware for Lenovo Yoga C630 laptop. Signed-off-by: Dmitry Baryshkov --- ...rmware-qcom-lenovo-yoga-c630_200.0.19.0.bb | 34 +++++++++++++++++++ recipes-bsp/firmware-woa/firmware-woa.inc | 2 +- ...itramfs-firmware-lenovo-yoga-c630-image.bb | 7 ++++ .../packagegroup-firmware-lenovo-yoga-c630.bb | 16 +++++++++ 4 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 recipes-bsp/firmware-woa/firmware-qcom-lenovo-yoga-c630_200.0.19.0.bb create mode 100644 recipes-bsp/images/initramfs-firmware-lenovo-yoga-c630-image.bb create mode 100644 recipes-bsp/packagegroups/packagegroup-firmware-lenovo-yoga-c630.bb diff --git a/recipes-bsp/firmware-woa/firmware-qcom-lenovo-yoga-c630_200.0.19.0.bb b/recipes-bsp/firmware-woa/firmware-qcom-lenovo-yoga-c630_200.0.19.0.bb new file mode 100644 index 000000000..b33ef4999 --- /dev/null +++ b/recipes-bsp/firmware-woa/firmware-qcom-lenovo-yoga-c630_200.0.19.0.bb @@ -0,0 +1,34 @@ +DESCRIPTION = "Qualcomm Firmware for Lenovo Yoga C630 laptop" + +LICENSE = "CLOSED" + +FW_QCOM_SUBDIR = "sdm850/LENOVO/81JL" +FW_QCOM_NAME = "lenovo-yoga-c630" +WOA_SUBDIR = "Lenovo/YogaC630" + +SRC_URI = "\ + ${WOA_FW_URL}/qcdx850.cab;name=dx \ + ${WOA_FW_URL}/qcipa850.cab;name=ipa \ + ${WOA_FW_URL}/qcsubsys850.cab;name=dsp \ + file://adspr.jsn \ + file://adspua.jsn \ + file://cdspr.jsn \ + file://slpir.jsn \ + file://slpius.jsn \ +" + +SRC_URI[dx.sha256sum] = "949f9fa256d036d829a1429451514c4f6aa3fcb228078a36a0bc4c6d569be3f9" +SRC_URI[ipa.sha256sum] = "544f0b2ff642846a2bf0754600be57ef8277c4ebd9dcf72b61cb3d1f463bfec8" +SRC_URI[dsp.sha256sum] = "23f8f1413ffdac6d6dfc7d0876f3cd5b840db70889d5f399e586e77ab91d89af" + +SPLIT_FIRMWARE_PACKAGES = "\ + linux-firmware-qcom-${FW_QCOM_NAME}-adreno \ + linux-firmware-qcom-${FW_QCOM_NAME}-audio \ + linux-firmware-qcom-${FW_QCOM_NAME}-compute \ + linux-firmware-qcom-${FW_QCOM_NAME}-ipa \ + linux-firmware-qcom-${FW_QCOM_NAME}-modem \ + linux-firmware-qcom-${FW_QCOM_NAME}-sensors \ + linux-firmware-qcom-${FW_QCOM_NAME}-venus \ +" + +require firmware-woa.inc diff --git a/recipes-bsp/firmware-woa/firmware-woa.inc b/recipes-bsp/firmware-woa/firmware-woa.inc index f2a0abef8..f9983fbdf 100644 --- a/recipes-bsp/firmware-woa/firmware-woa.inc +++ b/recipes-bsp/firmware-woa/firmware-woa.inc @@ -6,7 +6,7 @@ WOA_FW_URL = "https://github.com/WOA-Project/Qualcomm-Reference-Drivers/raw/mast FILES:linux-firmware-qcom-${FW_QCOM_NAME}-adreno += "${FW_QCOM_PATH}/qcdxkmsuc*.mbn" FILES:linux-firmware-qcom-${FW_QCOM_NAME}-audio += "${FW_QCOM_PATH}/qcadsp*.mbn" FILES:linux-firmware-qcom-${FW_QCOM_NAME}-compute += "${FW_QCOM_PATH}/qccdsp*.mbn" -FILES:linux-firmware-qcom-${FW_QCOM_NAME}-modem += "${FW_QCOM_PATH}/qcmpss*.mbn" +FILES:linux-firmware-qcom-${FW_QCOM_NAME}-modem += "${FW_QCOM_PATH}/qcmpss*.mbn ${FW_QCOM_PATH}/qcdsp*.mbn" FILES:linux-firmware-qcom-${FW_QCOM_NAME}-sensors += "${FW_QCOM_PATH}/qcslpi*.mbn" FILES:linux-firmware-qcom-${FW_QCOM_NAME}-venus += "${FW_QCOM_PATH}/qcvss*.mbn" diff --git a/recipes-bsp/images/initramfs-firmware-lenovo-yoga-c630-image.bb b/recipes-bsp/images/initramfs-firmware-lenovo-yoga-c630-image.bb new file mode 100644 index 000000000..96514bf76 --- /dev/null +++ b/recipes-bsp/images/initramfs-firmware-lenovo-yoga-c630-image.bb @@ -0,0 +1,7 @@ +DESCRIPTION = "Tiny ramdisk image with Lenovo Yoga C630 firmware files" + +PACKAGE_INSTALL += " \ + packagegroup-firmware-lenovo-yoga-c630 \ +" + +require initramfs-firmware-image.inc diff --git a/recipes-bsp/packagegroups/packagegroup-firmware-lenovo-yoga-c630.bb b/recipes-bsp/packagegroups/packagegroup-firmware-lenovo-yoga-c630.bb new file mode 100644 index 000000000..cc4bee9c2 --- /dev/null +++ b/recipes-bsp/packagegroups/packagegroup-firmware-lenovo-yoga-c630.bb @@ -0,0 +1,16 @@ +SUMMARY = "Firmware packages for the Lenogo Yoga C630 laptop" + +inherit packagegroup + +RRECOMMENDS:${PN} += " \ + ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'linux-firmware-qcom-adreno-a630 linux-firmware-qcom-lenovo-yoga-c630-adreno', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'linux-firmware-qca', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'linux-firmware-ath10k', '', d)} \ + firmware-qcom-lenovo-yoga-c630 \ + linux-firmware-qcom-lenovo-yoga-c630-audio \ + linux-firmware-qcom-lenovo-yoga-c630-compute \ + linux-firmware-qcom-lenovo-yoga-c630-ipa \ + linux-firmware-qcom-lenovo-yoga-c630-modem \ + linux-firmware-qcom-lenovo-yoga-c630-sensors \ + linux-firmware-qcom-lenovo-yoga-c630-venus \ +"