diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2024-11-02 02:22:52 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-11-04 14:34:42 +0000 |
commit | e294790d2584f0251eff6e6b93a41f3ed6f4767e (patch) | |
tree | 6f00b147b61c181c5e31c31281e1703cfd014c73 /meta | |
parent | a472181114218f1a0bb3f95f78b1bef4badc5d92 (diff) | |
download | poky-e294790d2584f0251eff6e6b93a41f3ed6f4767e.tar.gz |
linux-firmware: RPROVIDE qcs6490 firmware packages by qcm6490 ones
Qualcomm QCS6490 is a modemless variant of the QCM6490 platform. These
two platforms share most of the firmware binaries (except the IPA one).
Rather than providing complete packages, include compat symlinks into
qcom-qcm6490 firmware packages and add RPROVIDES to let other layers /
configurations use qcs6490 names to install qcm6490 packages.
(From OE-Core rev: 7f02df4eeab69d3254bd7cfd3e2ced7ff0375091)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/linux-firmware/linux-firmware/0001-qcom-Add-link-for-QCS6490-GPU-firmware.patch | 31 | ||||
-rw-r--r-- | meta/recipes-kernel/linux-firmware/linux-firmware_20241017.bb | 12 |
2 files changed, 39 insertions, 4 deletions
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware/0001-qcom-Add-link-for-QCS6490-GPU-firmware.patch b/meta/recipes-kernel/linux-firmware/linux-firmware/0001-qcom-Add-link-for-QCS6490-GPU-firmware.patch new file mode 100644 index 0000000000..7a07ef97f1 --- /dev/null +++ b/meta/recipes-kernel/linux-firmware/linux-firmware/0001-qcom-Add-link-for-QCS6490-GPU-firmware.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 62fa39d0b4384be8f14d837ea79183ad93d0996c Mon Sep 17 00:00:00 2001 | ||
2 | From: Akhil P Oommen <quic_akhilpo@quicinc.com> | ||
3 | Date: Fri, 1 Nov 2024 21:52:24 +0530 | ||
4 | Subject: [PATCH] qcom: Add link for QCS6490 GPU firmware | ||
5 | |||
6 | Create a symlink between qcom/qcm6490/a660_zap.mbn and | ||
7 | qcom/qcs6490/a660_zap.mbn. | ||
8 | |||
9 | Signed-off-by: Akhil P Oommen <quic_akhilpo@quicinc.com> | ||
10 | Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | ||
11 | Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | ||
12 | Upstream-Status: Submitted [https://lore.kernel.org/linux-firmware/ctvtlkh4t54wdtwcw3jnbyi7xwks534k5ksvjtv6pt2zrr72wn@h5k6vfk7bzqe] | ||
13 | --- | ||
14 | WHENCE | 1 + | ||
15 | 1 file changed, 1 insertion(+) | ||
16 | |||
17 | diff --git a/WHENCE b/WHENCE | ||
18 | index bdee94fe33fc..b7ef9bdd5b59 100644 | ||
19 | --- a/WHENCE | ||
20 | +++ b/WHENCE | ||
21 | @@ -6145,6 +6145,7 @@ File: qcom/sm8250/a650_zap.mbn | ||
22 | File: qcom/a660_gmu.bin | ||
23 | File: qcom/a660_sqe.fw | ||
24 | File: qcom/qcm6490/a660_zap.mbn | ||
25 | +Link: qcom/qcs6490/a660_zap.mbn -> ../qcm6490/a660_zap.mbn | ||
26 | File: qcom/a702_sqe.fw | ||
27 | File: qcom/leia_pfp_470.fw | ||
28 | File: qcom/leia_pm4_470.fw | ||
29 | -- | ||
30 | 2.39.5 | ||
31 | |||
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20241017.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20241017.bb index 97e89b52c2..708c28b632 100644 --- a/meta/recipes-kernel/linux-firmware/linux-firmware_20241017.bb +++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20241017.bb | |||
@@ -158,7 +158,7 @@ LIC_FILES_CHKSUM = "file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \ | |||
158 | " | 158 | " |
159 | # WHENCE checksum is defined separately to ease overriding it if | 159 | # WHENCE checksum is defined separately to ease overriding it if |
160 | # class-devupstream is selected. | 160 | # class-devupstream is selected. |
161 | WHENCE_CHKSUM = "f82849fb6325a8a14e21a4feacc5ebb0" | 161 | WHENCE_CHKSUM = "7dde9aa13fc4707189ecd7d35ee94d92" |
162 | 162 | ||
163 | # These are not common licenses, set NO_GENERIC_LICENSE for them | 163 | # These are not common licenses, set NO_GENERIC_LICENSE for them |
164 | # so that the license files will be copied from fetched source | 164 | # so that the license files will be copied from fetched source |
@@ -240,6 +240,7 @@ PE = "1" | |||
240 | 240 | ||
241 | SRC_URI = "\ | 241 | SRC_URI = "\ |
242 | ${KERNELORG_MIRROR}/linux/kernel/firmware/${BPN}-${PV}.tar.xz \ | 242 | ${KERNELORG_MIRROR}/linux/kernel/firmware/${BPN}-${PV}.tar.xz \ |
243 | file://0001-qcom-Add-link-for-QCS6490-GPU-firmware.patch \ | ||
243 | " | 244 | " |
244 | 245 | ||
245 | BBCLASSEXTEND = "devupstream:target" | 246 | BBCLASSEXTEND = "devupstream:target" |
@@ -1504,9 +1505,9 @@ FILES:${PN}-qcom-qcm2290-adreno = "${nonarch_base_libdir}/firmware/qcom/qcm2290/ | |||
1504 | FILES:${PN}-qcom-qcm2290-audio = "${nonarch_base_libdir}/firmware/qcom/qcm2290/adsp*.*" | 1505 | FILES:${PN}-qcom-qcm2290-audio = "${nonarch_base_libdir}/firmware/qcom/qcm2290/adsp*.*" |
1505 | FILES:${PN}-qcom-qcm2290-modem = "${nonarch_base_libdir}/firmware/qcom/qcm2290/modem*.*" | 1506 | FILES:${PN}-qcom-qcm2290-modem = "${nonarch_base_libdir}/firmware/qcom/qcm2290/modem*.*" |
1506 | FILES:${PN}-qcom-qcm2290-wifi = "${nonarch_base_libdir}/firmware/qcom/qcm2290/wlanmdsp.mbn* ${nonarch_base_libdir}/firmware/ath10k/WCN3990/hw1.0/qcm2290/*" | 1507 | FILES:${PN}-qcom-qcm2290-wifi = "${nonarch_base_libdir}/firmware/qcom/qcm2290/wlanmdsp.mbn* ${nonarch_base_libdir}/firmware/ath10k/WCN3990/hw1.0/qcm2290/*" |
1507 | FILES:${PN}-qcom-qcm6490-adreno = "${nonarch_base_libdir}/firmware/qcom/qcm6490/a660_zap.mbn*" | 1508 | FILES:${PN}-qcom-qcm6490-adreno = "${nonarch_base_libdir}/firmware/qcom/qc[ms]6490/a660_zap.mbn*" |
1508 | FILES:${PN}-qcom-qcm6490-audio = "${nonarch_base_libdir}/firmware/qcom/qcm6490/adsp*.* ${nonarch_base_libdir}/firmware/qcom/qcm6490/battmgr.jsn" | 1509 | FILES:${PN}-qcom-qcm6490-audio = "${nonarch_base_libdir}/firmware/qcom/qc[ms]6490/adsp*.* ${nonarch_base_libdir}/firmware/qcom/qc[ms]6490/battmgr.jsn" |
1509 | FILES:${PN}-qcom-qcm6490-compute = "${nonarch_base_libdir}/firmware/qcom/qcm6490/cdsp*.*" | 1510 | FILES:${PN}-qcom-qcm6490-compute = "${nonarch_base_libdir}/firmware/qcom/qc[ms]6490/cdsp*.*" |
1510 | FILES:${PN}-qcom-qcm6490-ipa = "${nonarch_base_libdir}/firmware/qcom/qcm6490/ipa_fws.mbn" | 1511 | FILES:${PN}-qcom-qcm6490-ipa = "${nonarch_base_libdir}/firmware/qcom/qcm6490/ipa_fws.mbn" |
1511 | FILES:${PN}-qcom-qrb4210-adreno = "${nonarch_base_libdir}/firmware/qcom/qrb4210/a610_zap.mbn*" | 1512 | FILES:${PN}-qcom-qrb4210-adreno = "${nonarch_base_libdir}/firmware/qcom/qrb4210/a610_zap.mbn*" |
1512 | FILES:${PN}-qcom-qrb4210-audio = "${nonarch_base_libdir}/firmware/qcom/qrb4210/adsp*.*" | 1513 | FILES:${PN}-qcom-qrb4210-audio = "${nonarch_base_libdir}/firmware/qcom/qrb4210/adsp*.*" |
@@ -1559,8 +1560,11 @@ RDEPENDS:${PN}-qcom-qcm2290-audio = "${PN}-qcom-license" | |||
1559 | RDEPENDS:${PN}-qcom-qcm2290-modem = "${PN}-qcom-license" | 1560 | RDEPENDS:${PN}-qcom-qcm2290-modem = "${PN}-qcom-license" |
1560 | RDEPENDS:${PN}-qcom-qcm2290-wifi = "${PN}-qcom-license" | 1561 | RDEPENDS:${PN}-qcom-qcm2290-wifi = "${PN}-qcom-license" |
1561 | RDEPENDS:${PN}-qcom-qcm6490-adreno = "${PN}-qcom-license" | 1562 | RDEPENDS:${PN}-qcom-qcm6490-adreno = "${PN}-qcom-license" |
1563 | RPROVIDES:${PN}-qcom-qcm6490-adreno = "${PN}-qcom-qcs6490-adreno" | ||
1562 | RDEPENDS:${PN}-qcom-qcm6490-audio = "${PN}-qcom-license" | 1564 | RDEPENDS:${PN}-qcom-qcm6490-audio = "${PN}-qcom-license" |
1565 | RPROVIDES:${PN}-qcom-qcm6490-audio = "${PN}-qcom-qcs6490-audio" | ||
1563 | RDEPENDS:${PN}-qcom-qcm6490-compute = "${PN}-qcom-license" | 1566 | RDEPENDS:${PN}-qcom-qcm6490-compute = "${PN}-qcom-license" |
1567 | RPROVIDES:${PN}-qcom-qcm6490-compute = "${PN}-qcom-qcs6490-compute" | ||
1564 | RDEPENDS:${PN}-qcom-qcm6490-ipa = "${PN}-qcom-license" | 1568 | RDEPENDS:${PN}-qcom-qcm6490-ipa = "${PN}-qcom-license" |
1565 | RDEPENDS:${PN}-qcom-qrb4210-adreno = "${PN}-qcom-license" | 1569 | RDEPENDS:${PN}-qcom-qrb4210-adreno = "${PN}-qcom-license" |
1566 | RDEPENDS:${PN}-qcom-qrb4210-audio = "${PN}-qcom-license" | 1570 | RDEPENDS:${PN}-qcom-qrb4210-audio = "${PN}-qcom-license" |