[Buildroot] AT91SAM9G20-EK and aplay

Carlo Rajko carlo.rajko at scen.it
Fri May 24 09:03:23 UTC 2013


Il 24/05/2013 10:05, Thomas Petazzoni ha scritto:
> Dear Carlo Rajko,
> 
> On Fri, 24 May 2013 09:36:11 +0200, Carlo Rajko wrote:
> 
>> With buildroot-2013.02 use kernel 3.1.6 and use toolchain
>> CODESOURCERY_ARM201203
>>
>> The kernel detects sound card, but when use prg aplay or use mpg123 to
>> play a file, receive a "Segmentation fault"
>>
>> if I run the command "cat file.wav > /dev/dsp" the sound card works fine.
>>
>> With buildroot-2011.11 is all ok.
>>
>> Can you help me ?
> 
> Do you have a few more messages in the kernel logs that given more
> details about the segmentation fault?
no message

> 
> Otherwise, do "ulimit -c unlimited", run the crashing application, it
> will generate a 'core' file. Transfer it to your development PC, and
> run cross-gdb on it:
> 
> 	./output/host/usr/bin/arm-linux-gdb -c core ./output/target/usr/bin/aplay
> 
> and then see what's the reason of the segmentation fault.

I do not have arm-linux-gdb but have arm-none-linux-gnueabi-gdb.
But when use the command
./output/host/opt/ext-toolchain/bin/arm-none-linux-gnueabi-gdb -c core
./output/target/usr/bin/aplay and use command "run" the debugger show:
Don't know how to run.  Try "help target".

I think the problem is not in aply because I have the same problem with
mpg123.
Could be the library alsa?

> 
> Also, could you post on http://code.bulix.org your Buildroot .config
> and give us the link? Just to check there isn't anything obviously
> wrong in your configuration file.

when I press buttom "PASTE" I have error "Antispam verification failed"

Best regards,

Carlo


More information about the buildroot mailing list