Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Audio problems on AT91SAM9263-EK in Linux (alsa??)
PostPosted: Fri Nov 27, 2009 11:41 am 
Offline

Joined: Wed Nov 25, 2009 6:24 pm
Posts: 6
Hello all,

Apologies if this is a double post - my last one didn't seem to get through.
I'm trying to get audio working on the AT91SAM9263-EK, using the latest Linux binary download from http://www.at91.com/linux4sam/bin/view/ ... ingStarted (configured to run from nand-flash).
I can login fine and set volumes with alsamixer. If I do "cat /dev/urandom > /dev/dsp" I can then hear noise. If I do "mplayer /usr/share/gpe-conf/activate.wav" I get some sound. However if I do "aplay /usr/share/gpe-conf/activate.wav" I get a kernel oops:
Code:
Playing WAVE '/usr/share/gpe-conf/activate.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c3b50000
[00000000] *pgd=23b23031, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1]
Modules linked in:
CPU: 0    Not tainted  (2.6.27 #1)
PC is at __wake_up_bit+0x10/0x3c
LR is at unlock_page+0x54/0x60
pc : [<c00506c8>]    lr : [<c0062540>]    psr: 20000013
etc.


I've tried to insert the soundcore kernel module, but it seems to be compiled against 2.6.20, so complains about mismatching headers. I noticed in the boot up information the line: "FATAL: Could not load /lib/modules/2.6.27/modules.dep: No such file or directory" which may be related??

I've tried older binaries, building my own binaries, trying to load in modules I've built etc. but I keep having this trouble with aplay. The actual app I want to use produces the same fault as aplay, so I figure if I fix one I'll fix the other.

Any help gratefully appreciated!
John


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron