@ -1,11 +1,11 @@
@@ -1,11 +1,11 @@
%global debug_package %{nil}
%global firmware_release 136
%global firmware_release 140
%global _firmwarepath /usr/lib/firmware
%define _binaries_in_noarch_packages_terminate_build 0
Name: linux-firmware
Version: 20220708
Version: 20220913
Release: %{firmware_release}%{?dist}
Summary: Firmware files used by the Linux kernel
License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted
@ -14,13 +14,21 @@ BuildArch: noarch
@@ -14,13 +14,21 @@ BuildArch: noarch
Source0: https://www.kernel.org/pub/linux/kernel/firmware/%{name}-%{version}.tar.xz
Patch1: 0001-Add-support-for-compressing-firmware-in-copy-firmwar.patch
Patch2: 0001-WHENCE-Correct-dangling-symlinks.patch
BuildRequires: make
Requires: linux-firmware-whence
Provides: kernel-firmware = %{version}
Obsoletes: kernel-firmware < %{version}
Conflicts: microcode_ctl < 2.1-0
%if 0%{?fedora} > 36
Recommends: amd-gpu-firmware
Recommends: intel-gpu-firmware
Recommends: nvidia-gpu-firmware
%else
Requires: amd-gpu-firmware
Requires: intel-gpu-firmware
Requires: nvidia-gpu-firmware
%endif
%description
This package includes firmware files required for some devices to
@ -32,6 +40,31 @@ License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted
@@ -32,6 +40,31 @@ 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
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
Requires: linux-firmware-whence
%description -n intel-gpu-firmware
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.
# WiFi firmwares
%package -n iwl100-firmware
Summary: Firmware for Intel(R) Wireless WiFi Link 100 Series Adapters
License: Redistributable, no modification permitted
@ -258,6 +291,7 @@ Requires: linux-firmware-whence
@@ -258,6 +291,7 @@ Requires: linux-firmware-whence
Firmware for Marvell Libertas USB 8388 Network Adapter with OLPC mesh network
support.
# SMART NIC and network switch firmwares
%package -n liquidio-firmware
Summary: Firmware for Cavium LiquidIO Intelligent Server Adapter
License: Redistributable, no modification permitted
@ -265,6 +299,13 @@ Requires: linux-firmware-whence
@@ -265,6 +299,13 @@ 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
@ -279,13 +320,6 @@ Requires: linux-firmware-whence
@@ -279,13 +320,6 @@ Requires: linux-firmware-whence
%description -n netronome-firmware
Firmware for Netronome Smart NICs
%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.
%prep
%autosetup -p1
@ -336,7 +370,12 @@ find . \! -type d > $FILEDIR/linux-firmware.files
@@ -336,7 +370,12 @@ 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 '/^iwlwifi/d' \
sed \
-i -e '/^amdgpu/d' \
-i -e '/^radeon/d' \
-i -e '/^i915/d' \
-i -e '/^nvidia\/g/d' \
-i -e '/^nvidia\/tu/d' \
-i -e '/^libertas\/sd8686/d' \
-i -e '/^libertas\/usb8388/d' \
-i -e '/^liquidio/d' \
@ -357,6 +396,20 @@ sed -e 's/^/%%dir /' linux-firmware.dirs >> linux-firmware.files
@@ -357,6 +396,20 @@ sed -e 's/^/%%dir /' linux-firmware.dirs >> linux-firmware.files
%files whence
%license WHENCE
%files -n amd-gpu-firmware
%license LICENSE.radeon LICENSE.amdgpu
%{_firmwarepath}/amdgpu/
%{_firmwarepath}/radeon/
%files -n intel-gpu-firmware
%license LICENSE.i915
%{_firmwarepath}/i915/
%files -n nvidia-gpu-firmware
%license LICENCE.nvidia
%{_firmwarepath}/nvidia/g*/
%{_firmwarepath}/nvidia/tu*/
%files -n iwl100-firmware
%license LICENCE.iwlwifi_firmware
%{_firmwarepath}/iwlwifi-100-5.ucode*
@ -475,6 +528,51 @@ sed -e 's/^/%%dir /' linux-firmware.dirs >> linux-firmware.files
@@ -475,6 +528,51 @@ sed -e 's/^/%%dir /' linux-firmware.dirs >> linux-firmware.files
%{_firmwarepath}/netronome/*
%changelog
* Thu Sep 29 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 20220913-140
- Update to upstream 20220913 release
- amdgpu: update yellow carp DMCUB firmware
- amdgpu: add firmware for VCN 3.1.2 IP block
- amdgpu: add firmware for SDMA 5.2.6 IP block
- amdgpu: add firmware for PSP 13.0.5 IP block
- amdgpu: add firmware for GC 10.3.6 IP block
- amdgpu: add firmware for DCN 3.1.5 IP block
- qcom: rename Lenovo ThinkPad X13s firmware paths
- rtw89: 8852c: update fw to v0.27.42.0
- Mellanox: Add new mlxsw_spectrum firmware xx.2010.3146
- amdgpu: update beige goby/dimgrey cavefish/navy flounder/sienna cichlid VCN firmware
- rtl_bt: Update RTL8852C BT USB firmware to 0xDFB8_5A33
- mediatek: reference the LICENCE file for MediaTek firmwares
* Tue Sep 13 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 20220815-139
- Use requires for GPU firmware on < Fedora 37
* Tue Aug 16 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 20220815-138
- Update to upstream 20220815 release
- mediatek: Update mt8183/mt8192/mt8195 SCP firmware
- mediatek: Add new mt8186 SOF firmware
- ice: Update package to 1.3.30.0
- QCA: Update Bluetooth WCN685x 2.1 firmware to 2.1.0-00438
- brcm: Add nvram for Lenovo Yoga Tablet 2 830F/L and 1050F/L tablets
- brcm: Add nvram for the Xiaomi Mi Pad 2 tablet
- brcm: Add nvram for the Asus TF103C tablet
- Add amd-ucode README file
- qca: Update firmware files for BT chip WCN6750
- Update firmware file for Intel Bluetooth 9462/9560/AX200/AX201/AX210/AX211
- Mellanox: Add new mlxsw_spectrum firmware xx.2010.3020
- qcom: Add firmware for Lenovo ThinkPad X13s
- Add firmware for Cirrus CS35L41
- i915: Add GuC v70.4.1 for DG2
- i915: Add DMC v2.07 for DG2
- amdgpu: update various GPUs to release 22.20
- amdgpu: partially revert "amdgpu: update beige goby to release 22.20"
- amdgpu: update psp 13.0.8 TA firmware
- amdgpu: update DMCUB firmware for DCN 3.1.6
- amdgpu: Update Yellow Carp VCN firmware
- WHENCE: Fix dangling symlinks
* Fri Aug 12 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 20220708-137
- Split out AMD/Intel/NVIDIA GPU firmware into sub packages
* Sun Jul 17 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 20220708-136
- Update to upstream 20220708 release
- WHENCE: Correct dangling symlinks