From bf60b0d9593938be7b18bc462392420cd8a20c69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20G=C3=B6ransson?= Date: Thu, 14 Jan 2021 10:13:40 +0100 Subject: [PATCH] sof-firmware: link firmwares for Elkhart Lake and Tiger Lake After hours of trying to find out why SOF (from repo) didn't like my hardware, I tried installing the archive directly from github.com/thesofproject/sof-bin/ instead. To my surprise, it worked! Taking a closer look at the template, I realized that the firmware files for my system weren't linked, causing the following errors on boot. ``` [ 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 ``` **Note** I have only tested this with Tiger Lake. --- srcpkgs/sof-firmware/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/sof-firmware/template b/srcpkgs/sof-firmware/template index cf237de16a6..3f033e375b3 100644 --- a/srcpkgs/sof-firmware/template +++ b/srcpkgs/sof-firmware/template @@ -1,7 +1,7 @@ # Template file for 'sof-firmware' pkgname=sof-firmware version=1.6.1 -revision=1 +revision=2 archs="i686* x86_64*" wrksrc="sof-bin-${version}" depends="alsa-ucm-conf" @@ -26,7 +26,7 @@ do_install() { for arc in {bdw,byt,cht}; do ln -s sof-${arc}-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-${arc}.ri done - for arc in {apl,cnl,icl}; do + for arc in {apl,cnl,icl,ehl,tgl}; do ln -s intel-signed/sof-${arc}-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-${arc}.ri done ln -s intel-signed/sof-apl-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-glk.ri