Skip to contentSkip to conversation

ASoC: SOF: Intel: Fix CFL and CML FW nocodec binary names.

PATCH Bernie Innocenti 3 participants 3 messages Jan 1, 2020 – Jan 4, 2020

lore
Share & tools
lore
#0 lore raw

Greetings Liam and Pierre,

Review static const struct sof_dev_desc cml_desc = { · line 152

Quoted 6 lines
(quoted diff) +1 -1
@@ -149,7 +149,7 @@ static const struct sof_dev_desc cml_desc = {
 	.chip_info = &cnl_chip_info,
 	.default_fw_path = "intel/sof",
 	.default_tplg_path = "intel/sof-tplg",
-	.nocodec_fw_filename = "sof-cnl.ri",
+	.nocodec_fw_filename = "sof-cml.ri",

Where is this new firmware file? This patch has flown into Fedora kernels 5.4.5-301.fc31 and 5.5.0-0.rc3.git0.1.fc32, and now I'm getting this error when the module loads on a Thinkpad X1 Gen 7:

sof-audio-pci 0000:00:1f.3: Direct firmware load for
intel/sof/sof-cml.ri failed with error -2

The other .ri files come with alsa-firmware, but sof-cml.ri is absent in the latest upstream release (alsa-firmware-1.2.1).

The only reference I could find is this symlink, but it's not clear to me how and when it will get into distributions:

https://github.com/thesofproject/linux-firmware/commit/beff732e6642bd77dac5dd08514264f055fc4d10#diff-76c141712563cc9d4730eb63acb36ad5R3807-R3808

Signature · 6 lines
_ // Bernie Innocenti
\X/  https://codewiz.org/
_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
#1 lore raw
Quoted 14 lines · Bernie Innocenti

Greetings Liam and Pierre,

Review static const struct sof_dev_desc cml_desc = { · line 152

Quoted 6 lines
(quoted diff) +1 -1
@@ -149,7 +149,7 @@ static const struct sof_dev_desc cml_desc = {
      .chip_info = &cnl_chip_info,
      .default_fw_path = "intel/sof",
      .default_tplg_path = "intel/sof-tplg",
-    .nocodec_fw_filename = "sof-cnl.ri",
+    .nocodec_fw_filename = "sof-cml.ri",

Where is this new firmware file? This patch has flown into Fedora kernels 5.4.5-301.fc31 and 5.5.0-0.rc3.git0.1.fc32, and now I'm getting this error when the module loads on a Thinkpad X1 Gen 7:

  sof-audio-pci 0000:00:1f.3: Direct firmware load for
intel/sof/sof-cml.ri failed with error -2

Quoted 6 lines

The other .ri files come with alsa-firmware, but sof-cml.ri is absent in the latest upstream release (alsa-firmware-1.2.1).

The only reference I could find is this symlink, but it's not clear to me how and when it will get into distributions:

https://github.com/thesofproject/linux-firmware/commit/beff732e6642bd77dac5dd08514264f055fc4d10#diff-76c141712563cc9d4730eb63acb36ad5R3807-R3808

Yes, sorry for the delay. we run out of time at the end of 2019 (needed to verify the compilation of the firmware signed with the community key and matching changes in the SOF driver to select the right files [1]). Once this is done, we will make a pull request so that the releases flow into linux-firmware.

[1] https://github.com/thesofproject/linux/pull/1646
_______________________________________________
Alsa-devel mailing list [email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#2 lore raw

Dne 02. 01. 20 v 19:00 Pierre-Louis Bossart napsal(a):

Quoted 28 lines · Bernie Innocenti
Quoted 16 lines

Greetings Liam and Pierre,

Review static const struct sof_dev_desc cml_desc = { · line 152

Quoted 6 lines
(quoted diff) +1 -1
@@ -149,7 +149,7 @@ static const struct sof_dev_desc cml_desc = {
      .chip_info = &cnl_chip_info,
      .default_fw_path = "intel/sof",
      .default_tplg_path = "intel/sof-tplg",
-    .nocodec_fw_filename = "sof-cnl.ri",
+    .nocodec_fw_filename = "sof-cml.ri",

Where is this new firmware file? This patch has flown into Fedora kernels 5.4.5-301.fc31 and 5.5.0-0.rc3.git0.1.fc32, and now I'm getting this error when the module loads on a Thinkpad X1 Gen 7:

  sof-audio-pci 0000:00:1f.3: Direct firmware load for
intel/sof/sof-cml.ri failed with error -2

Quoted 8 lines

The other .ri files come with alsa-firmware, but sof-cml.ri is absent in the latest upstream release (alsa-firmware-1.2.1).

The only reference I could find is this symlink, but it's not clear to me how and when it will get into distributions:

https://github.com/thesofproject/linux-firmware/commit/beff732e6642bd77dac5dd08514264f055fc4d10#diff-76c141712563cc9d4730eb63acb36ad5R3807-R3808

Quoted 7 lines

Yes, sorry for the delay. we run out of time at the end of 2019 (needed to verify the compilation of the firmware signed with the community key and matching changes in the SOF driver to select the right files [1]). Once this is done, we will make a pull request so that the releases flow into linux-firmware.

[1] https://github.com/thesofproject/linux/pull/1646

My comments for the linux-firmware commit:

https://github.com/thesofproject/linux-firmware/commit/beff732e6642bd77dac5dd08514264f055fc4d10#r36656734

Bernie, I maintain the alsa-firmware package for Fedora and trying to catch the Intel changes to make things working for new laptops with this Intel hardware.

Jaroslav

Signature · 6 lines
Jaroslav Kysela <[email protected]>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel