commit 1c3c5ce89f400ba475e96bbf92463f21375c354020e8c1b82b912ecefa100b49 Author: Adrian Schröter Date: Sat May 4 00:44:39 2024 +0200 Sync from SUSE:SLFO:Main sof-firmware revision c4dc17a9507bdf4ab04d5cf53a5587d3 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/install-use-cp.patch b/install-use-cp.patch new file mode 100644 index 0000000..2866837 --- /dev/null +++ b/install-use-cp.patch @@ -0,0 +1,17 @@ +--- + install.sh | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- a/install.sh ++++ b/install.sh +@@ -60,8 +60,8 @@ main() + fi + + # Trailing slash in srcdir/ ~= srcdir/* +- rsync -a "${path}"/sof*"$optversuffix" "${FW_DEST}"/ +- rsync -a "${path}"/tools"$optversuffix"/ "${TOOLS_DEST}"/ ++ cp -a "${path}"/sof*"$optversuffix" "${FW_DEST}"/ ++ cp -a "${path}"/tools"$optversuffix"/ "${TOOLS_DEST}"/ + } + + die() diff --git a/sof-bin-2023.09.1.tar.gz b/sof-bin-2023.09.1.tar.gz new file mode 100644 index 0000000..3091eac --- /dev/null +++ b/sof-bin-2023.09.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:583233652a298cb754c03f47c33a58c9b97770498aa0db03141f11ef705d191d +size 5451137 diff --git a/sof-firmware.changes b/sof-firmware.changes new file mode 100644 index 0000000..83b0e02 --- /dev/null +++ b/sof-firmware.changes @@ -0,0 +1,257 @@ +------------------------------------------------------------------- +Tue Nov 14 15:43:04 UTC 2023 - Takashi Iwai + +- Update Supplements for new modules like AMD ACP + +------------------------------------------------------------------- +Thu Nov 9 16:14:27 UTC 2023 - Takashi Iwai + +- Update to version 2023.09.1: + fixes for Intel Meteor Lake platforms + +------------------------------------------------------------------- +Mon Oct 9 12:18:07 UTC 2023 - Takashi Iwai + +- Update to version 2023.09 (jsc#PED-6123,jsc#PED-6114,jsc#PED-6104, + jsc#PED-6067,jsc#PED-6045,jsc#PED-6036): + it's a combined tarball with different version to support multiple + platforms including Metor Lake +- Use cp instead of rsync for installation: + install-use-cp.patch + +------------------------------------------------------------------- +Tue Jul 18 14:44:31 UTC 2023 - Takashi Iwai + +- Update to version 2.2.6: + There's no FW binary change. This release adds a few new topology binaries + for Intel Tiger Lake (TGL), Alder Lake (ADL) and Raptor Lake (RPL) platforms +- Add Notice.NXP + +------------------------------------------------------------------- +Mon Jun 5 13:39:08 UTC 2023 - Takashi Iwai + +- Update to version 2.2.5: + There's no FW binary change. This release adds a few new topology + binaries for Intel Alder Lake (ADL) platforms. +- Update supplements for RPL and MTL + +------------------------------------------------------------------- +Tue Jan 17 14:55:46 UTC 2023 - Takashi Iwai + +- Update to version 2.2.3: + ADL-N FW binary and topology updates for ADL/RPL/ICL +- Update to version 2.2.4: + New topology binaries for RPL/ADL/JSL +- Fix modalias for ACPI (bsc#1207211) + +------------------------------------------------------------------- +Thu Nov 3 11:08:43 UTC 2022 - Takashi Iwai + +- Update to version 2.2.2: + * Add support for Intel Raptor Lake (jsc#PED-850) + * CAVS firmware files are dropped + +------------------------------------------------------------------- +Sun Aug 28 04:34:38 UTC 2022 - Bernhard Wiedemann + +- Add sof-tplg-v2.2.1 + * https://github.com/thesofproject/sof/releases/tag/v2.2.1 + * topology updates for SoundWire, Intel APL/GLK platform with ES8336 codec, + and Intel RPL platform + +------------------------------------------------------------------- +Sun Jul 17 04:40:36 UTC 2022 - Bernhard Wiedemann + +- Update to version 2.2: + * New up mix and down mix module added with support for HiFi4 + that can up/down mix the number of channels in a stream. + * Zephyr, more native APIs added now for logging, delays, sleeping. + * Codec adapter becomes the module adapter and it's API reflects the + same API used by the Windows processing modules + * See details in https://github.com/thesofproject/sof/releases/tag/v2.2 + +------------------------------------------------------------------- +Wed Apr 20 08:20:08 CEST 2022 - tiwai@suse.de + +- Update to version 2.1: + Mediatek MT8186, Google AEC and other new platforms. + Stability improvements, etc. + See details in + https://github.com/thesofproject/sof/releases +- Update to version 2.1.1: + a fix release for 2.1 +- Update supplements for ADL-N + +------------------------------------------------------------------- +Thu Jan 20 16:10:58 CET 2022 - tiwai@suse.de + +- Update to version 2.0: + Intel Alderlake support, lots of fixes, etc. + See details in + https://github.com/thesofproject/sof/releases + +------------------------------------------------------------------- +Mon Jul 19 10:00:11 CEST 2021 - tiwai@suse.de + +- Update to version 1.8: + * Improved support for Intel Tigerlake based devices. + * Bluetooth support. + * Support for Inteligo noise reduction technology. + * Support for further Cadence library codecs. + * Further performance improvements to audio processing library. + * Power optimizations for Intel Tigerlake and Alderlake. + * Usual bug fixes and stability improvements. + * Pipeline level multi-core support + * LL scheduler refinement for multi-core support + * Zephyr integration continues with more native features being used. + * Some known xrun issues with multi-core are fixed + + Note that, due to yet more conflict, we cannot use the file layout + of the original tarball (the symlink sof-v1.8 -> sof would fail at + updating a package), install to the flat layout instead manually; + the script wouldn't work with the destination prefix, in anyway +- Update module aliases +- Drop obsoleted patch sof-bin-go-install-fix.patch +- Add conflicts with the non-usrmerge systems for TW package; + just for avoiding pitfalls of non-working systems +- Fix download URL + +------------------------------------------------------------------- +Wed Jun 2 10:13:30 CEST 2021 - tiwai@suse.de + +- Fix the build on TW after UsrMerge +- Drop the ugly workaround for the symlink fixups again, as we + moved the base directory due to UsrMerge + +------------------------------------------------------------------- +Tue Apr 6 16:08:30 CEST 2021 - tiwai@suse.de + +- Update to version 1.7: + * Added support for Intel Tigerlake H + * The codec adapter has had many improvements and now supports + audio processing modules from Cadence + * Continued Zephyr integration now means SOF is supported as a + Zephyr module + * Scheduler improvements to support dynamic clock switching + * Major feature and performance improvements for Smart amplifiers, + SRC, Mux, Crossover and DRC + * Numerous bug fixes and performance improvements for Intel and + NXP platforms +- Fix installation from v1.7 tarball: + sof-bin-go-install-fix.patch + +------------------------------------------------------------------- +Mon Feb 1 11:33:08 CET 2021 - tiwai@suse.de + +- Yet more ugly workarounds for the rpm shortness about the symlink + directory handling (bsc#1181554) + +------------------------------------------------------------------- +Thu Jan 21 10:00:26 CET 2021 - tiwai@suse.de + +- Update to version 1.6.1: + * Stable fix releases +- Take the tarball from the github release +- Keep dropping the broken JSL links; the firmware is still missing +- Update supplements + +------------------------------------------------------------------- +Mon Jan 18 10:52:41 CET 2021 - tiwai@suse.de + +- Add an ugly workaround for the upgrade error from the old 1.6-rc3 + or older due to the rpm problem (bsc#1180287) + +------------------------------------------------------------------- +Thu Dec 17 13:55:35 CET 2020 - tiwai@suse.de + +- Update to version 1.6 final: + * New platform JSL and EHL is added +- Use the bundled go.sh for installation +- Dropped jsl.ri that is wrongly symlinked for now + +------------------------------------------------------------------- +Thu Nov 26 13:53:53 CET 2020 - tiwai@suse.de + +- Fix build with older distros without %_firmwaredir + +------------------------------------------------------------------- +Tue Nov 3 09:39:35 CET 2020 - tiwai@suse.de + +- Update to version 1.6-rc3 (bsc#1178306): + * Support for Intel Tigerlake + * Support for Maxim Smart Amplifiers + * Beamformer Microphone support + * DC blocker audio processing component + * Major feature and performance improvements for ASRC, KWD and FIR/IIR + * Numerous bug fixes and performance improvements for Intel and NXP + platforms + +------------------------------------------------------------------- +Mon Oct 19 13:05:33 UTC 2020 - Ludwig Nussel + +- use %_firmwaredir + +------------------------------------------------------------------- +Mon Sep 7 17:24:46 CEST 2020 - tiwai@suse.de + +- Update to version 1.5.1 (bsc#1176200): + * ipc: header size validation fix + * ipc: check state in comp_free + * Topology: HDA-generic: Use +20 dB EQ gain for 16 kHz DMIC capture + * Topology: HDA-generic: Use +20 dB EQ gain for DMIC capture pipelines + * topology: fix dmic names (again) + * ssp: fix log + * Audio: SRC: Fix build fail when only CONFIG_FORMAT_S16LE is set + * cavs: platform: fix debug region size in FW ready + * mux: trace: fix uuid name assigned to demux driver + * platform: imx8m: Fix FIFO depth for i.MX8M + * drivers: imx: Fix free/avail bytes in sdma_get_data_size + * kpb: fix race condition in draining task + * .travis.yml: Fix incorrect usage of -j option + * topology: fix a typo for SCHEDULE_CORE + * licence: Include NXP Copyright + * Add TGL FW into v1.5.1 release + +- Update modaliases for the new chipsets + +------------------------------------------------------------------- +Mon Aug 3 14:37:41 CEST 2020 - tiwai@suse.de + +- Add missing symlink for Coffee Lake firmware, too (bsc#1174826) + +------------------------------------------------------------------- +Tue Jun 9 17:36:56 CEST 2020 - tiwai@suse.de + +- Add some comments for avoid misunderstanding about the package +- Add missing symlink for CML firmware +- Avoid symlink for tplg directory that may cause an error at + upgrading from the old package + +------------------------------------------------------------------- +Thu Jun 4 15:00:37 UTC 2020 - Jan Engelhardt + +- Trim old specfile constructs. + +------------------------------------------------------------------- +Thu Jun 4 15:13:40 CEST 2020 - tiwai@suse.de + +- Update to version 1.5: + tarball created from the official sof-bin git repo, only signed + firmware files are included at this time. + Release notes found at: + https://github.com/thesofproject/sof/releases/tag/v1.5 +- Fixed hda-dsp topology files taken from ftp.alsa-project.org + +------------------------------------------------------------------- +Thu Feb 13 08:01:10 CET 2020 - tiwai@suse.de + +- Update to version 1.4.2: + see https://github.com/thesofproject/sof/releases for details +- Fix broken symlinks in 1.4.2 tarball + +------------------------------------------------------------------- +Tue Jan 14 14:47:36 CET 2020 - tiwai@suse.de + +- Initial version: 1.4.1, taken from the bundled tarball in + ftp.alsa-project.org + diff --git a/sof-firmware.spec b/sof-firmware.spec new file mode 100644 index 0000000..13c81ee --- /dev/null +++ b/sof-firmware.spec @@ -0,0 +1,128 @@ +# +# spec file for package sof-firmware +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%if 0%{?suse_version} < 1550 +%define _firmwaredir /lib/firmware +%endif + +Name: sof-firmware +Summary: Firmware data files for SOF Drivers +License: BSD-3-Clause +Group: Hardware/Other +Version: 2023.09.1 +Release: 0 +URL: https://www.sofproject.org/ +BuildRequires: fdupes +Source: https://github.com/thesofproject/sof-bin/releases/download/v%{version}/sof-bin-%{version}.tar.gz +Patch1: install-use-cp.patch +BuildArch: noarch +# snd-sof-pci-intel-apl +Supplements: modalias(pci:v00008086d00003198sv*sd*bc*sc*i*) +Supplements: modalias(pci:v00008086d00005A98sv*sd*bc*sc*i*) +# snd-sof-pci-intel-cnl +Supplements: modalias(pci:v00008086d0000A3F0sv*sd*bc*sc*i*) +Supplements: modalias(pci:v00008086d000002C8sv*sd*bc*sc*i*) +Supplements: modalias(pci:v00008086d000006C8sv*sd*bc*sc*i*) +Supplements: modalias(pci:v00008086d00009DC8sv*sd*bc*sc*i*) +Supplements: modalias(pci:v00008086d0000A348sv*sd*bc*sc*i*) +# snd-sof-pci-intel-icl +Supplements: modalias(pci:v00008086d00004DC8sv*sd*bc*sc*i*) +Supplements: modalias(pci:v00008086d000034C8sv*sd*bc*sc*i*) +Supplements: modalias(pci:v00008086d000038C8sv*sd*bc*sc*i*) +Supplements: modalias(pci:v00008086d00003DC8sv*sd*bc*sc*i*) +# snd-sof-pci-intel-lnl +Supplements: modalias(pci:v00008086d0000A828sv*sd*bc*sc*i*) +# snd-sof-pci-intel-mtl +Supplements: modalias(pci:v00008086d00007E28sv*sd*bc*sc*i*) +# snd-sof-pci-intel-skl +Supplements: modalias(pci:v00008086d00009D71sv*sd*bc*sc*i*) +Supplements: modalias(pci:v00008086d00009D70sv*sd*bc*sc*i*) +# snd-sof-pci-intel-tgl +Supplements: modalias(pci:v00008086d000054C8sv*sd*bc*sc*i*) +Supplements: modalias(pci:v00008086d000043C8sv*sd*bc*sc*i*) +Supplements: modalias(pci:v00008086d00004B55sv*sd*bc*sc*i*) +Supplements: modalias(pci:v00008086d00004B58sv*sd*bc*sc*i*) +Supplements: modalias(pci:v00008086d000051C8sv*sd*bc*sc*i*) +Supplements: modalias(pci:v00008086d000051C9sv*sd*bc*sc*i*) +Supplements: modalias(pci:v00008086d000051CAsv*sd*bc*sc*i*) +Supplements: modalias(pci:v00008086d000051CBsv*sd*bc*sc*i*) +Supplements: modalias(pci:v00008086d000051CCsv*sd*bc*sc*i*) +Supplements: modalias(pci:v00008086d000051CDsv*sd*bc*sc*i*) +Supplements: modalias(pci:v00008086d000051CEsv*sd*bc*sc*i*) +Supplements: modalias(pci:v00008086d000051CFsv*sd*bc*sc*i*) +Supplements: modalias(pci:v00008086d00007A50sv*sd*bc*sc*i*) +Supplements: modalias(pci:v00008086d00007AD0sv*sd*bc*sc*i*) +Supplements: modalias(pci:v00008086d0000A0C8sv*sd*bc*sc*i*) +# snd-sof-pci-intel-tng +Supplements: modalias(pci:v00008086d0000119Asv*sd*bc*sc*i*) +# snd-sof-acpi-intel-bdw +Supplements: modalias(acpi*:INT3438%3A*) +# snd-sof-acpi-intel-byt +Supplements: modalias(acpi*:808622A8%3A*) +Supplements: modalias(acpi*:80860F28%3A*) +# snd-sof-amd-acp-* +Supplements: modalias(pci:v00001022d000015E2sv*sd*bc*sc*i*) +%if 0%{?suse_version} >= 1550 +# make sure we have post-usrmerge filesystem package on TW +Conflicts: filesystem < 84 +%endif + +%description +Firmware data files for Sound Open Firmware (SOF) drivers. + +%prep +%setup -q -n sof-bin-%{version} +%patch1 -p1 + +%build + +%install +mkdir -p %{buildroot}%{_firmwaredir}/intel +mkdir -p %{buildroot}%{_bindir} +FW_DEST=%{buildroot}%{_firmwaredir}/intel \ +TOOLS_DEST=%{buildroot}%{_bindir} \ +./install.sh +rm -rf %{buildroot}%{_bindir} +%fdupes -s %{buildroot} + +# workaround for changing symlinked directory +%pre +if [ -L %{_firmwaredir}/intel/sof-tplg ]; then + f=$(readlink -f %{_firmwaredir}/intel/sof-tplg) + case $f in + %{_firmwaredir}/intel/*) + rm -rf $f + rm -f %{_firmwaredir}/intel/sof-tplg;; + esac +fi + +%post +%{?regenerate_initrd_post} + +%postun +%{?regenerate_initrd_post} + +%posttrans +%{?regenerate_initrd_posttrans} + +%files +%license LICENCE.* Notice.NXP +%doc README.* +%{_firmwaredir}/* + +%changelog