[Sound-open-firmware] SOF in a laptop Whiskey Lake ALC215

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Fri Apr 17 21:35:37 CEST 2020


Hi Josep,

> I missed a step when following
> https://thesofproject.github.io/latest/getting_started/build-guide/build-from-scratch.html
> in "Topology and tools build results".
> It says: "The topology files are located in the
> tools/build_tools/topology folder. Copy them to the target machine’s
> /lib/firmware/intel/sof-tplg folder."
> So I copied all *.conf and *.tplg files to the specified folder. It is
> not clear there which files are (are the *.tplg only?).

Ah, there's a misunderstanding here, sorry about that.

That guide to build the firmware only applies to open platforms 
(Chromebooks and Up boards). For devices designed for Windows, the 
firmware needs to be signed with an Intel production key - which is not 
released to the general public. So you *have* to use the binary 
firmwares available at
https://github.com/thesofproject/sof-bin/tree/stable-v1.4.2

the go.sh script will install everything and add the links as needed.

If you compile yourself, you will use the community key and the boot 
will fail - guaranteed.

> I tried adding as many options as I could to the kernel config by menuconfig.
> Coud not find these:
> CONFIG_SND_SOC_SOF_OF=m
> CONFIG_SND_SOC_SOF_CLIENT_SUPPORT=y
> 
> CONFIG_SND_SOC_SOF_IMX_TOPLEVEL=y
> CONFIG_SND_SOC_SOF_IMX8_SUPPORT=y

That's fine, they are not needed on all platforms (dependencies on ARM 
stuff and code that's not yet merged).

> 
> But anyway, even after adding the options you gave to kernel, there
> are still some errors:
> 
> dmesg |grep "hda\|sof-audio-pci\|error"
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> [    7.708129] sof-audio-pci 0000:00:1f.3: error: cl_copy_fw: timeout
> HDA_DSP_SRAM_REG_ROM_STATUS read
> [    7.708141] sof-audio-pci 0000:00:1f.3: error: load fw failed ret: -110
> [    7.708168] sof-audio-pci 0000:00:1f.3: error: status = 0x0000002c
> panic = 0x00000000
> [    7.708177] sof-audio-pci 0000:00:1f.3: error: failed to reset DSP
> [    7.708180] sof-audio-pci 0000:00:1f.3: error: failed to boot DSP
> firmware -110
> [    7.758514] sof-audio-pci 0000:00:1f.3: error:
> hda_dsp_core_reset_enter: timeout on HDA_DSP_REG_ADSPCS read
> [    7.758518] sof-audio-pci 0000:00:1f.3: error: dsp core reset
> failed: core_mask f
> [    7.758759] sof-audio-pci 0000:00:1f.3: error: failed to probe DSP hardware!
> [    7.759015] sof-audio-pci: probe of 0000:00:1f.3 failed with error -110
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Yes, that's a clear sign of what I mentioned above. Your firmware is not 
authenticated so the boot fails. Please use the signed binaries and retry.

We probably have to document this better...

Regards
-Pierre




More information about the Sound-open-firmware mailing list