Go to file
Takashi Iwai b3012b9782 Accepting request 976241 from home:tiwai:branches:Kernel:HEAD
- Update to version 20220509 (git commit b19cbdca78ab):
  * mediatek: Update mt8183 SCP firmware
  * ice: Update package to 1.3.28.0
  * i915: Add DMC v2.06 for DG2
  * rtl_bt: Update RTL8852A BT USB firmware to 0xDBB7_C1D9
  * amdgpu: update psp_13_0_8 firmware
  * amdgpu: update gc_10_3_7_rlc firmware
  * amdgpu: update dcn_3_1_6_dmcub firmware
  * ath11k: QCA6390 hw2.0: update to WLAN.HST.1.0.1-05266-QCAHSTSWPLZ_V2_TO_X86-1
  * qcom: add firmware files for Adreno a420 & related generations
  * qcom: add firmware files for Adreno a330
  * qcom: add firmware files for Adreno a220
  * i915: Add GuC v70.1.2 for DG2
  * rtw89: 8852c: add new firmware v0.27.20.0 for RTL8852C
  * Mellanox: Add lc_ini_bundle for xx.2010.1006
  * Mellanox: xx.2010.1502: Distribute non-xz-compressed lc_ini_bundle
  * ath10k: QCA9984 hw1.0: update board-2.bin
  * ath10k: QCA9984 hw1.0: update firmware-5.bin to 10.4-3.9.0.2-00156
  * ath10k: QCA9888 hw2.0: update board-2.bin
  * ath10k: QCA9888 hw2.0: update firmware-5.bin to 10.4-3.9.0.2-00156
  * ath10k: QCA6174 hw3.0: update board-2.bin
  * ath10k: QCA6174 hw3.0: update firmware-6.bin to WLAN.RM.4.4.1-00288-QCARMSWPZ-1
  * ath10k: QCA4019 hw1.0: update board-2.bin
  * ath10k: QCA99X0 hw2.0: add board-2.bin
  * ath11k: WCN6855 hw2.0: update to WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.7
  * ath11k: WCN6750 hw1.0: add to WLAN.MSL.1.0.1-00887-QCAMSLSWPLZ-1
  * ath11k: WCN6750 hw1.0: add board-2.bin
  * ath11k: QCN9074 hw1.0: add to WLAN.HK.2.5.0.1-01208-QCAHKSWPL_SILICONZ-1
  * ath11k: QCN9074 hw1.0: add board-2.bin
  * ath11k: QCA6390 hw2.0: update board-2.bin

OBS-URL: https://build.opensuse.org/request/show/976241
OBS-URL: https://build.opensuse.org/package/show/Kernel:HEAD/kernel-firmware?expand=0&rev=374
2022-05-11 08:51:33 +00:00
_constraints Accepting request 844784 from home:tiwai:branches:Kernel:HEAD 2020-10-29 09:12:14 +00:00
_multibuild Accepting request 723804 from home:tiwai:fw-compress3 2019-08-15 17:52:36 +00:00
_service Accepting request 934933 from home:tiwai:branches:Kernel:HEAD 2021-12-01 09:26:46 +00:00
_servicedata Accepting request 976241 from home:tiwai:branches:Kernel:HEAD 2022-05-11 08:51:33 +00:00
.gitattributes Accepting request 724951 from home:tiwai:branches:Kernel:HEAD 2019-08-21 07:50:46 +00:00
.gitignore OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kernel-firmware?expand=0&rev=1 2009-05-05 02:38:08 +00:00
aliases.list Accepting request 976241 from home:tiwai:branches:Kernel:HEAD 2022-05-11 08:51:33 +00:00
ast_dp501_fw.bin Accepting request 248124 from home:eeich:branches:Kernel:HEAD 2014-09-09 09:04:11 +00:00
check-topic.py Accepting request 723804 from home:tiwai:fw-compress3 2019-08-15 17:52:36 +00:00
extrawhence Accepting request 858999 from home:tiwai:branches:Kernel:HEAD 2020-12-28 12:02:18 +00:00
fwtopics.py Accepting request 934933 from home:tiwai:branches:Kernel:HEAD 2021-12-01 09:26:46 +00:00
get_supplements.sh Accepting request 723804 from home:tiwai:fw-compress3 2019-08-15 17:52:36 +00:00
install-split.sh Accepting request 908633 from home:tiwai:branches:Kernel:HEAD 2021-07-27 16:13:55 +00:00
kernel-firmware-20220509.tar.xz Accepting request 976241 from home:tiwai:branches:Kernel:HEAD 2022-05-11 08:51:33 +00:00
kernel-firmware-rpmlintrc Accepting request 485849 from home:pluskalm:branches:Kernel:HEAD 2017-04-05 16:23:02 +00:00
kernel-firmware.changes Accepting request 976241 from home:tiwai:branches:Kernel:HEAD 2022-05-11 08:51:33 +00:00
kernel-firmware.spec Accepting request 976241 from home:tiwai:branches:Kernel:HEAD 2022-05-11 08:51:33 +00:00
kernel-firmware.spec.in Accepting request 956099 from home:tiwai:branches:Kernel:HEAD 2022-02-21 10:56:02 +00:00
licenses.list Accepting request 958047 from home:tiwai:branches:Kernel:HEAD 2022-02-28 14:20:03 +00:00
list-license.sh Accepting request 723804 from home:tiwai:fw-compress3 2019-08-15 17:52:36 +00:00
makespec.sh Accepting request 906683 from home:tiwai:branches:Kernel:HEAD 2021-07-16 14:30:05 +00:00
ql2600_fw.bin Accepting request 500382 from home:tiwai:branches:Kernel:HEAD 2017-06-02 08:35:30 +00:00
ql2700_fw.bin Accepting request 500382 from home:tiwai:branches:Kernel:HEAD 2017-06-02 08:35:30 +00:00
ql8300_fw.bin Accepting request 500382 from home:tiwai:branches:Kernel:HEAD 2017-06-02 08:35:30 +00:00
README.build Accepting request 723804 from home:tiwai:fw-compress3 2019-08-15 17:52:36 +00:00
topicdefs Accepting request 891439 from home:tiwai:branches:Kernel:HEAD 2021-05-08 07:45:32 +00:00
topicprovs Accepting request 723804 from home:tiwai:fw-compress3 2019-08-15 17:52:36 +00:00
topics.list Accepting request 956099 from home:tiwai:branches:Kernel:HEAD 2022-02-21 10:56:02 +00:00
update-aliases.py Accepting request 723804 from home:tiwai:fw-compress3 2019-08-15 17:52:36 +00:00
wfx-WHENCE-fix.diff Accepting request 958047 from home:tiwai:branches:Kernel:HEAD 2022-02-28 14:20:03 +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.

copy-firmware.sh:
	A helper script to copy the all listed files in WHENCE to the
	destination directory.  Used for raw catch-all installation.

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).