Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] sof-firmware: link firmwares for Jasper Lake and Tiger Lake
@ 2021-01-14  9:26 adriangoransson
  2021-01-14 10:26 ` [PR PATCH] [Updated] " adriangoransson
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: adriangoransson @ 2021-01-14  9:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1415 bytes --]

There is a new pull request by adriangoransson against master on the void-packages repository

https://github.com/adriangoransson/void-packages master
https://github.com/void-linux/void-packages/pull/27917

sof-firmware: link firmwares for Jasper 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
```

This PR **should** fix that, but my xbps-src fu is lacking, so I haven't
actually managed to build the package. I get the following logs, even
though I have wiped the {host,master}dir and did a binary-bootstrap
again. I'll have a closer look at the manual in the weekend.

```
=> Registering new packages to /host/binpkgs
index: skipping `sof-firmware-1.6.1_1' (x86_64), already registered.
index: 1 packages registered.
```

A patch file from https://github.com/void-linux/void-packages/pull/27917.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-27917.patch --]
[-- Type: text/x-diff, Size: 1980 bytes --]

From 854e2813058f8024c6c7aee0bbe092471d5d24a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adrian=20G=C3=B6ransson?= <adriangoransson@gmail.com>
Date: Thu, 14 Jan 2021 10:13:40 +0100
Subject: [PATCH] sof-firmware: link firmwares for Jasper 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
```

This PR **should** fix that, but my xbps-src fu is lacking, so I haven't
actually managed to build the package. I get the following logs, even
though I have wiped the {host,master}dir and did a binary-bootstrap
again. I'll have a closer look at the manual in the weekend.

```
=> Registering new packages to /host/binpkgs
index: skipping `sof-firmware-1.6.1_1' (x86_64), already registered.
index: 1 packages registered.
```
---
 srcpkgs/sof-firmware/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/sof-firmware/template b/srcpkgs/sof-firmware/template
index cf237de16a6..5be96a7e3ae 100644
--- a/srcpkgs/sof-firmware/template
+++ b/srcpkgs/sof-firmware/template
@@ -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,jsl,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

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2021-01-26  3:12 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-14  9:26 [PR PATCH] sof-firmware: link firmwares for Jasper Lake and Tiger Lake adriangoransson
2021-01-14 10:26 ` [PR PATCH] [Updated] " adriangoransson
2021-01-16  3:15 ` [PR REVIEW] " cinerea0
2021-01-16  4:24 ` cinerea0
2021-01-16  9:17 ` [PR PATCH] [Updated] " adriangoransson
2021-01-16  9:17 ` [PR REVIEW] " adriangoransson
2021-01-20  0:06 ` sof-firmware: link firmwares for Elkhart " ericonr
2021-01-20  5:50 ` cinerea0
2021-01-20  9:07 ` adriangoransson
2021-01-20 15:27 ` ericonr
2021-01-21  0:29 ` cinerea0
2021-01-21 20:45 ` adriangoransson
2021-01-21 20:45 ` adriangoransson
2021-01-21 22:37 ` cinerea0
2021-01-23 10:51 ` [PR PATCH] [Updated] " adriangoransson
2021-01-23 10:55 ` sof-firmware: use provided install script adriangoransson
2021-01-26  3:12 ` ericonr
2021-01-26  3:12 ` [PR PATCH] [Merged]: " ericonr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).