Debugging using fsl rootfs, I see the audio work as a module just fine. I get these messages when it loads:
root@freescale ~$ modprobe -V snd-soc-imx-3stack-sgtl5000 sgtl5000-i2c 1-000a: SGTL5000 revision 17 DMA Sound Buffers Allocated:UseIram=1 buf->addr=1ffef000 buf->area=de9a0000 size=24576 DMA Sound Buffers Allocated:UseIram=1 buf->addr=ac468000 buf->area=fbe08000 size=24576 asoc: SGTL5000 <-> imx-ssi-3 mapping ok
Check using 'lsmod' to make sure all the modules got loaded:
root@freescale ~$ lsmod Module Size Used by snd_soc_imx_3stack_sgtl5000 8320 0 snd_soc_imx 6600 1 snd_soc_imx_3stack_sgtl5000 snd_soc_imx_ssi 6288 1 snd_soc_imx_3stack_sgtl5000 snd_soc_sgtl5000 13356 1 snd_soc_imx_3stack_sgtl5000 snd_soc_core 48040 3 snd_soc_imx_3stack_sgtl5000,snd_soc_imx,snd_soc_sgtl5000 snd_pcm 78545 3 snd_soc_imx,snd_soc_sgtl5000,snd_soc_core snd_page_alloc 7588 1 snd_pcm snd_timer 22332 1 snd_pcm snd 55188 4 snd_soc_imx_3stack_sgtl5000,snd_soc_core,snd_pcm,snd_timer soundcore 8168 1 snd
So I suggest that you do 'lsmod' to make sure all the modules got loaded. If they did, then it is rootfs issues.
Debugging using fsl rootfs, I see the audio work as a module just fine. I get these messages when it loads:
root@freescale ~$ modprobe -V snd-soc- imx-3stack- sgtl5000
sgtl5000-i2c 1-000a: SGTL5000 revision 17
DMA Sound Buffers Allocated:UseIram=1 buf->addr=1ffef000 buf->area=de9a0000 size=24576
DMA Sound Buffers Allocated:UseIram=1 buf->addr=ac468000 buf->area=fbe08000 size=24576
asoc: SGTL5000 <-> imx-ssi-3 mapping ok
Check using 'lsmod' to make sure all the modules got loaded:
root@freescale ~$ lsmod imx_3stack_ sgtl5000 8320 0 imx_3stack_ sgtl5000 imx_3stack_ sgtl5000 imx_3stack_ sgtl5000 imx_3stack_ sgtl5000, snd_soc_ imx,snd_ soc_sgtl5000 imx,snd_ soc_sgtl5000, snd_soc_ core imx_3stack_ sgtl5000, snd_soc_ core,snd_ pcm,snd_ timer
Module Size Used by
snd_soc_
snd_soc_imx 6600 1 snd_soc_
snd_soc_imx_ssi 6288 1 snd_soc_
snd_soc_sgtl5000 13356 1 snd_soc_
snd_soc_core 48040 3 snd_soc_
snd_pcm 78545 3 snd_soc_
snd_page_alloc 7588 1 snd_pcm
snd_timer 22332 1 snd_pcm
snd 55188 4 snd_soc_
soundcore 8168 1 snd
So I suggest that you do 'lsmod' to make sure all the modules got loaded. If they did, then it is rootfs issues.