From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carlo Rajko Date: Fri, 24 May 2013 11:03:23 +0200 Subject: [Buildroot] AT91SAM9G20-EK and aplay In-Reply-To: <20130524100520.01c518fd@skate> References: <519F186B.3060606@scen.it> <20130524100520.01c518fd@skate> Message-ID: <519F2CDB.8080805@scen.it> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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