Hello, Pierre,
thank you very much.
I missed a step when following https://thesofproject.github.io/latest/getting_started/build-guide/build-fro... 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?).
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
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 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Attached you will find two txt files with dmesg messages related to sof and a complete /sys/kernel/debug/dynamic_debug/control.
Missatge de Pierre-Louis Bossart pierre-louis.bossart@linux.intel.com del dia dj., 16 d’abr. 2020 a les 17:21:
[ 4.460258] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100 [ 4.460428] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver ... [ 4.530541] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100 [ 4.530676] sof-audio-pci 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
this is a good sign :-)
[ 4.530768] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100 [ 4.533271] sof-audio-pci 0000:00:1f.3: use msi interrupt mode ... [ 4.537726] sof-audio-pci 0000:00:1f.3: warning: No matching ASoC machine driver found [ 4.537727] sof-audio-pci 0000:00:1f.3: error: no matching ASoC machine driver found - aborting probe [ 4.537729] sof-audio-pci 0000:00:1f.3: error: failed to get machine info -19 [ 4.537835] sof-audio-pci 0000:00:1f.3: error: failed to probe DSP hardware!
it's probably a missing option in your .config if you started from the Debian version.
Can you try and apply all the options listed here:
https://github.com/thesofproject/kconfig/blob/master/sof-defconfig https://github.com/thesofproject/kconfig/blob/master/mach-driver-defconfig https://github.com/thesofproject/kconfig/blob/master/hdaudio-codecs-defconfi...
Also it's probably better to use GitHub to attach information, etc, https://github.com/thesofproject/linux/issues
also add the attached file as /etc/modprobe.d/sof-dyndbg.conf so report more info.
-Pierre