Coder Social home page Coder Social logo

tfa98xx's People

Contributors

richard-hu avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

tfa98xx's Issues

imx8mq: SPH0645 Init passes but TFA9912 init fails

Hi,

I compiled and built Kernel 4.14 and loaded imx8mq-pico-pi-voicehat.dtb, but the TFA9912 playback device consistently fails initialization.

Did I miss something in the kernel compilation? Can you help me figure out what the problem is? Thanks!

UBOOT

U-Boot 2018.03-tn-imx_v2018.03_4.14.98_2.0.0_ga-wip+g6dd7261 (Apr 25 2019 - 10:59:23 +0000)
CPU:   Freescale i.MX8MQ rev2.0 1300 MHz (running at 800 MHz)
Model: TechNexion PICO-IMX8MQ and PI baseboard
u-boot=> fatls mmc 0
 17773056   Image
    42315   imx8mq-pico-pi.dtb
    42461   imx8mq-pico-pi-m4.dtb
    45821   imx8mq-pico-pi-voicehat.dtb
    43156   imx8mq-pico-pi-dcss-ili9881c.dtb
   586652   u-boot.img

UNAME

root@technexion:~# uname -a
Linux technexion 4.14.98-g9146d4d-dirty #11 SMP PREEMPT Sun Oct 6 01:46:47 PDT 2019 aarch64 aarch64 aarch64 GNU/Linux

DMESG

[    4.670483] Reference clock found: sai2 @ 24576000
[    4.670521] imx-tfa98xx sound-tfa9912: ASoC: CODEC DAI tfa98xx-aif-1-34 not registered
[    4.680312] imx-tfa98xx sound-tfa9912: snd_soc_register_card failed (-517)

[    4.690529] imx_sph0645_probe(): imx_sph0645_probe
[    4.690589] imx_sph0645_probe(): Found 1 codec(s)
[    4.690617] imx_sph0645_probe(): Reference clock found: sai3 @ 24576000
[    4.690725] imx_sph0645_init():
[    4.690732] imx-sph0645 sound-sph0645: imx_sph0645_init,177: dai_init
[    4.690800] imx-sph0645 sound-sph0645: sph0645 <-> 308c0000.sai mapping ok
[    4.690810] imx-sph0645 sound-sph0645: ASoC: no DMI vendor name!
[    4.691356] imx_sph0645_probe(): done

LSMOD

Module                  Size  Used by
caam_jr                40960  0
crc32_ce               16384  0
crct10dif_ce           16384  0
snd_soc_imx_tfa98xx    16384  0
snd_soc_imx_sph0645    16384  1
snd_soc_sph0645        16384  1
ov5645_camera_mipi_v2    73728  0
secvio                 16384  0
imx_sdma               36864  0
caam                   24576  2 secvio,caam_jr
ip_tables              24576  0
x_tables               40960  1 ip_tables

TESTS
The LED test works

Mic test
  access       : RW_INTERLEAVED
  format       : S32_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 32
  buffer_size  : 8192
  period_size  : 2048
  period_time  : 42666
  tstamp_mode  : NONE
  tstamp_type  : MONOTONIC
  period_step  : 1
  avail_min    : 2048
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 8192
  silence_threshold: 0
  silence_size : 0
  boundary     : 4611686018427387904
  appl_ptr     : 0
  hw_ptr       : 0
arecord: pcm_read:2103: read error: Cannot allocate memory

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.