Hi,all.
We use the chip aic3101 on dm365(dvsdk_2_10_01_18&mv_pro_5.0) to collect the sound. We add the chip driver in kernel. After kernel boot these info printed :
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).
ASoC version 0.13.1
AIC3X Audio Codec 0.2
asoc: aic3x <-> davinci-i2s mapping ok
ALSA device list:
#0: DaVinci DM365 EVM (aic3x)
I think that the driver is worked. Then we loadmodules.sh and do the encode cmd: ./encode -s test.g711
the error comes:
# ./encode -s test.g711
Encode demo started.
hUI->osd = 0
Error: Failed to encode speech buffer
Do anyone have advices about this problem?
Any information you need feel free to ask me.
Thanks.
jingwei
log_5F00_after_5F00_loadmodules is attached:
# ./loadmodules.sh CMEMK module: built on Dec 21 2009 at 16:50:01 Reference Linux version 2.6.18 File /home/realtimedsp/workdir/dm365/dvsdk_2_10_01_18/linuxutils_2_24_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c ioremap_nocache(0x85000000, 50331648)=0xc8000000 allocated heap buffer 0xc8000000 of size 0x134000 cmem initialized 20 pools between 0x85000000 and 0x88000000 CMEM Range Overlaps Kernel Physical - allowing overlap CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x84600000) ioremap_nocache(0x1000, 28672)=0xc4880000 no remaining memory for heap, no heap created for memory block 1 cmem initialized 1 pools between 0x1000 and 0x8000 IRQK module: built on Dec 21 2009 at 16:50:08 Reference Linux version 2.6.18 File /home/realtimedsp/workdir/dm365/dvsdk_2_10_01_18/linuxutils_2_24_02/packages/ti/sdo/linuxutils/irq/src/module/irqk.c irqk initialized EDMAK module: built on Dec 21 2009 at 16:50:06 Reference Linux version 2.6.18 File /home/realtimedsp/workdir/dm365/dvsdk_2_10_01_18/linuxutils_2_24_02/packages/ti/sdo/linuxutils/edma/src/module/edmak.c # ./encode -s test.g711 Encode demo started. hUI->osd = 0 Error: Failed to encode speech buffer -----------------2 #