f0faeda0a1
Previous versions of this package manually linked firmware files. This caused some firmwares to slip by unlinked. As a consequence, the following errors were encountered on boot with a Tiger Lake processor. ``` [ 11.829580] sof-audio-pci 0000:00:1f.3: error: request firmware intel/sof/sof-tgl.ri failed err: -2 [ 11.829709] sof-audio-pci 0000:00:1f.3: error: failed to load DSP firmware -2 [ 11.830177] sof-audio-pci 0000:00:1f.3: error: sof_probe_work failed err: -2 ```
23 lines
642 B
Bash
23 lines
642 B
Bash
# Template file for 'sof-firmware'
|
|
pkgname=sof-firmware
|
|
version=1.6.1
|
|
revision=2
|
|
archs="i686* x86_64*"
|
|
wrksrc="sof-bin-${version}"
|
|
depends="alsa-ucm-conf"
|
|
short_desc="Sound Open Firmware and topology binaries"
|
|
maintainer="cinerea0 <cinerea0@protonmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://thesofproject.github.io/latest/index.html"
|
|
distfiles="https://github.com/thesofproject/sof-bin/archive/v${version}.tar.gz"
|
|
checksum=587b320030bc84de1aacba5d86d89ba1a4f67201baf8b9b61bb885af60643bfb
|
|
|
|
do_install() {
|
|
vlicense LICENCE.NXP
|
|
|
|
export ROOT="${DESTDIR}/usr"
|
|
export SOF_VERSION="v${version}"
|
|
|
|
vmkdir usr/lib/firmware/intel
|
|
./go.sh
|
|
}
|