Working on audio for qcom apq8098 / msm8998

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everyone,

I've been trying to get audio working on a qcom apq8098 (cousin of msm8998) board.

Code is mostly based on work from here:
https://gitlab.com/msm8998-mainline/linux

This is the diff I have on top of v6.12-rc1
https://paste.debian.net/1331666/

Kernel log after init starts:

[   13.311201] random: crng init done
[   14.724797] atl1c 0000:01:00.0 enp1s0: renamed from eth0 (while UP)
[   14.895978] Detected VIPT I-cache on CPU1
[   14.896041] GICv3: CPU1: found redistributor 1 region 0:0x0000000017b20000
[   14.896113] CPU1: Booted secondary processor 0x0000000001 [0x51af8014]
[   14.949128] Detected VIPT I-cache on CPU2
[   14.949198] GICv3: CPU2: found redistributor 2 region 0:0x0000000017b40000
[   14.949272] CPU2: Booted secondary processor 0x0000000002 [0x51af8014]
[   15.025271] Detected VIPT I-cache on CPU3
[   15.025349] GICv3: CPU3: found redistributor 3 region 0:0x0000000017b60000
[   15.025423] CPU3: Booted secondary processor 0x0000000003 [0x51af8014]
[   15.106412] qcom,apr 17300000.remoteproc:glink-edge.apr_audio_svc.-1.-1: Adding APR/GPR dev: aprsvc:apr-service:4:3
[   15.109935] qcom,apr 17300000.remoteproc:glink-edge.apr_audio_svc.-1.-1: Adding APR/GPR dev: aprsvc:apr-service:4:4
[   15.119041] qcom-q6afe aprsvc:apr-service:4:4: YO: q6afe_probe:1759
[   15.134672] q6afe-dai 17300000.remoteproc:glink-edge:apr:apr-service@4:dais: YOA: q6afe_dai_dev_probe
[   15.137948] q6afe-dai 17300000.remoteproc:glink-edge:apr:apr-service@4:dais: YOA: of_q6afe_parse_dai_data
[   15.146461] qcom,apr 17300000.remoteproc:glink-edge.apr_audio_svc.-1.-1: Adding APR/GPR dev: aprsvc:apr-service:4:7
[   15.153563] remoteproc remoteproc0: powering up 4080000.remoteproc
[   15.166371] remoteproc remoteproc0: Booting fw image mba.mbn, size 234152
[   15.169747] q6asm-dai 17300000.remoteproc:glink-edge:apr:apr-service@7:dais: Adding to iommu group 5
[   15.170559] qcom,apr 17300000.remoteproc:glink-edge.apr_audio_svc.-1.-1: Adding APR/GPR dev: aprsvc:apr-service:4:8
[   15.179732] q6afe-dai 17300000.remoteproc:glink-edge:apr:apr-service@4:dais: YOA: msm_dai_q6_dai_probe
[   15.199345] qcom-q6afe aprsvc:apr-service:4:4: YO: q6afe_find_port:860
[   15.208834] msm-snd-msm8998 sound: ASoC: registered pcm #0 MultiMedia1 (*)
[   15.216194] msm-snd-msm8998 sound: snd-soc-dummy-dai <-> MultiMedia1 mapping ok
[   15.221994] msm-snd-msm8998 sound: ASoC: registered pcm #1 MultiMedia2 (*)
[   15.229582] msm-snd-msm8998 sound: snd-soc-dummy-dai <-> MultiMedia2 mapping ok
[   15.236045] msm-snd-msm8998 sound: ASoC: registered pcm #2 (HDMI)
[   15.243211] msm-snd-msm8998 sound: i2s-hifi <-> HDMI mapping ok
[   15.285770] input: batfish Headset Jack as /devices/platform/sound/sound/card0/input2
[   15.298010] qcom-q6v5-mss 4080000.remoteproc: MBA booted without debug policy, loading mpss
[   15.542937] remoteproc remoteproc0: remote processor 4080000.remoteproc is now up
[   17.727724] ath10k_snoc 18800000.wifi: qmi chip_id 0x30214 chip_family 0x4001 board_id 0xff soc_id 0x40010002
[   17.727923] ath10k_snoc 18800000.wifi: qmi fw_version 0x100204b2 fw_build_timestamp 2019-09-04 03:01 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HL.1.0-01202-QCAHLSWMTPLZ-1.221523.2
[   17.736928] ath10k_snoc 18800000.wifi: qmi not waiting for msa_ready indicator
[   17.903361] platform a800000.usb: deferred probe pending: dwc3: failed to initialize core
[   21.512409] arm-smmu 16c0000.iommu: Unhandled context fault: fsr=0x402, iova=0x00000000, fsynr=0x1, cbfrsynra=0x1900, cb=0
[   21.512619] arm-smmu 16c0000.iommu: FSR    = 00000402 [Format=2 TF], SID=0x1900
[   21.522450] arm-smmu 16c0000.iommu: FSYNR0 = 00000001 [S1CBNDX=0 PLVL=1]
[   21.599761] ath10k_snoc 18800000.wifi: wcn3990 hw1.0 target 0x00000008 chip_id 0x00000000 sub 0000:0000
[   21.599935] ath10k_snoc 18800000.wifi: kconfig debug 1 debugfs 1 tracing 0 dfs 0 testmode 0
[   21.608221] ath10k_snoc 18800000.wifi: firmware ver  api 5 features wowlan,mgmt-tx-by-reference,non-bmi crc32 3ec1ac4b
[   21.657531] ath10k_snoc 18800000.wifi: htt-ver 3.44 wmi-op 4 htt-op 3 cal file max-sta 32 raw 0 hwcrypto 1
[   21.713363] arm-smmu 16c0000.iommu: Unhandled context fault: fsr=0x402, iova=0x00000000, fsynr=0x1, cbfrsynra=0x1900, cb=0
[   21.713577] arm-smmu 16c0000.iommu: FSR    = 00000402 [Format=2 TF], SID=0x1900
[   21.723404] arm-smmu 16c0000.iommu: FSYNR0 = 00000001 [S1CBNDX=0 PLVL=1]
[   21.732374] ath10k_snoc 18800000.wifi: invalid MAC address; choosing random
[   21.737662] ath: EEPROM regdomain: 0x0
[   21.744356] ath: EEPROM indicates default country code should be used
[   21.748148] ath: doing EEPROM country->regdmn map search
[   21.754648] ath: country maps to regdmn code: 0x3a
[   21.759986] ath: Country alpha2 being used: US
[   21.764605] ath: Regpair used: 0x3a


Does anyone see something obvious I might have missed?

Regards




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux