Emil Velikov
ee8c336ab3
copy-firmware.sh: flesh out and fix dedup-firmware.sh
...
Flesh out the de-duplication logic in separate script. The copy-firmware.sh is
already complex enough and de-duplication doesn't really fit in there.
In the process we migrate away from the open-coded `ln --relative`. We also
avoid touching symlinks, which are not created by rdfind. Otherwise we end up
"fixing" the folder to folder symlinks (created earlier in the process) and
things explode.
As result we also get a few bonuses:
- the COPYOPTS shell injection is gone - the variable was never used
- people can dedup as separate step if/when they choose to do so
Aside: based on the noise in git log and around distros ... I'm wondering if
having the de-duplication as opt-in, would have been better. Is it too late to
change or the ship has sailed?
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2024-10-10 14:33:32 +00:00
Emil Velikov
cc4c1fccb0
Style update yaml files
...
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2024-10-10 14:33:32 +00:00
Emil Velikov
a924bda835
editorconfig: add initial config file
...
It's a simple format handled by practically every supported platform or program
out there.
Add an initial configuration file, so we reduce the style variation of the files
in-tree.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2024-10-10 14:33:32 +00:00
Emil Velikov
737e6f37c0
check_whence.py: annotate replacement strings as raw
...
Otherwise python 3.12 throws warnings like below:
.../check_whence.py:40: SyntaxWarning: invalid escape sequence '\ '
yield match.group(1).replace("\ ", " ").replace('"', "")
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2024-10-10 14:33:32 +00:00
Emil Velikov
1dbbc8fb82
check_whence.py: LC_ALL=C sort -u the filelist
...
Sort the file list, so it's easier to manage.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2024-10-10 14:33:32 +00:00
Emil Velikov
8a507494f3
check_whence.py: ban link-to-a-link
...
Using link-to-a-link reduces legibility and changes to the root link,
also changes the leafs. Where the latter may be undesired and in some
cases just wrong.
We have a couple of instances in-tree, so fix them up and ban the
combination.
One particularly good example, why we'd want this is:
https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/272
In there we have the following:
File: ti/tas2781/TAS2XXX1EB30.bin
[snip]
Link: TAS2XXX1EB3.bin -> ti/tas2781/TAS2XXX1EB3.bin
Link: ti/tas2781/TAS2XXX1EB3.bin -> TAS2XXX1EB30.bin
Link: TAS2XXX1EB30.bin -> ti/tas2781/TAS2XXX1EB30.bin
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2024-10-10 14:33:32 +00:00
Emil Velikov
981b1ab776
check_whence.py: use consistent naming
...
Namely: file(name) and sym(link) ... which were swapped in a few places.
One of which by yours truly 🤦
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2024-10-10 14:33:32 +00:00
Mario Limonciello
0bba37fade
Merge branch 'superm1/missing-suggestion' into 'main'
...
Add a link from TAS2XXX1EB3.bin -> ti/tas2781/TAS2XXX1EB30.bin
See merge request kernel-firmware/linux-firmware!318
2024-10-10 14:13:18 +00:00
Mario Limonciello
e1bd5010f8
Add a link from TAS2XXX1EB3.bin -> ti/tas2781/TAS2XXX1EB30.bin
...
This allows compatibility with old and new TAS drivers.
Suggested-by: Antheas Kapenekakis <lkml@antheas.dev>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
2024-10-10 09:10:50 -05:00
Mario Limonciello
7a8418ddbf
Merge branch 'superm1/add-ti-fw' into 'main'
...
tas2781: Upload dsp firmware for ASUS laptop 1EB30 & 1EB31
See merge request kernel-firmware/linux-firmware!317
2024-10-10 13:38:29 +00:00
Shenghao Ding
4cbaca8d27
tas2781: Upload dsp firmware for ASUS laptop 1EB30 & 1EB31
...
Signed-off-by: Shenghao Ding <shenghao-ding@ti.com>
[superm1: Squash and rebase]
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
2024-10-10 08:33:27 -05:00
Mario Limonciello
c01656f9d5
Merge branch 'robot/pr-18-1728530109' into 'main'
...
robot/pr-18-1728530109
See merge request kernel-firmware/linux-firmware!314
2024-10-10 03:19:45 +00:00
Bitterblue Smith
d4e688aa74
rtlwifi: Add firmware v39.0 for RTL8192DU
...
The new rtl8192du driver will support this chip.
Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
2024-10-10 03:18:01 +00:00
Mario Limonciello
f8dcb9a2bc
Merge branch 'superm1/revert-82318c96' into 'main'
...
Revert "ath12k: WCN7850 hw2.0: update board-2.bin"
See merge request kernel-firmware/linux-firmware!310
2024-10-10 02:19:09 +00:00
Mario Limonciello
964ba5bf0e
Revert "ath12k: WCN7850 hw2.0: update board-2.bin"
...
This reverts commit 82318c966f
.
This has caused regressions for a number of users and will be
fixed by a future firmware from Qualcomm.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=219282
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
2024-10-09 21:15:59 -05:00
Mario Limonciello
919f79f9fb
Merge branch 'amd-staging' into 'main'
...
amdgpu: DMCUB DCN35 update
See merge request kernel-firmware/linux-firmware!308
2024-10-04 21:12:04 +00:00
Rodrigo Siqueira
bbb77872a8
amdgpu: DMCUB DCN35 update
...
From internal git commit d9280f8de5d240955ab1d41a471c2f9d876745d2
Firmware release 0.0.237.0
Tested with DC 3.2.304
Release notes:
- Skip PSR phy power sequence in some specific cases
- Block IDLE_EVENT if there is a missing timer
- Handle minimum duration in IPS if it is close to hpd check
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
2024-10-04 21:10:14 +00:00
Mario Limonciello
c6a154f686
Merge branch 'brcm-nvram-updates' into 'main'
...
brcm: a couple of NVRAM updates
See merge request kernel-firmware/linux-firmware!307
2024-10-04 21:09:54 +00:00
Peter Robinson
19624c7141
brcm: Add BCM4354 NVRAM for Jetson TX1
...
Add a NVRAM file for the BCM4354 Wifi/BT module used on the
NVIDIA p2371-2180, AKA Jetson TX1.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
2024-10-04 17:32:47 +01:00
Peter Robinson
de6690f81d
brcm: Link FriendlyElec NanoPi M4 to AP6356S nvram
...
The FriendlyElec NanoPi M4 has a AP6356S WiFi/BT module
so we can reuse the NVRAM like devices with the same
module.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
2024-10-04 16:33:14 +01:00
Josh Boyer
95bfe086cd
Merge branch 'mt76' into 'main'
...
mt76: mt7996: add firmware files for mt7996 chipset variants
See merge request kernel-firmware/linux-firmware!306
2024-10-01 11:53:24 +00:00
Josh Boyer
51e5af813e
Merge branch 'mt76-20240926' of https://github.com/csyuanc/linux-firmware into mt76
...
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
2024-10-01 07:40:33 -04:00
Josh Boyer
323bfa5fe4
Merge branch 'mt7920' into 'main'
...
linux-firmware: add firmware for MT7920
See merge request kernel-firmware/linux-firmware!305
2024-10-01 11:39:14 +00:00
Chris Lu
7f9c1f1b1c
linux-firmware: add firmware for MediaTek Bluetooth chip (MT7920)
...
File: mediatek/BT_RAM_CODE_MT7961_1a_2_hdr.bin
Version: 20240930111457
Signed-off-by: Chris Lu <chris.lu@mediatek.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
2024-10-01 07:37:05 -04:00
Deren Wu
3ce84a8dbf
linux-firmware: add firmware for MT7920
...
Add binary firmware for MT7920 based devices
File: mediatek/WIFI_MT7961_patch_mcu_1a_2_hdr.bin
Version: 20240930111002a
File: mediatek/WIFI_RAM_CODE_MT7961_1a.bin
Version: 20240930111041
Signed-off-by: Deren Wu <deren.wu@mediatek.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
2024-10-01 07:37:00 -04:00
Josh Boyer
d24db1dfbb
Merge branch 'qcm6490' into 'main'
...
qcom: update gpu firmwares for qcm6490 chipset
See merge request kernel-firmware/linux-firmware!304
2024-10-01 11:35:53 +00:00
Josh Boyer
dbfa742651
Merge branch 'gpu-fw-QCM6490' of https://git.codelinaro.org/clo/linux-kernel/linux-firmware into qcm6490
...
Acked-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
2024-10-01 07:33:21 -04:00
Mario Limonciello
c979a06518
Merge branch 'amd-staging' into 'main'
...
amdgpu: update aldebaran firmware
See merge request kernel-firmware/linux-firmware!301
2024-09-28 00:47:58 +00:00
Alex Deucher
33e0186889
amdgpu: update raven firmware
...
Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-09-28 00:46:10 +00:00
Alex Deucher
7fb843a795
amdgpu: update SMU 13.0.10 firmware
...
Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-09-28 00:46:10 +00:00
Alex Deucher
4c26cc8ad7
amdgpu: update PSP 13.0.10 firmware
...
Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-09-28 00:46:10 +00:00
Alex Deucher
7fc074378d
amdgpu: update GC 11.0.3 firmware
...
Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-09-28 00:46:10 +00:00
Alex Deucher
14ab1a73ac
amdgpu: update VCN 3.1.2 firmware
...
Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-09-28 00:46:10 +00:00
Alex Deucher
eda63886d8
amdgpu: update PSP 13.0.5 firmware
...
Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-09-28 00:46:10 +00:00
Alex Deucher
4af395555d
amdgpu: update PSP 13.0.8 firmware
...
Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-09-28 00:46:10 +00:00
Alex Deucher
f59634d0e4
amdgpu: update vega12 firmware
...
Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-09-28 00:46:10 +00:00
Alex Deucher
7ae24e45e3
amdgpu: update PSP 14.0.4 firmware
...
Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-09-28 00:46:10 +00:00
Alex Deucher
f532df3cca
amdgpu: update GC 11.5.2 firmware
...
Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-09-28 00:46:10 +00:00
Alex Deucher
d5c5ec0fc5
amdgpu: update vega10 firmware
...
Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-09-28 00:46:10 +00:00
Alex Deucher
3b465bde3b
amdgpu: update VCN 4.0.0 firmware
...
Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-09-28 00:46:10 +00:00
Alex Deucher
6831db8381
amdgpu: update PSP 13.0.0 firmware
...
Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-09-28 00:46:10 +00:00
Alex Deucher
0b4441e8cb
amdgpu: update GC 11.0.0 firmware
...
Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-09-28 00:46:10 +00:00
Alex Deucher
48258dfda1
amdgpu: update picasso firmware
...
Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-09-28 00:46:10 +00:00
Alex Deucher
2ad586a37b
amdgpu: update beige goby firmware
...
Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-09-28 00:46:10 +00:00
Alex Deucher
b6d2d8dfd2
amdgpu: update vangogh firmware
...
Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-09-28 00:46:10 +00:00
Alex Deucher
7979cbf166
amdgpu: update dimgrey cavefish firmware
...
Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-09-28 00:46:10 +00:00
Alex Deucher
4d9d87b4c9
amdgpu: update navy flounder firmware
...
Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-09-28 00:46:10 +00:00
Alex Deucher
da485c46a0
amdgpu: update green sardine firmware
...
Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-09-28 00:46:10 +00:00
Alex Deucher
339a290f6e
amdgpu: update VCN 4.0.2 firmware
...
Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-09-28 00:46:10 +00:00
Alex Deucher
7072242987
amdgpu: update PSP 13.0.4 firmware
...
Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-09-28 00:46:10 +00:00