Go to file
Takashi Iwai d12b262f70 - Update to version 20240826 (git commit bec4fd18cc57):
* amdgpu: DMCUB updates forvarious AMDGPU ASICs
  * rtw89: 8922a: add fw format-1 v0.35.41.0
  * linux-firmware: update firmware for MT7925 WiFi device
  * linux-firmware: update firmware for mediatek bluetooth chip (MT7925)
  * rtl_bt: Add firmware and config files for RTL8922A
  * rtl_bt: Add firmware file for the the RTL8723CS Bluetooth part
  * rtl_bt: de-dupe identical config.bin files
  * rename rtl8723bs_config-OBDA8723.bin -> rtl_bt/rtl8723bs_config.bin
  * linux-firmware: Update AMD SEV firmware
  * linux-firmware: update firmware for MT7996
  * Revert "i915: Update MTL DMC v2.22"
  * ath12k: WCN7850 hw2.0: update board-2.bin
  * ath11k: WCN6855 hw2.0: update to WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.41
  * ath11k: WCN6855 hw2.0: update board-2.bin
  * ath11k: QCA2066 hw2.1: add to WLAN.HSP.1.1-03926.13-QCAHSPSWPL_V2_SILICONZ_CE-2.52297.3
  * ath11k: QCA2066 hw2.1: add board-2.bin
  * ath11k: IPQ5018 hw1.0: update to WLAN.HK.2.6.0.1-01291-QCAHKSWPL_SILICONZ-1
  * qcom: vpu: add video firmware for sa8775p
  * amdgpu: DMCUB updates for various AMDGPU ASICs

OBS-URL: https://build.opensuse.org/package/show/Kernel:HEAD/kernel-firmware?expand=0&rev=496
2024-08-29 07:16:55 +00:00
_constraints - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
_multibuild - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
_service - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
_servicedata - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
.gitattributes - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
.gitignore - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
aliases.list - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
ast_dp501_fw.bin - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
check-topic.py - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
copy-file-ignore-README.patch - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
extrawhence - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
fwtopics.py - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
get_supplements.sh - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
iwlwifi-cc-a0-71.ucode - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
iwlwifi-Qu-b0-hr-b0-71.ucode - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
iwlwifi-Qu-b0-jf-b0-71.ucode - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
iwlwifi-Qu-c0-hr-b0-71.ucode - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
iwlwifi-Qu-c0-jf-b0-71.ucode - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
iwlwifi-QuZ-a0-hr-b0-71.ucode - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
iwlwifi-QuZ-a0-jf-b0-71.ucode - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
iwlwifi-so-a0-gf4-a0-71.ucode - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
iwlwifi-so-a0-gf-a0-71.ucode - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
iwlwifi-so-a0-hr-b0-71.ucode - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
iwlwifi-so-a0-jf-b0-71.ucode - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
iwlwifi-ty-a0-gf-a0-71.ucode - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
iwlwifi-WHENCE-fix.patch - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
kernel-firmware-20240618.tar.xz - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
kernel-firmware-20240712.tar.xz - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
kernel-firmware-20240728.tar.xz - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
kernel-firmware-20240809.tar.xz - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
kernel-firmware-20240826.tar.xz - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
kernel-firmware-rpmlintrc - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
kernel-firmware.changes - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
kernel-firmware.spec - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
kernel-firmware.spec.in - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
licenses.list - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
list-license.sh - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
make-files.sh - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
makespec.sh - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
qcom-post - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
ql2600_fw.bin - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
ql2700_fw.bin - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
ql8300_fw.bin - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
README.build - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
topicdefs - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
topicprovs - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
topics.list - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
uncompressed-post - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00
update-aliases.py - Update to version 20240826 (git commit bec4fd18cc57): 2024-08-29 07:16:55 +00:00

FILES
=====

topicdefs:
	Definitions of each flavor (topic) and description;
	the description is filled into spec file

topicprovs:
	Additional Provides and Obsoletes of each topic

topics.list:
	Mapping between WHENCE entries and topics.
	Each line consists of two or more items.  The first column is
	the first word of the WHENCE "Driver:" entry line to match.
	The second column is the topic/flavor, and the rest columns
	are the module names.  If no module name is provided, the same
	word as the first column is used as the module name.

	The validity with the latest kernel binary packages can be
	checked with check-topic.py script below.

licenses.list:
	List of license files for each WHENCE entry.

aliases.list:
	List of module aliases for each module.
	This is updated by update-alises.py script below.

extrawhence:
	Additional WHENCE entries for the own firmware files.

kernel-firmware.spec.in:
	The spec file template.  Edit this and generate
	kernel-firmware.spec dynamically via makespec.sh script.

makespec.sh:
	A script to combine the spec template and other info into the
	final kernel-firmware.spec.

check-topic.py:
	A program to check the validity of topics.list.  Pass the
	latest WHENCE file and the kernel RPM files to verify.

update-aliases.py:
	A program to update aliases.list from the latest kernel	RPM
	files.  Pass kernel RPM files as arguments.

install-split.sh:
	A helper script to copy the files based on WHENCE like the
	above, but also to create a file list for each topic in
	files-$TOPIC file.  The installed files are compressed with
	xz, as well as symlinks.

list-license.sh:
	A helper script to add file list entries for the corresponding
	license files for each topic.  It parses licenses.list.

get_supplements.sh:
	A helper script to create Supplements entries for each topic
	from aliases.list above.


MAINTENANCE WORKS
=================

Upon the update of linux-firmware.git
-------------------------------------

update the kernel-firmware tarball as usual:

% cd linux-firmware
% git archive --format=tar --prefix=kernel-firmware-$version/ -v master ./ \
  | xz -9 -M 4G --check=crc32 -T 4 > /tmp/kernel-firmware-$version.tar.xz

Run check-topic.py to verify whether new entries are added:

% python3 ./check-topic.py /somewhere/WHENCE /rpms/kernel-default-*.rpm

Update topics.list accordingly if new entry was added or updated in
WHENCE:

If new modules are added, update aliases.list as well:

% python3 ./update-aliases.py /rpms/kernel-default-*.rpm

After the update of these files, recreate kernel-firmware.spec by
makespec.sh script:

% sh ./makespec.sh 20190712 < kernel-firmware.spec.in > kernel-firmware.spec

where the argument is the version of the kernel firmware package.

And, don't forget to update kernel-firmware.changes accordingly.


Upon the update of kernel binary rpms
-------------------------------------

Again, run check-topic.py and update-aliases.py for the new kernel RPM
files, and rebuild kernel-firmware.spec.


Adding own firmware binaries
----------------------------

The new packaging relies purely on WHENCE file for counting the
installed files.  You have to either patch WHENCE file or put your own
stuff into extrawhence file, at least with "Driver:" and "File"
entries.  The extrawhence file is concatenated to WHENCE file at
building a package.


Creating a new kernel-firmware subpackage flavor
------------------------------------------------

Edit topicdefs file and add the new entry, and update topics.list and
licenses.list accordingly (these have to be updated manually).