From a062847c21b3e07a0e66a422cdccbbfc8612a621 Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Wed, 10 Jul 2024 16:45:50 +0800 Subject: [PATCH] update to 20240312 --- ...round-absense-of-rdfind-during-build.patch | 43 -- download | 2 +- linux-firmware.spec | 407 +++++++++++------- 3 files changed, 256 insertions(+), 196 deletions(-) delete mode 100644 0001-Work-around-absense-of-rdfind-during-build.patch diff --git a/0001-Work-around-absense-of-rdfind-during-build.patch b/0001-Work-around-absense-of-rdfind-during-build.patch deleted file mode 100644 index b059e81..0000000 --- a/0001-Work-around-absense-of-rdfind-during-build.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 7d6fd433a494d923a4d299a31da9ccee8470d26a Mon Sep 17 00:00:00 2001 -From: rpm-build -Date: Fri, 15 Mar 2024 08:31:08 +0800 -Subject: [PATCH] Work around absense of rdfind during build - ---- - copy-firmware.sh | 13 ------------- - 1 file changed, 13 deletions(-) - -diff --git a/copy-firmware.sh b/copy-firmware.sh -index f9b1f0f..de28e88 100755 ---- a/copy-firmware.sh -+++ b/copy-firmware.sh -@@ -69,11 +69,6 @@ if [ -z "$destdir" ]; then - exit 1 - fi - --if ! which rdfind 2>/dev/null >/dev/null; then -- echo "ERROR: rdfind is not installed" -- exit 1 --fi -- - # shellcheck disable=SC2162 # file/folder name can include escaped symbols - grep -E '^(RawFile|File):' WHENCE | sed -E -e 's/^(RawFile|File): */\1 /;s/"//g' | while read k f; do - test -f "$f" || continue -@@ -87,14 +82,6 @@ grep -E '^(RawFile|File):' WHENCE | sed -E -e 's/^(RawFile|File): */\1 /;s/"//g' - fi - done - --$verbose "Finding duplicate files" --rdfind -makesymlinks true -makeresultsfile false "$destdir" >/dev/null --find "$destdir" -type l | while read -r l; do -- target="$(realpath "$l")" -- $verbose "Correcting path for $l" -- ln -fs "$(realpath --relative-to="$(dirname "$(realpath -s "$l")")" "$target")" "$l" --done -- - # shellcheck disable=SC2162 # file/folder name can include escaped symbols - grep -E '^Link:' WHENCE | sed -e 's/^Link: *//g;s/-> //g' | while read f d; do - if test -L "$f$compext"; then --- -2.31.1 - diff --git a/download b/download index 12eaff9..9ea9721 100644 --- a/download +++ b/download @@ -1 +1 @@ -4e1b62642d8882781d66847133d2f0f0 linux-firmware-20231111.tar.gz +9dde672fd15408bca23a4df38d4513e2 linux-firmware-20240312.tar.gz diff --git a/linux-firmware.spec b/linux-firmware.spec index 0b9269f..83d73ed 100644 --- a/linux-firmware.spec +++ b/linux-firmware.spec @@ -1,45 +1,51 @@ %define anolis_release 1 -%global _prefix_firmware /usr/lib/firmware -%define _binaries_in_noarch_packages_terminate_build 0 +%global _firmwarepath /usr/lib/firmware +%define _binaries_in_noarch_packages_terminate_build 0 + Name: linux-firmware -Version: 20231111 +Version: 20240312 Release: %{anolis_release}%{?dist} Summary: Firmware files used by the Linux kernel License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted URL: http://www.kernel.org/ BuildArch: noarch - + Source0: https://www.kernel.org/pub/linux/kernel/firmware/%{name}-%{version}.tar.gz -Patch0: 0001-Work-around-absense-of-rdfind-during-build.patch - + BuildRequires: make BuildRequires: git-core - +# Not required but de-dupes FW so reduces size +BuildRequires: rdfind + Requires: linux-firmware-whence Provides: kernel-firmware = %{version} Obsoletes: kernel-firmware < %{version} Conflicts: microcode_ctl < 2.1-0 - + Recommends: amd-gpu-firmware Recommends: intel-gpu-firmware Recommends: nvidia-gpu-firmware Requires: amd-ucode-firmware +Requires: cirrus-audio-firmware +Requires: intel-audio-firmware +Requires: nxpwireless-firmware +Requires: tiwilink-firmware Requires: atheros-firmware Requires: brcmfmac-firmware Requires: mt7xxx-firmware Requires: realtek-firmware - + %description This package includes firmware files required for some devices to operate. - + %package whence Summary: WHENCE License file License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted %description whence This package contains the WHENCE license file which documents the vendor license details. - + # GPU firmwares %package -n amd-gpu-firmware Summary: Firmware for AMD GPUs @@ -47,7 +53,7 @@ License: Redistributable, no modification permitted Requires: linux-firmware-whence %description -n amd-gpu-firmware Firmware for AMD amdgpu and radeon GPUs. - + %package -n intel-gpu-firmware Summary: Firmware for Intel GPUs License: Redistributable, no modification permitted @@ -56,22 +62,22 @@ Requires: linux-firmware-whence Firmware for Intel GPUs including GuC (Graphics Microcontroller), HuC (HEVC/H.265 Microcontroller) and DMC (Display Microcontroller) firmware for Skylake and later platforms. - + %package -n nvidia-gpu-firmware Summary: Firmware for NVIDIA GPUs License: Redistributable, no modification permitted Requires: linux-firmware-whence %description -n nvidia-gpu-firmware Firmware for NVIDIA GPUs. - + # Microcode updates %package -n amd-ucode-firmware Summary: Microcode updates for AMD CPUs License: Redistributable, no modification permitted Requires: linux-firmware-whence %description -n amd-ucode-firmware -Microcode updates for AMD CPUs, ARM SEV amd TEE. - +Microcode updates for AMD CPUs, AMD SEV and AMD TEE. + # WiFi/Bluetooth firmwares %package -n atheros-firmware Summary: Firmware for Qualcomm Atheros WiFi/Bluetooth adapters @@ -79,14 +85,14 @@ License: Redistributable, no modification permitted Requires: linux-firmware-whence %description -n atheros-firmware Firmware for Qualcomm Atheros ath6k/ath9k/ath10k/ath11k WiFi adapters. - + %package -n brcmfmac-firmware Summary: Firmware for Broadcom/Cypress brcmfmac WiFi/Bluetooth adapters License: Redistributable, no modification permitted Requires: linux-firmware-whence %description -n brcmfmac-firmware Firmware for Broadcom/Cypress brcmfmac WiFi/Bluetooth adapters. - + %package -n iwlegacy-firmware Summary: Firmware for Intel(R) Wireless WiFi Link 3945(A)BG and 4965AGN adapters License: Redistributable, no modification permitted @@ -100,7 +106,7 @@ This package contains the firmware required by the iwlegacy driver for Linux. This includes the 3945(A)BG and 4965AGN WiFi NICs. Usage of the firmware is subject to the terms and conditions contained inside the provided LICENSE file. Please read it carefully. - + %package -n iwlwifi-dvm-firmware Summary: DVM Firmware for Intel(R) Wireless WiFi adapters License: Redistributable, no modification permitted @@ -134,7 +140,7 @@ This package contains the firmware required by the iwlwifi driver for Linux built with DVM firmware support (CONFIG_IWLDVM=y/m). Usage of the firmware is subject to the terms and conditions contained inside the provided LICENSE file. Please read it carefully. - + %package -n iwlwifi-mvm-firmware Summary: MVM Firmware for Intel(R) Wireless WiFi adapters License: Redistributable, no modification permitted @@ -150,7 +156,7 @@ This package contains the firmware required by the iwlwifi driver for Linux built with MVM firmware support (CONFIG_IWLMVM=y/m). Usage of the firmware is subject to the terms and conditions contained inside the provided LICENSE file. Please read it carefully. - + %package -n libertas-firmware Summary: Firmware for Marvell Libertas SD/USB WiFi Network Adapters License: Redistributable, no modification permitted @@ -166,21 +172,35 @@ Provides: libertas-usb8388-olpc-firmware < %{version}-%{release} %description -n libertas-firmware Firmware for the Marvell Libertas series of WiFi Network Adapters Including the SD 8686/8787 and USB 8388/8388. - + %package -n mt7xxx-firmware Summary: Firmware for Mediatek 7600/7900 series WiFi/Bluetooth adapters License: Redistributable, no modification permitted Requires: linux-firmware-whence %description -n mt7xxx-firmware Firmware for Mediatek 7600/7900 series WiFi/Bluetooth adapters - + +%package -n nxpwireless-firmware +Summary: Firmware for NXP WiFi/Bluetooth/UWB adapters +License: Redistributable, no modification permitted +Requires: linux-firmware-whence +%description -n nxpwireless-firmware +Firmware for NXP WiFi/Bluetooth/UWB adapters. + %package -n realtek-firmware Summary: Firmware for Realtek WiFi/Bluetooth adapters License: Redistributable, no modification permitted Requires: linux-firmware-whence %description -n realtek-firmware Firmware for Realtek WiFi/Bluetooth adapters - + +%package -n tiwilink-firmware +Summary: Firmware for Texas Instruments WiFi/Bluetooth adapters +License: Redistributable, no modification permitted +Requires: linux-firmware-whence +%description -n tiwilink-firmware +Firmware for Texas Instruments WiFi/Bluetooth adapters + # SMART NIC and network switch firmwares %package -n liquidio-firmware Summary: Firmware for Cavium LiquidIO Intelligent Server Adapter @@ -188,28 +208,29 @@ License: Redistributable, no modification permitted Requires: linux-firmware-whence %description -n liquidio-firmware Firmware for Cavium LiquidIO Intelligent Server Adapter - + %package -n mlxsw_spectrum-firmware Summary: Firmware for Mellanox Spectrum 1/2/3 Switches License: Redistributable, no modification permitted Requires: linux-firmware-whence %description -n mlxsw_spectrum-firmware Firmware for Mellanox Spectrumi series 1/2/3 ethernet switches. - + %package -n mrvlprestera-firmware Summary: Firmware for Marvell Prestera Switchdev/ASIC devices License: Redistributable, no modification permitted Requires: linux-firmware-whence %description -n mrvlprestera-firmware Firmware for Marvell Prestera Switchdev/ASIC devices - + %package -n netronome-firmware Summary: Firmware for Netronome Smart NICs License: Redistributable, no modification permitted Requires: linux-firmware-whence %description -n netronome-firmware Firmware for Netronome Smart NICs - + +# Silicon Vendor specific %package -n qcom-firmware Summary: Firmware for Qualcomm SoCs License: Redistributable, no modification permitted @@ -219,7 +240,31 @@ Requires: atheros-firmware = %{version}-%{release} Firmware for various compoents in Qualcomm SoCs including Adreno GPUs, Venus video encode/decode, Audio DSP, Compute DSP, WWAN modem, Sensor DSPs. - + +# Vision and ISP hardware +%package -n intel-vsc-firmware +Summary: Firmware files for Intel Visual Sensing Controller (IVSC) +License: Redistributable, no modification permitted +Requires: linux-firmware-whence +%description -n intel-vsc-firmware +Firmware files for Intel Visual Sensing Controller (IVSC) for +Tiger Lake, Alder Lake and Raptor Lake SoCs and the IPU3/6 firmware. + +# Sound codec hardware +%package -n cirrus-audio-firmware +Summary: Firmware for Cirrus audio amplifiers and codecs +License: Redistributable, no modification permitted +Requires: linux-firmware-whence +%description -n cirrus-audio-firmware +Firmware for Cirrus audio amplifiers and codecs + +%package -n intel-audio-firmware +Summary: Firmware for Intel audio DSP amplifiers and codecs +License: Redistributable, no modification permitted +Requires: linux-firmware-whence +%description -n intel-audio-firmware +Firmware for Intel audio DSP amplifiers and codecs + # Random other hardware %package -n dvb-firmware Summary: Firmware for various DVB broadcast receivers @@ -230,23 +275,27 @@ Firmware for various DVB broadcast receivers. These include the Siano DTV devices, devices based on Conexant chipsets (cx18, cx23885, cx23840, cx231xx), Xceive xc4000/xc5000, DiBcom dib0700, Terratec H5 DRX-K, ITEtech IT9135 Ax and Bx, and av7110. - + %prep -%autosetup -p1 +%autosetup -p1 %build - + %install -mkdir -p %{buildroot}/%{_prefix_firmware} -mkdir -p %{buildroot}/%{_prefix_firmware}/updates - -make DESTDIR=%{buildroot}/ FIRMWAREDIR=%{_prefix_firmware} install - +mkdir -p %{buildroot}/%{_firmwarepath} +mkdir -p %{buildroot}/%{_firmwarepath}/updates + +#make DESTDIR=%{buildroot}/ FIRMWAREDIR=%{_firmwarepath} install-xz +make DESTDIR=%{buildroot}/ FIRMWAREDIR=%{_firmwarepath} install + #Cleanup files we don't want to ship -pushd %{buildroot}/%{_prefix_firmware} +pushd %{buildroot}/%{_firmwarepath} # Remove firmware shipped in separate packages already # Perhaps these should be built as subpackages of linux-firmware? rm -rf ess korg sb16 yamaha - + +# Remove firmware for Creative CA0132 HD as it's in alsa-firmware +rm -f ctefx.bin* ctspeq.bin* + # Remove source files we don't need to install rm -rf carl9170fw rm -rf cis/{src,Makefile} @@ -256,27 +305,25 @@ rm -f dsp56k/{bootstrap.asm,concat-bootstrap.pl,Makefile} rm -f iscis/{*.c,*.h,README,Makefile} rm -f keyspan_pda/{keyspan_pda.S,xircom_pgs.S,Makefile} rm -f usbdux/*dux */*.asm - + # No need to install old firmware versions where we also provide newer versions # which are preferred and support the same (or more) hardware rm -f libertas/sd8686_v8* rm -f libertas/usb8388_v5.bin* - -# Remove firmware for Creative CA0132 HD as it's in alsa-firmware -rm -f ctefx.bin* ctspeq.bin* - + # Remove superfluous infra files rm -f check_whence.py configure Makefile README popd - + # Create file list but exclude firmwares that we place in subpackages FILEDIR=`pwd` -pushd %{buildroot}/%{_prefix_firmware} +pushd %{buildroot}/%{_firmwarepath} find . \! -type d > $FILEDIR/linux-firmware.files find . -type d | sed -e '/^.$/d' > $FILEDIR/linux-firmware.dirs popd sed -i -e 's:^./::' linux-firmware.{files,dirs} sed \ + -i -e '/^a300_p/d' \ -i -e '/^amdgpu/d' \ -i -e '/^amd/d' \ -i -e '/^amdtee/d' \ @@ -286,19 +333,30 @@ sed \ -i -e '/^ath9k_htc/d' \ -i -e '/^ath10k/d' \ -i -e '/^ath11k/d' \ + -i -e '/^ath12k/d' \ + -i -e '/^as102_data/d' \ -i -e '/^av7110/d' \ -i -e '/^brcm/d' \ + -i -e '/^cirrus/d' \ -i -e '/^cmmb/d' \ -i -e '/^cypress/d' \ -i -e '/^dvb/d' \ -i -e '/^i915/d' \ + -i -e '/^intel\/avs/d' \ + -i -e '/^intel\/catpt/d' \ + -i -e '/^intel\/dsp_fw/d' \ + -i -e '/^intel\/fw_sst/d' \ + -i -e '/^intel\/ipu/d' \ + -i -e '/^intel\/ipu3/d' \ + -i -e '/^intel\/irci_irci/d' \ + -i -e '/^intel\/vsc/d' \ -i -e '/^isdbt/d' \ -i -e '/^iwlwifi/d' \ + -i -e '/^nvidia\/a/d' \ -i -e '/^nvidia\/g/d' \ -i -e '/^nvidia\/tu/d' \ -i -e '/^lgs8g75/d' \ - -i -e '/^libertas\/sd8686/d' \ - -i -e '/^libertas\/usb8388/d' \ + -i -e '/^libertas/d' \ -i -e '/^liquidio/d' \ -i -e '/^mellanox/d' \ -i -e '/^mediatek\/mt76/d' \ @@ -307,7 +365,9 @@ sed \ -i -e '/^mediatek\/WIFI/d' \ -i -e '/^mrvl\/prestera/d' \ -i -e '/^mrvl\/sd8787/d' \ + -i -e '/^mt76/d' \ -i -e '/^netronome/d' \ + -i -e '/^nxp/d' \ -i -e '/^qca/d' \ -i -e '/^qcom/d' \ -i -e '/^radeon/d' \ @@ -317,43 +377,45 @@ sed \ -i -e '/^rtw89/d' \ -i -e '/^sms1xxx/d' \ -i -e '/^tdmb/d' \ + -i -e '/^ti-connectivity/d' \ -i -e '/^v4l-cx2/d' \ linux-firmware.files sed -i -e 's!^!/usr/lib/firmware/!' linux-firmware.{files,dirs} sed -i -e 's/^/"/;s/$/"/' linux-firmware.files sed -e 's/^/%%dir /' linux-firmware.dirs >> linux-firmware.files - - + + %files -f linux-firmware.files -%dir %{_prefix_firmware} +%dir %{_firmwarepath} %license LICENCE.* LICENSE.* GPL* - + %files whence %license WHENCE - + # GPU firmwares %files -n amd-gpu-firmware %license LICENSE.radeon LICENSE.amdgpu -%{_prefix_firmware}/amdgpu/ -%{_prefix_firmware}/radeon/ - +%{_firmwarepath}/amdgpu/ +%{_firmwarepath}/radeon/ + %files -n intel-gpu-firmware %license LICENSE.i915 -%{_prefix_firmware}/i915/ - +%{_firmwarepath}/i915/ + %files -n nvidia-gpu-firmware %license LICENCE.nvidia -%dir %{_prefix_firmware}/nvidia -%{_prefix_firmware}/nvidia/g*/ -%{_prefix_firmware}/nvidia/tu*/ - +%dir %{_firmwarepath}/nvidia/ +%{_firmwarepath}/nvidia/a*/ +%{_firmwarepath}/nvidia/g*/ +%{_firmwarepath}/nvidia/tu*/ + # Microcode updates %files -n amd-ucode-firmware %license LICENSE.amd-ucode -%{_prefix_firmware}/amd/ -%{_prefix_firmware}/amdtee/ -%{_prefix_firmware}/amd-ucode/ - +%{_firmwarepath}/amd/ +%{_firmwarepath}/amdtee/ +%{_firmwarepath}/amd-ucode/ + # WiFi/Bluetooth firmwares %files -n atheros-firmware %license LICENCE.atheros_firmware @@ -361,123 +423,164 @@ sed -e 's/^/%%dir /' linux-firmware.dirs >> linux-firmware.files %license LICENSE.QualcommAtheros_ath10k %license LICENCE.open-ath9k-htc-firmware %license qca/NOTICE.txt -%{_prefix_firmware}/ar3k/ -%{_prefix_firmware}/ath6k/ -%{_prefix_firmware}/ath9k_htc/ -%{_prefix_firmware}/ath10k/ -%{_prefix_firmware}/ath11k/ -%{_prefix_firmware}/qca/ - +%{_firmwarepath}/ar3k/ +%{_firmwarepath}/ath6k/ +%{_firmwarepath}/ath9k_htc/ +%{_firmwarepath}/ath10k/ +%{_firmwarepath}/ath11k/ +%{_firmwarepath}/ath12k/ +%{_firmwarepath}/qca/ + %files -n brcmfmac-firmware %license LICENCE.broadcom_bcm43xx %license LICENCE.cypress -%{_prefix_firmware}/brcm/ -%{_prefix_firmware}/cypress/ - +%{_firmwarepath}/brcm/ +%{_firmwarepath}/cypress/ + %files -n iwlegacy-firmware %license LICENCE.iwlwifi_firmware -%{_prefix_firmware}/iwlwifi-3945-*.ucode* -%{_prefix_firmware}/iwlwifi-4965-*.ucode* - +%{_firmwarepath}/iwlwifi-3945-*.ucode* +%{_firmwarepath}/iwlwifi-4965-*.ucode* + %files -n iwlwifi-dvm-firmware %license LICENCE.iwlwifi_firmware -%{_prefix_firmware}/iwlwifi-100-*.ucode* -%{_prefix_firmware}/iwlwifi-105-*.ucode* -%{_prefix_firmware}/iwlwifi-135-*.ucode* -%{_prefix_firmware}/iwlwifi-1000-*.ucode* -%{_prefix_firmware}/iwlwifi-2000-*.ucode* -%{_prefix_firmware}/iwlwifi-2030-*.ucode* -%{_prefix_firmware}/iwlwifi-5000-*.ucode* -%{_prefix_firmware}/iwlwifi-5150-*.ucode* -%{_prefix_firmware}/iwlwifi-6000-*.ucode* -%{_prefix_firmware}/iwlwifi-6000g2a-*.ucode* -%{_prefix_firmware}/iwlwifi-6000g2b-*.ucode* -%{_prefix_firmware}/iwlwifi-6050-*.ucode* - +%{_firmwarepath}/iwlwifi-100-*.ucode* +%{_firmwarepath}/iwlwifi-105-*.ucode* +%{_firmwarepath}/iwlwifi-135-*.ucode* +%{_firmwarepath}/iwlwifi-1000-*.ucode* +%{_firmwarepath}/iwlwifi-2000-*.ucode* +%{_firmwarepath}/iwlwifi-2030-*.ucode* +%{_firmwarepath}/iwlwifi-5000-*.ucode* +%{_firmwarepath}/iwlwifi-5150-*.ucode* +%{_firmwarepath}/iwlwifi-6000-*.ucode* +%{_firmwarepath}/iwlwifi-6000g2a-*.ucode* +%{_firmwarepath}/iwlwifi-6000g2b-*.ucode* +%{_firmwarepath}/iwlwifi-6050-*.ucode* + %files -n iwlwifi-mvm-firmware %license LICENCE.iwlwifi_firmware -%{_prefix_firmware}/iwlwifi-3160-*.ucode* -%{_prefix_firmware}/iwlwifi-3168-*.ucode* -%{_prefix_firmware}/iwlwifi-7260-*.ucode* -%{_prefix_firmware}/iwlwifi-7265-*.ucode* -%{_prefix_firmware}/iwlwifi-7265D-*.ucode* -%{_prefix_firmware}/iwlwifi-8000C-*.ucode* -%{_prefix_firmware}/iwlwifi-8265-*.ucode* -%{_prefix_firmware}/iwlwifi-9000-*.ucode* -%{_prefix_firmware}/iwlwifi-9260-*.ucode* -%{_prefix_firmware}/iwlwifi-cc-a0-*.ucode* -%{_prefix_firmware}/iwlwifi-gl-c0* -%{_prefix_firmware}/iwlwifi-ma-b0* -%{_prefix_firmware}/iwlwifi-Qu*.ucode* -%{_prefix_firmware}/iwlwifi-ty-a0* -%{_prefix_firmware}/iwlwifi-so-a0* - +%{_firmwarepath}/iwlwifi-3160-*.ucode* +%{_firmwarepath}/iwlwifi-3168-*.ucode* +%{_firmwarepath}/iwlwifi-7260-*.ucode* +%{_firmwarepath}/iwlwifi-7265-*.ucode* +%{_firmwarepath}/iwlwifi-7265D-*.ucode* +%{_firmwarepath}/iwlwifi-8000C-*.ucode* +%{_firmwarepath}/iwlwifi-8265-*.ucode* +%{_firmwarepath}/iwlwifi-9000-*.ucode* +%{_firmwarepath}/iwlwifi-9260-*.ucode* +%{_firmwarepath}/iwlwifi-cc-a0-*.ucode* +%{_firmwarepath}/iwlwifi-gl-c0* +%{_firmwarepath}/iwlwifi-ma-b0* +%{_firmwarepath}/iwlwifi-Qu*.ucode* +%{_firmwarepath}/iwlwifi-ty-a0* +%{_firmwarepath}/iwlwifi-so-a0* + %files -n libertas-firmware -%license LICENCE.Marvell -%dir %{_prefix_firmware}/libertas -%dir %{_prefix_firmware}/mrvl -%{_prefix_firmware}/libertas/sd8686* -%{_prefix_firmware}/libertas/usb8388_olpc.bin* -%{_prefix_firmware}/libertas/usb8388_v9.bin* -%{_prefix_firmware}/mrvl/sd8787* - +%license LICENCE.Marvell LICENCE.OLPC +%dir %{_firmwarepath}/libertas +%dir %{_firmwarepath}/mrvl +%{_firmwarepath}/libertas/* +%{_firmwarepath}/mrvl/sd8787* + %files -n mt7xxx-firmware %license LICENCE.mediatek %license LICENCE.ralink_a_mediatek_company_firmware -%dir %{_prefix_firmware}/mediatek -%{_prefix_firmware}/mediatek/mt76* -%{_prefix_firmware}/mediatek/mt79* -%{_prefix_firmware}/mediatek/BT* -%{_prefix_firmware}/mediatek/WIFI* - +%dir %{_firmwarepath}/mediatek +%{_firmwarepath}/mediatek/mt76* +%{_firmwarepath}/mediatek/mt79* +%{_firmwarepath}/mediatek/BT* +%{_firmwarepath}/mediatek/WIFI* +%{_firmwarepath}/mt76* + +%files -n nxpwireless-firmware +%license LICENSE.nxp +%dir %{_firmwarepath}/nxp +%{_firmwarepath}/nxp/* + %files -n realtek-firmware %license LICENCE.rtlwifi_firmware.txt -%{_prefix_firmware}/rtl_bt/ -%{_prefix_firmware}/rtlwifi/ -%{_prefix_firmware}/rtw88/ -%{_prefix_firmware}/rtw89/ - +%{_firmwarepath}/rtl_bt/ +%{_firmwarepath}/rtlwifi/ +%{_firmwarepath}/rtw88/ +%{_firmwarepath}/rtw89/ + +%files -n tiwilink-firmware +%license LICENCE.ti-connectivity +%dir %{_firmwarepath}/ti-connectivity/ +%{_firmwarepath}/ti-connectivity/* + # SMART NIC and network switch firmwares %files -n liquidio-firmware %license LICENCE.cavium_liquidio -%dir %{_prefix_firmware}/liquidio -%{_prefix_firmware}/liquidio/* - +%dir %{_firmwarepath}/liquidio +%{_firmwarepath}/liquidio/* + %files -n mrvlprestera-firmware %license LICENCE.Marvell -%dir %{_prefix_firmware}/mrvl/prestera -%{_prefix_firmware}/mrvl/prestera/* - +%dir %{_firmwarepath}/mrvl/prestera +%{_firmwarepath}/mrvl/prestera/* + %files -n mlxsw_spectrum-firmware -%dir %{_prefix_firmware}/mellanox/ -%{_prefix_firmware}/mellanox/* - +%dir %{_firmwarepath}/mellanox/ +%{_firmwarepath}/mellanox/* + %files -n netronome-firmware %license LICENCE.Netronome -%dir %{_prefix_firmware}/netronome -%{_prefix_firmware}/netronome/* - +%dir %{_firmwarepath}/netronome +%{_firmwarepath}/netronome/* + # Silicon Vendor specific %files -n qcom-firmware %license LICENSE.qcom LICENSE.qcom_yamato qcom/NOTICE.txt -%dir %{_prefix_firmware}/qcom -%{_prefix_firmware}/qcom/* - +%dir %{_firmwarepath}/qcom +%{_firmwarepath}/qcom/* +%{_firmwarepath}/a300_p* + +# Vision and ISP hardware +%files -n intel-vsc-firmware +%license LICENSE.ivsc +%dir %{_firmwarepath}/intel/ipu/ +%dir %{_firmwarepath}/intel/vsc/ +%{_firmwarepath}/intel/ipu3-fw.bin* +%{_firmwarepath}/intel/irci_irci_ecr-master_20161208_0213_20170112_1500.bin* +%{_firmwarepath}/intel/ipu/* +%{_firmwarepath}/intel/vsc/* + +# Sound codec hardware +%files -n cirrus-audio-firmware +%license LICENSE.cirrus +%dir %{_firmwarepath}/cirrus +%{_firmwarepath}/cirrus/* + +%files -n intel-audio-firmware +%license LICENCE.adsp_sst LICENCE.IntcSST2 +%dir %{_firmwarepath}/intel/ +%dir %{_firmwarepath}/intel/avs/ +%dir %{_firmwarepath}/intel/catpt/ +%{_firmwarepath}/intel/avs/* +%{_firmwarepath}/intel/catpt/* +%{_firmwarepath}/intel/dsp_fw* +%{_firmwarepath}/intel/fw_sst* + # Random other hardware %files -n dvb-firmware %license LICENSE.dib0700 LICENCE.it913x LICENCE.siano %license LICENCE.xc4000 LICENCE.xc5000 LICENCE.xc5000c -%dir %{_prefix_firmware}/av7110/ -%{_prefix_firmware}/av7110/* -%{_prefix_firmware}/cmmb* -%{_prefix_firmware}/dvb* -%{_prefix_firmware}/isdbt* -%{_prefix_firmware}/lgs8g75* -%{_prefix_firmware}/sms1xxx* -%{_prefix_firmware}/tdmb* -%{_prefix_firmware}/v4l-cx2* - +%dir %{_firmwarepath}/av7110/ +%{_firmwarepath}/av7110/* +%{_firmwarepath}/as102_data* +%{_firmwarepath}/cmmb* +%{_firmwarepath}/dvb* +%{_firmwarepath}/isdbt* +%{_firmwarepath}/lgs8g75* +%{_firmwarepath}/sms1xxx* +%{_firmwarepath}/tdmb* +%{_firmwarepath}/v4l-cx2* + %changelog +* Tue Jul 09 2024 mgb01105731 - 20240312-1 +- update to 20240312 + * Fri Mar 15 2024 Kaiqiang Wang - 20231111-1 - update to 20231111 -- Gitee