summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Baryshkov <dbaryshkov@gmail.com>2022-09-15 23:45:23 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-28 08:02:10 +0100
commit41b7466e6fd26fc74acd73936dc22bf06da30795 (patch)
tree52b906eec9df87420c36d4e1a53b38b5a83a7f4d
parent2be6d5c029eadb90163c5c633f71c64f4004d57e (diff)
downloadpoky-41b7466e6fd26fc74acd73936dc22bf06da30795.tar.gz
linux-firmware: package new Qualcomm firmware
Add packages for the new Qualcomm firmware released for Lenovo X13s laptop. The INSANE_SKIP:${PN} has to be provided to silent following warnings: WARNING: File '/lib/firmware/qcom/sc8280xp/LENOVO/21BX/qcadsp8280.mbn' from linux-firmware was already stripped, this will prevent future debugging! WARNING: File '/lib/firmware/qcom/sc8280xp/LENOVO/21BX/qcdxkmsuc8280.mbn' from linux-firmware was already stripped, this will prevent future debugging! WARNING: File '/lib/firmware/qcom/sc8280xp/LENOVO/21BX/qccdsp8280.mbn' from linux-firmware was already stripped, this will prevent future debugging! WARNING: File '/lib/firmware/qcom/sc8280xp/LENOVO/21BX/qcslpi8280.mbn' from linux-firmware was already stripped, this will prevent future debugging! (From OE-Core rev: 178441fcbb54bb70374fa231a6b5870ef52266fa) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit af9924a3da0569e90c2d3abe030584456e66229b) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/linux-firmware/linux-firmware_20220913.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20220913.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20220913.bb
index 5a953fd0e2..45c9d0e861 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_20220913.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20220913.bb
@@ -311,6 +311,11 @@ PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \
311 ${PN}-qcom-adreno-a2xx ${PN}-qcom-adreno-a3xx ${PN}-qcom-adreno-a4xx ${PN}-qcom-adreno-a530 \ 311 ${PN}-qcom-adreno-a2xx ${PN}-qcom-adreno-a3xx ${PN}-qcom-adreno-a4xx ${PN}-qcom-adreno-a530 \
312 ${PN}-qcom-adreno-a630 ${PN}-qcom-adreno-a650 ${PN}-qcom-adreno-a660 \ 312 ${PN}-qcom-adreno-a630 ${PN}-qcom-adreno-a650 ${PN}-qcom-adreno-a660 \
313 ${PN}-qcom-apq8096-audio ${PN}-qcom-apq8096-modem \ 313 ${PN}-qcom-apq8096-audio ${PN}-qcom-apq8096-modem \
314 ${PN}-qcom-sc8280xp-lenovo-x13s-compat \
315 ${PN}-qcom-sc8280xp-lenovo-x13s-audio \
316 ${PN}-qcom-sc8280xp-lenovo-x13s-adreno \
317 ${PN}-qcom-sc8280xp-lenovo-x13s-compute \
318 ${PN}-qcom-sc8280xp-lenovo-x13s-sensors \
314 ${PN}-qcom-sdm845-audio ${PN}-qcom-sdm845-compute ${PN}-qcom-sdm845-modem \ 319 ${PN}-qcom-sdm845-audio ${PN}-qcom-sdm845-compute ${PN}-qcom-sdm845-modem \
315 ${PN}-qcom-sm8250-audio ${PN}-qcom-sm8250-compute \ 320 ${PN}-qcom-sm8250-audio ${PN}-qcom-sm8250-compute \
316 ${PN}-amlogic-vdec-license ${PN}-amlogic-vdec \ 321 ${PN}-amlogic-vdec-license ${PN}-amlogic-vdec \
@@ -976,6 +981,11 @@ FILES:${PN}-qcom-adreno-a650 = "${nonarch_base_libdir}/firmware/qcom/a650*.* ${n
976FILES:${PN}-qcom-adreno-a660 = "${nonarch_base_libdir}/firmware/qcom/a660*.*" 981FILES:${PN}-qcom-adreno-a660 = "${nonarch_base_libdir}/firmware/qcom/a660*.*"
977FILES:${PN}-qcom-apq8096-audio = "${nonarch_base_libdir}/firmware/qcom/apq8096/adsp*.*" 982FILES:${PN}-qcom-apq8096-audio = "${nonarch_base_libdir}/firmware/qcom/apq8096/adsp*.*"
978FILES:${PN}-qcom-apq8096-modem = "${nonarch_base_libdir}/firmware/qcom/apq8096/mba.mbn ${nonarch_base_libdir}/firmware/qcom/apq8096/modem*.* ${nonarch_base_libdir}/firmware/qcom/apq8096/wlanmdsp.mbn" 983FILES:${PN}-qcom-apq8096-modem = "${nonarch_base_libdir}/firmware/qcom/apq8096/mba.mbn ${nonarch_base_libdir}/firmware/qcom/apq8096/modem*.* ${nonarch_base_libdir}/firmware/qcom/apq8096/wlanmdsp.mbn"
984FILES:${PN}-qcom-sc8280xp-lenovo-x13s-compat = "${nonarch_base_libdir}/firmware/qcom/LENOVO/21BX"
985FILES:${PN}-qcom-sc8280xp-lenovo-x13s-audio = "${nonarch_base_libdir}/firmware/qcom/sc8280xp/LENOVO/21BX/*adsp*.* ${nonarch_base_libdir}/firmware/qcom/sc8280xp/LENOVO/21BX/battmgr.jsn"
986FILES:${PN}-qcom-sc8280xp-lenovo-x13s-adreno = "${nonarch_base_libdir}/firmware/qcom/sc8280xp/LENOVO/21BX/qcdxkmsuc8280.mbn"
987FILES:${PN}-qcom-sc8280xp-lenovo-x13s-compute = "${nonarch_base_libdir}/firmware/qcom/sc8280xp/LENOVO/21BX/*cdsp*.*"
988FILES:${PN}-qcom-sc8280xp-lenovo-x13s-sensors = "${nonarch_base_libdir}/firmware/qcom/sc8280xp/LENOVO/21BX/*slpi*.*"
979FILES:${PN}-qcom-sdm845-audio = "${nonarch_base_libdir}/firmware/qcom/sdm845/adsp*.*" 989FILES:${PN}-qcom-sdm845-audio = "${nonarch_base_libdir}/firmware/qcom/sdm845/adsp*.*"
980FILES:${PN}-qcom-sdm845-compute = "${nonarch_base_libdir}/firmware/qcom/sdm845/cdsp*.*" 990FILES:${PN}-qcom-sdm845-compute = "${nonarch_base_libdir}/firmware/qcom/sdm845/cdsp*.*"
981FILES:${PN}-qcom-sdm845-modem = "${nonarch_base_libdir}/firmware/qcom/sdm845/mba.mbn ${nonarch_base_libdir}/firmware/qcom/sdm845/modem*.* ${nonarch_base_libdir}/firmware/qcom/sdm845/wlanmdsp.mbn" 991FILES:${PN}-qcom-sdm845-modem = "${nonarch_base_libdir}/firmware/qcom/sdm845/mba.mbn ${nonarch_base_libdir}/firmware/qcom/sdm845/modem*.* ${nonarch_base_libdir}/firmware/qcom/sdm845/wlanmdsp.mbn"
@@ -996,12 +1006,21 @@ RDEPENDS:${PN}-qcom-adreno-a650 = "${PN}-qcom-license"
996RDEPENDS:${PN}-qcom-adreno-a660 = "${PN}-qcom-license" 1006RDEPENDS:${PN}-qcom-adreno-a660 = "${PN}-qcom-license"
997RDEPENDS:${PN}-qcom-apq8096-audio = "${PN}-qcom-license" 1007RDEPENDS:${PN}-qcom-apq8096-audio = "${PN}-qcom-license"
998RDEPENDS:${PN}-qcom-apq8096-modem = "${PN}-qcom-license" 1008RDEPENDS:${PN}-qcom-apq8096-modem = "${PN}-qcom-license"
1009RDEPENDS:${PN}-qcom-sc8280xp-lenovo-x13s-audio = "${PN}-qcom-license"
1010RDEPENDS:${PN}-qcom-sc8280xp-lenovo-x13s-adreno = "${PN}-qcom-license"
1011RDEPENDS:${PN}-qcom-sc8280xp-lenovo-x13s-compute = "${PN}-qcom-license"
1012RDEPENDS:${PN}-qcom-sc8280xp-lenovo-x13s-sensors = "${PN}-qcom-license"
999RDEPENDS:${PN}-qcom-sdm845-audio = "${PN}-qcom-license" 1013RDEPENDS:${PN}-qcom-sdm845-audio = "${PN}-qcom-license"
1000RDEPENDS:${PN}-qcom-sdm845-compute = "${PN}-qcom-license" 1014RDEPENDS:${PN}-qcom-sdm845-compute = "${PN}-qcom-license"
1001RDEPENDS:${PN}-qcom-sdm845-modem = "${PN}-qcom-license" 1015RDEPENDS:${PN}-qcom-sdm845-modem = "${PN}-qcom-license"
1002RDEPENDS:${PN}-qcom-sm8250-audio = "${PN}-qcom-license" 1016RDEPENDS:${PN}-qcom-sm8250-audio = "${PN}-qcom-license"
1003RDEPENDS:${PN}-qcom-sm8250-compute = "${PN}-qcom-license" 1017RDEPENDS:${PN}-qcom-sm8250-compute = "${PN}-qcom-license"
1004 1018
1019RRECOMMENDS:${PN}-qcom-sc8280xp-lenovo-x13s-audio = "${PN}-qcom-sc8280xp-lenovo-x13s-compat"
1020RRECOMMENDS:${PN}-qcom-sc8280xp-lenovo-x13s-adreno = "${PN}-qcom-sc8280xp-lenovo-x13s-compat"
1021RRECOMMENDS:${PN}-qcom-sc8280xp-lenovo-x13s-compute = "${PN}-qcom-sc8280xp-lenovo-x13s-compat"
1022RRECOMMENDS:${PN}-qcom-sc8280xp-lenovo-x13s-sensors = "${PN}-qcom-sc8280xp-lenovo-x13s-compat"
1023
1005FILES:${PN}-liquidio = "${nonarch_base_libdir}/firmware/liquidio" 1024FILES:${PN}-liquidio = "${nonarch_base_libdir}/firmware/liquidio"
1006 1025
1007# For Amlogic VDEC 1026# For Amlogic VDEC
@@ -1081,3 +1100,6 @@ python populate_packages:prepend () {
1081# Firmware files are generally not ran on the CPU, so they can be 1100# Firmware files are generally not ran on the CPU, so they can be
1082# allarch despite being architecture specific 1101# allarch despite being architecture specific
1083INSANE_SKIP = "arch" 1102INSANE_SKIP = "arch"
1103
1104# Don't warn about already stripped files
1105INSANE_SKIP:${PN} = "already-stripped"