recipes-kernel/linux-firmware: Add qcom-sdm845 firmware package
PATCH 1/1 recipes-kernel/linux-firmware: Add qcom-sdm845 firmware package
Contains the firmware for the modem and wireless in SDM845 platforms.
--- meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb | 3 +++ 1 file changed, 3 insertions(+)
meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb +3 -0
@@ -289,6 +289,7 @@ PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \ ${PN}-qcom-license \ ${PN}-qcom-venus-1.8 ${PN}-qcom-venus-4.2 \ ${PN}-qcom-adreno-a3xx ${PN}-qcom-adreno-a530 \ + ${PN}-qcom-sdm845 \ ${PN}-whence-license \ ${PN}-license \ "
@@ -848,10 +849,12 @@ FILES_${PN}-qcom-venus-1.8 = "${nonarch_base_libdir}/firmware/qcom/venus-1.8/*" FILES_${PN}-qcom-venus-4.2 = "${nonarch_base_libdir}/firmware/qcom/venus-4.2/*" FILES_${PN}-qcom-adreno-a3xx = "${nonarch_base_libdir}/firmware/qcom/a300_*.fw ${nonarch_base_libdir}/firmware/a300_*.fw" FILES_${PN}-qcom-adreno-a530 = "${nonarch_base_libdir}/firmware/qcom/a530*.*" +FILES_${PN}-qcom-sdm845 = "${nonarch_base_libdir}/firmware/qcom/sdm845/*" RDEPENDS_${PN}-qcom-venus-1.8 = "${PN}-qcom-license" RDEPENDS_${PN}-qcom-venus-4.2 = "${PN}-qcom-license" RDEPENDS_${PN}-qcom-adreno-a3xx = "${PN}-qcom-license" RDEPENDS_${PN}-qcom-adreno-a530 = "${PN}-qcom-license" +RDEPENDS_${PN}-qcom-sdm845 = "${PN}-qcom-license" FILES_${PN}-liquidio = "${nonarch_base_libdir}/firmware/liquidio"
Signature · 1 line
2.26.0
Quoted 2 lines · Aníbal Limón
Contains the firmware for the modem and wireless in SDM845 platforms.
it is more than that, since that folder contains also the audio and compute DSP firmware, so we should either say that , or not include them.
Quoted 20 lines
Signed-off-by Aníbal Limón <[email protected]>--- meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb | 3 +++ 1 file changed, 3 insertions(+)meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb +1
-0@@ -289,6 +289,7 @@ PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \ ${PN}-qcom-license \ ${PN}-qcom-venus-1.8 ${PN}-qcom-venus-4.2 \ ${PN}-qcom-adreno-a3xx ${PN}-qcom-adreno-a530 \ + ${PN}-qcom-sdm845 \ ${PN}-whence-license \ ${PN}-license \ "@@ -848,10 +849,12 @@ FILES_${PN}-qcom-venus-1.8 ="${nonarch_base_libdir}/firmware/qcom/venus-1.8/*"
Quoted 9 lines
FILES_${PN}-qcom-venus-4.2 =
"${nonarch_base_libdir}/firmware/qcom/venus-4.2/*"
FILES_${PN}-qcom-adreno-a3xx =
"${nonarch_base_libdir}/firmware/qcom/a300_*.fw ${nonarch_base_libdir}/firmware/a300_*.fw"
FILES_${PN}-qcom-adreno-a530 =
"${nonarch_base_libdir}/firmware/qcom/a530*.*" +FILES_${PN}-qcom-sdm845 = "${nonarch_base_libdir}/firmware/qcom/sdm845/*"
I think we should be specific for the files we include, using the wildcard means we don't control/know what we are packaging. We could do several packages for qcom-sdm845-modem, qcom-sdm845-audio, qcom-sdm845-compute, ... which would be ideal.. but i am not sure how appropriate this is for oe-core. but for the other qcom firmware, we package them by 'feature' (see above).
RDEPENDS_${PN}-qcom-venus-1.8 = "${PN}-qcom-license"
Quoted 11 lines
RDEPENDS_${PN}-qcom-venus-4.2 = "${PN}-qcom-license" RDEPENDS_${PN}-qcom-adreno-a3xx = "${PN}-qcom-license" RDEPENDS_${PN}-qcom-adreno-a530 = "${PN}-qcom-license"
+RDEPENDS_${PN}-qcom-sdm845 = "${PN}-qcom-license"FILES_${PN}-liquidio = "${nonarch_base_libdir}/firmware/liquidio"
--
2.26.0
Quoted 41 lines · Nicolas Dechesne
Quoted 2 lines · Aníbal Limón
Contains the firmware for the modem and wireless in SDM845 platforms.
it is more than that, since that folder contains also the audio and compute DSP firmware, so we should either say that , or not include them.
Quoted 29 lines
Signed-off-by Aníbal Limón <[email protected]>--- meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb | 3 +++ 1 file changed, 3 insertions(+)(quoted diff) +0
-0linux-firmware_20200122.bb b/meta/recipes-kernel/linux-firmware/ linux-firmware_20200122.bb
indexa7406e48de..3e03aafb6b100644meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb +1
-0@@ -289,6 +289,7 @@ PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \ ${PN}-qcom-license \ ${PN}-qcom-venus-1.8 ${PN}-qcom-venus-4.2 \ ${PN}-qcom-adreno-a3xx ${PN}-qcom-adreno-a530 \ + ${PN}-qcom-sdm845 \ ${PN}-whence-license \ ${PN}-license \ "@@ -848,10 +849,12 @@ FILES_${PN}-qcom-venus-1.8 ="${nonarch_base_libdir}/firmware/qcom/venus-1.8/*"
FILES_${PN}-qcom-venus-4.2 =
"${nonarch_base_libdir}/firmware/qcom/venus-4.2/*"
FILES_${PN}-qcom-adreno-a3xx =
"${nonarch_base_libdir}/firmware/qcom/a300_*.fw ${nonarch_base_libdir}/firmware/a300_*.fw"
FILES_${PN}-qcom-adreno-a530 =
"${nonarch_base_libdir}/firmware/qcom/a530*.*" +FILES_${PN}-qcom-sdm845 = "${nonarch_base_libdir}/firmware/qcom/sdm845/*"
Quoted 9 lines
Quoted 1 line
I think we should be specific for the files we include, using the wildcard means we don't control/know what we are packaging. We could do several packages for qcom-sdm845-modem, qcom-sdm845-audio, qcom-sdm845-compute, ... which would be ideal.. but i am not sure how appropriate this is for oe-core. but for the other qcom firmware, we package them by 'feature' (see above).
Right, better to have a split of firmware by feature, I will send a v2.
Anibal
Quoted 13 lines
RDEPENDS_${PN}-qcom-venus-1.8 = "${PN}-qcom-license"
Quoted 11 lines
RDEPENDS_${PN}-qcom-venus-4.2 = "${PN}-qcom-license" RDEPENDS_${PN}-qcom-adreno-a3xx = "${PN}-qcom-license" RDEPENDS_${PN}-qcom-adreno-a530 = "${PN}-qcom-license"
+RDEPENDS_${PN}-qcom-sdm845 = "${PN}-qcom-license"FILES_${PN}-liquidio = "${nonarch_base_libdir}/firmware/liquidio"
--
2.26.0