QAT firmware can be provided both from linux-firmware recipe and qat17 recipe. We cannot guarantee they are exactly the same.
So if we want to use out-of-tree qat drivers from qat17, we should use QAT firmware from the same package. If we want to use in-tree qat drivers we need to use QAT firmware from linux-firmware recipe. Right? Thanks, Yongxin > -----Original Message----- > From: [email protected] <[email protected]> > On Behalf Of Lee Chee Yang via lists.yoctoproject.org > Sent: Tuesday, October 10, 2023 11:19 > To: [email protected] > Subject: [meta-intel] [meta-intel-qat][PATCH 1/2] qat17: selectively > install firmware > > CAUTION: This email comes from a non Wind River email account! > Do not click links or open attachments unless you recognize the sender and > know the content is safe. > > From: Lee Chee Yang <[email protected]> > > Revert part of f4c2004e0f631dcc14c82a3b63d19bab39fffb1b that installs all > firmware to avoid conflicts with linux-firmware recipe. Fixes > errors: > > file /lib/firmware/qat_895xcc.bin conflicts between attempted installs > of qat17-4.23.0+00001-r0.intel_corei7_64 and linux- firmware-qat- > 1:20230804-r0.noarch > file /lib/firmware/qat_895xcc_mmp.bin conflicts between attempted > installs of qat17-4.23.0+00001-r0.intel_corei7_64 and linux- firmware-qat- > 1:20230804-r0.noarch > file /lib/firmware/qat_c3xxx.bin conflicts between attempted installs > of qat17-4.23.0+00001-r0.intel_corei7_64 and linux- firmware-qat- > 1:20230804-r0.noarch > file /lib/firmware/qat_c3xxx_mmp.bin conflicts between attempted > installs of qat17-4.23.0+00001-r0.intel_corei7_64 and linux- firmware-qat- > 1:20230804-r0.noarch > file /lib/firmware/qat_c62x.bin conflicts between attempted installs > of qat17-4.23.0+00001-r0.intel_corei7_64 and linux-firmware- qat- > 1:20230804-r0.noarch > file /lib/firmware/qat_c62x_mmp.bin conflicts between attempted > installs of qat17-4.23.0+00001-r0.intel_corei7_64 and linux- firmware-qat- > 1:20230804-r0.noarch > > Signed-off-by: Lee Chee Yang <[email protected]> > --- > recipes-extended/qat/qat17_4.23.0-00001.bb | 11 ++++++++++- > 1 file changed, 10 insertions(+), 1 deletion(-) > > diff --git a/recipes-extended/qat/qat17_4.23.0-00001.bb b/recipes- > extended/qat/qat17_4.23.0-00001.bb > index 5856cb2..556a510 100644 > --- a/recipes-extended/qat/qat17_4.23.0-00001.bb > +++ b/recipes-extended/qat/qat17_4.23.0-00001.bb > @@ -131,7 +131,16 @@ do_install() { > install -D -m 640 ${S}/quickassist/utilities/adf_ctl/conf_files/*.conf > ${D}${sysconfdir}/conf_files > install -D -m 640 > ${S}/quickassist/utilities/adf_ctl/conf_files/*.conf.vm > ${D}${sysconfdir}/conf_files > > - install -m 0755 ${S}/quickassist/qat/fw/*.bin > ${D}${nonarch_base_libdir}/firmware > + install -m 0755 ${S}/quickassist/qat/fw/qat_d15xx.bin > + ${D}${nonarch_base_libdir}/firmware > + install -m 0755 ${S}/quickassist/qat/fw/qat_d15xx_mmp.bin > + ${D}${nonarch_base_libdir}/firmware > + > + # ICE-D LCC > + install -m 0755 ${S}/quickassist/qat/fw/qat_200xx.bin > + ${D}${nonarch_base_libdir}/firmware > + install -m 0755 ${S}/quickassist/qat/fw/qat_200xx_mmp.bin > + ${D}${nonarch_base_libdir}/firmware > + > + # ICE-D HCC > + install -m 0755 ${S}/quickassist/qat/fw/qat_c4xxx.bin > + ${D}${nonarch_base_libdir}/firmware > + install -m 0755 ${S}/quickassist/qat/fw/qat_c4xxx_mmp.bin > + ${D}${nonarch_base_libdir}/firmware > > install -d ${D}${QAT_HEADER_FILES}/include > install -d ${D}${QAT_HEADER_FILES}/include/dc > -- > 2.37.3
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8152): https://lists.yoctoproject.org/g/meta-intel/message/8152 Mute This Topic: https://lists.yoctoproject.org/mt/101868346/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
