[meta-freescale] No sound on nitrogen6x + linux-boundary 3.10.17

Otavio Salvador otavio at ossystems.com.br
Mon May 5 07:31:19 PDT 2014


Hello Erik,

I am adding Eric Nelson in Cc so he can comment on this...

On Mon, May 5, 2014 at 10:24 AM, Erik Botö <erik.boto at pelagicore.com> wrote:
> Update:
>
> I built the exact same image but using the 3.0.35 kernel and then
> playback works fine.
>
> Cheers,
> Erik
>
> On Mon, May 5, 2014 at 8:51 AM, Erik Botö <erik.boto at pelagicore.com> wrote:
>> Hi,
>>
>> I'm having trouble playing audio on this board using the sgtl5000. Can
>> anyone verify that it works on their system? Also any ideas of what
>> might be wrong are highly appreciated :)
>>
>> Using aplay it get stuck here:
>>
>> Program received signal SIGINT, Interrupt.
>> 0x48104668 in poll () at ../sysdeps/unix/syscall-template.S:81
>> 81 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
>> (gdb) bt
>> #0  0x48104668 in poll () at ../sysdeps/unix/syscall-template.S:81
>> #1  0x482bc490 in snd1_pcm_wait_nocheck (pcm=pcm at entry=0x2afe8,
>> timeout=timeout at entry=-1)
>>     at /usr/src/debug/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/pcm/pcm.c:2418
>> #2  0x482c16a4 in snd1_pcm_write_areas (pcm=pcm at entry=0x2afe8,
>> areas=areas at entry=0x7efff948, offset=offset at entry=0,
>> size=size at entry=1920,
>>     func=0x482cd2f4 <snd_pcm_mmap_write_areas>) at
>> /usr/src/debug/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/pcm/pcm.c:6808
>> #3  0x482cd7d8 in snd_pcm_mmap_writei (pcm=0x2afe8, buffer=<optimized
>> out>, size=1920)
>>     at /usr/src/debug/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/pcm/pcm_mmap.c:186
>> #4  0x482baf00 in _snd_pcm_writei (pcm=<optimized out>, pcm=<optimized
>> out>, size=<optimized out>, buffer=<optimized out>)
>>     at /usr/src/debug/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/pcm/pcm_local.h:525
>> #5  snd_pcm_writei (pcm=<optimized out>, buffer=<optimized out>,
>> size=<optimized out>)
>>     at /usr/src/debug/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/pcm/pcm.c:1260
>> #6  0x0000daf0 in pcm_write (data=<optimized out>, count=<optimized
>> out>, count at entry=1920) at aplay.c:1928
>> #7  0x0000dea8 in playback_go (fd=5, loaded=<optimized out>,
>> loaded at entry=0, count=34560, rtype=2, name=0x7efffe6d
>> "Front_Left.wav")
>>     at aplay.c:2677
>> #8  0x0000f480 in playback (name=<optimized out>) at aplay.c:2738
>> #9  0x00011968 in main (argc=2, argv=0x7efffd54) at aplay.c:787
>>
>> And using gst-launch with alsasink and GST_DEBUG=*:5 I get stuck on an
>> endless row of:
>> 0:00:12.679512074  1379 0x76112580 DEBUG                   alsa
>> foo/nitro-build/tmp/work/cortexa9-vfp-neon-mx6-bistro-linux-gnueabi/gst-plugins-base/0.10.36-r8/gst-plugins-base-0.10.36/ext/alsa/gstalsasink.c:864:gst_alsasink_write:<audiosink-actual-sink-alsa>
>> written -11 frames out of 1920
>>
>> Cheers,
>> Erik
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale



-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list