Linux 3.7 ALSA sound support for iMX233?

Started by guanx, January 19, 2013, 06:28:10 AM

Previous topic - Next topic

Landoro

Hello everyone, I've been struggling to get a proper working kernel with audio support. I tried literally every single idea you guys have posted. I'm sharing the kernel oops:


The moment I try to run alsamixer, aplay -l, amixer, the system just freezes and I can't kill those processes!
I really need an explanation for this.


[    3.790000]  mmcblk0: p1 p2
[    3.830000] mxs-sgtl5000 sound: failed to get mclk
[    3.840000] mxs-sgtl5000: probe of sound failed with error -22
[    3.850000] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[    3.870000] mxs-builtin-audio mxs-builtin-audio: mxs-builtin-codec-dai <-> 80048000.mxs-builtin-cpu-dai mapping ok
[    4.150000] ALSA device list:
[    4.150000]   #0: mxs-builtin-audio
[   32.250000] sgtl5000 0-000a: Failed to get mclock: -2
[   32.330000] i2c 0-000a: Driver sgtl5000 requests probe deferral
[   32.590000] sgtl5000 0-000a: Failed to get mclock: -2
[   32.690000] i2c 0-000a: Driver sgtl5000 requests probe deferral
[   32.790000] sgtl5000 0-000a: Failed to get mclock: -2
[   32.790000] i2c 0-000a: Driver sgtl5000 requests probe deferral
[   34.440000] Unable to handle kernel NULL pointer dereference at virtual address 00000004
[   34.520000] pgd = c2f4c000
[   34.650000] [00000004] *pgd=42f3d831, *pte=00000000, *ppte=00000000
[   34.650000] Internal error: Oops: 17 [#1] PREEMPT ARM

Rado

swahren

Hi Rado,

could you please post the kernel version and it's relevant config / DTS?

Stefan

Landoro


Hello Stefan, I've used the latest rootfs:

http://archlinuxarm.org/os/ArchLinuxARM-armv5-latest.tar.gz

+
u-boot.sb

[root@alarm ~]# uname -a
Linux alarm 3.19.3-1-ARCH #1 PREEMPT Fri Mar 27 19:59:26 MDT 2015 armv5tejl GNU/

The reason I need a working kernel is because every time I try to build a kernel by the www.jann.cc method:
http://www.jann.cc/2012/08/23/building_a_kernel_3_x_for_the_olinuxino_from_sources.html
I never get the zImage file? It never really compiles.
I've been on this for a month, researching how to make it work, it's for an audio project, but I'm seriously stuck.

swahren

Hi Rado,

i've looked at https://github.com/archlinuxarm/PKGBUILDs/tree/master/core/linux-armv5

and some of the audio patches are old or looks strange to me.

Maybe you should post the problem at archlinuxarm.org first.

Stefan

Chris

#64
I'm wondering why it's so hard to enable sound on kernel >= 3.7 as there are kernel driver options for MXS audio:
Device Drivers  --->     
  <*> Sound card support  --->
   <*>   Advanced Linux Sound Architecture  --->     
    <*>   ALSA for SoC audio support  --->
     <*>   SoC Audio for Freescale MXS CPUs  --->
      <*>   SoC Audio support for MXS boards with sgtl5000 
    
Someone maybe just tried these...?

swahren

SGTL5000 codec is only for MX28 not for MX23. Unfortunately this option is misleading.

Chris

Anyone here who can help building a 3.x kernel w/ working audio?
I cloned github.com/ITserve/imx23-audio, enabled the "SoC Audio for Freescale i.MX23 built-in codec" in menuconfig and did a successful clean build. Olinuxino (maxi) boots fine, but still says
[    1.480000] ALSA device list:
[    1.480000]   No soundcards found.

Did I forget any step before??
Any help is welcome!

Chris

swahren

I never tested the audio driver.

But do you use the modified imx23-olinuxino-audio.dts from the repository?

Chris

Oh yes, imx23-audio.dts was missing, thanks for the hint!

By the way: Anyone here who ported the driver to kernel 4.x ? Taking the new and modified files from  github.com/ITserve/imx23-audio and patching a kernel 4.x won't compile. :-(

swahren


swahren

Okay, i applied these patches against 4.3-rc1, but there were compiler errors.

I tried to fixed them and pushed it in my lcd repo:

https://github.com/lategoodbye/linux-lcd6610

Warning: I tested only that my mx233 still boot, but no functional tests.

Chris

#71
What does dmesg say?
ALSA device list:
  #0: mxs-builtin-audio

or
ALSA device list:
  No soundcards found.


And what does aplay -l say?

swahren

First of all, i need to say that i configured the driver as module.

Also i noticed that my rootfs didn't contain any alsa stuff. So i installed the alsa-utils. But now i get a kernel oops :-(


[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 4.3.0-rc1-next-20150914-g4657771-dirty (user@Duckbill) (gcc version 4.4.4 (4.4.4_09.06.2010) ) #6 Sat Sep 26 09:24:28 UTC 2015
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine model: i.MX23 Olinuxino Low Cost Board
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: console=ttyAMA0,115200 root=/dev/mmcblk0p2 no_console_suspend=1
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 48612K/65536K available (5565K kernel code, 351K rwdata, 1800K rodata, 248K init, 8201K bss, 16924K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc4800000 - 0xff000000   ( 936 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0739a5c   (7367 kB)
[    0.000000]       .init : 0xc073a000 - 0xc0778000   ( 248 kB)
[    0.000000]       .data : 0xc0778000 - 0xc07cfdf8   ( 352 kB)
[    0.000000]        .bss : 0xc07cfdf8 - 0xc0fd254c   (8202 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Running RCU self tests
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: mxs_timer: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 911346093 ns
[    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836475000000ns
[    0.000000] Console: colour dummy device 80x30
[    0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.000000] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.000000] ... MAX_LOCK_DEPTH:          48
[    0.000000] ... MAX_LOCKDEP_KEYS:        8191
[    0.000000] ... CLASSHASH_SIZE:          4096
[    0.000000] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.000000] ... MAX_LOCKDEP_CHAINS:      65536
[    0.000000] ... CHAINHASH_SIZE:          32768
[    0.000000]  memory used by lock dependency info: 5167 kB
[    0.000000]  per task-struct memory footprint: 1536 bytes
[    0.070000] Calibrating delay loop... 226.09 BogoMIPS (lpj=1130496)
[    0.070000] pid_max: default: 32768 minimum: 301
[    0.070000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.080000] Initializing cgroup subsys memory
[    0.080000] CPU: Testing write buffer coherency: ok
[    0.080000] Setting up static identity map for 0x40008400 - 0x40008458
[    0.110000] devtmpfs: initialized
[    0.160000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.160000] pinctrl core: initialized pinctrl subsystem
[    0.180000] NET: Registered protocol family 16
[    0.190000] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.290000] Serial: AMBA PL011 UART driver
[    0.300000] 80070000.serial: ttyAMA0 at MMIO 0x80070000 (irq = 17, base_baud = 0) is a PL011 rev2
[    0.500000] console [ttyAMA0] enabled
[    0.600000] mxs-dma 80004000.dma-apbh: initialized
[    0.620000] mxs-dma 80024000.dma-apbx: initialized
[    0.630000] SCSI subsystem initialized
[    0.640000] usbcore: registered new interface driver usbfs
[    0.650000] usbcore: registered new interface driver hub
[    0.650000] usbcore: registered new device driver usb
[    0.660000] pps_core: LinuxPPS API ver. 1 registered
[    0.670000] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.670000] PTP clock support registered
[    0.680000] Advanced Linux Sound Architecture Driver Initialized.
[    0.700000] clocksource: Switched to clocksource mxs_timer
[    1.090000] FS-Cache: Loaded
[    1.090000] CacheFiles: Loaded
[    1.240000] NET: Registered protocol family 2
[    1.260000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    1.270000] TCP bind hash table entries: 1024 (order: 3, 36864 bytes)
[    1.270000] TCP: Hash tables configured (established 1024 bind 1024)
[    1.280000] UDP hash table entries: 256 (order: 2, 20480 bytes)
[    1.290000] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes)
[    1.300000] NET: Registered protocol family 1
[    1.300000] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.320000] futex hash table entries: 256 (order: 1, 11264 bytes)
[    1.490000] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    1.540000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    1.550000] io scheduler noop registered (default)
[    1.590000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.600000] usbcore: registered new interface driver usb-storage
[    1.620000] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    1.630000] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    1.660000] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    1.680000] hub 1-0:1.0: USB hub found
[    1.690000] hub 1-0:1.0: 1 port detected
[    1.710000] mousedev: PS/2 mouse device common for all mice
[    1.730000] stmp3xxx-rtc 8005c000.rtc: rtc core: registered 8005c000.rtc as rtc0
[    1.740000] i2c /dev entries driver
[    1.760000] stmp3xxx_rtc_wdt stmp3xxx_rtc_wdt: initialized watchdog with heartbeat 19s
[    1.770000] 80010000.ssp supply vmmc not found, using dummy regulator
[    1.820000] mxs-mmc 80010000.ssp: initialized
[    1.850000] usbcore: registered new interface driver usbhid
[    1.860000] usbhid: USB HID core driver
[    1.870000] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.890000] mmc0: new high speed SDHC card at address 0001
[    1.910000] mmcblk0: mmc0:0001 00000 14.9 GiB
[    1.940000] NET: Registered protocol family 10
[    1.950000]  mmcblk0: p1 p2 p3
[    1.980000] mip6: Mobile IPv6
[    2.000000] sit: IPv6 over IPv4 tunneling driver
[    2.020000] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[    2.030000] ip6_gre: GRE over IPv6 tunneling driver
[    2.040000] NET: Registered protocol family 17
[    2.040000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    2.060000] Key type dns_resolver registered
[    2.070000] registered taskstats version 1
[    2.100000] stmp3xxx-rtc 8005c000.rtc: setting system clock to 1970-01-01 00:00:06 UTC (6)
[    2.160000] ALSA device list:
[    2.160000]   No soundcards found.
[    2.180000] uart-pl011 80070000.serial: no DMA platform data
[    2.190000] hub 1-1:1.0: USB hub found
[    2.200000] hub 1-1:1.0: 3 ports detected
[    2.230000] EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (244)
[    2.250000] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    2.270000] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[    2.270000] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[    2.490000] usb 1-1.1: new high-speed USB device number 3 using ci_hdrc
[    2.540000] EXT4-fs (mmcblk0p2): recovery complete
[    2.570000] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.570000] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.590000] devtmpfs: mounted
[    2.600000] Freeing unused kernel memory: 248K (c073a000 - c0778000)
[    3.180000] random: systemd urandom read with 15 bits of entropy available
[    3.220000] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[    3.240000] systemd[1]: Detected architecture 'arm'.

Welcome to Debian GNU/Linux 8 (jessie)!

[    3.340000] systemd[1]: Set hostname to <duckbill>.
[    5.130000] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[    5.160000] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[    5.180000] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    5.190000] systemd[1]: Expecting device dev-ttyAMA0.device...
         Expecting device dev-ttyAMA0.device...
[    5.220000] systemd[1]: Starting Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems (Pre).
[    5.250000] systemd[1]: Reached target Remote File Systems (Pre).
[    5.250000] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    5.260000] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[    5.280000] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    5.280000] systemd[1]: Starting Paths.
[  OK  ] Reached target Paths.
[    5.310000] systemd[1]: Reached target Paths.
[    5.310000] systemd[1]: Starting Encrypted Volumes.
[  OK  ] Reached target Encrypted Volumes.
[    5.340000] systemd[1]: Reached target Encrypted Volumes.
[    5.340000] systemd[1]: Starting Swap.
[  OK  ] Reached target Swap.
[    5.370000] systemd[1]: Reached target Swap.
[    5.370000] systemd[1]: Starting Root Slice.
[  OK  ] Created slice Root Slice.
[    5.400000] systemd[1]: Created slice Root Slice.
[    5.400000] systemd[1]: Starting User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    5.440000] systemd[1]: Created slice User and Session Slice.
[    5.440000] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[    5.480000] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    5.480000] systemd[1]: Starting Delayed Shutdown Socket.
[  OK  ] Listening on Delayed Shutdown Socket.
[    5.520000] systemd[1]: Listening on Delayed Shutdown Socket.
[    5.520000] systemd[1]: Starting Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    5.560000] systemd[1]: Listening on Journal Socket (/dev/log).
[    5.560000] systemd[1]: Starting udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    5.600000] systemd[1]: Listening on udev Control Socket.
[    5.600000] systemd[1]: Starting udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    5.630000] systemd[1]: Listening on udev Kernel Socket.
[    5.630000] systemd[1]: Starting Journal Socket.
[  OK  ] Listening on Journal Socket.
[    5.660000] systemd[1]: Listening on Journal Socket.
[    5.660000] systemd[1]: Starting System Slice.
[  OK  ] Created slice System Slice.
[    5.690000] systemd[1]: Created slice System Slice.
[    5.690000] systemd[1]: Starting system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[    5.730000] systemd[1]: Created slice system-getty.slice.
[    5.730000] systemd[1]: Starting system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    5.770000] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    5.780000] systemd[1]: Starting Increase datagram queue length...
         Starting Increase datagram queue length...
[    5.860000] systemd[1]: Starting Create list of required static device nodes for the current kernel...
         Starting Create list of required static device nodes...rrent kernel...
[    5.970000] systemd[1]: Mounted POSIX Message Queue File System.
[    6.010000] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[    6.160000] systemd[1]: Mounted Huge Pages File System.
[    6.190000] systemd[1]: Starting udev Coldplug all Devices...
         Starting udev Coldplug all Devices...
[    6.280000] systemd[1]: Mounting Debug File System...
         Mounting Debug File System...
[    6.500000] systemd[1]: Started Set Up Additional Binary Formats.
[    6.540000] systemd[1]: Starting Slices.
[  OK  ] Reached target Slices.
[    6.560000] systemd[1]: Reached target Slices.
[    6.560000] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[  OK  ] Started Increase datagram queue length.
[    6.850000] systemd[1]: Started Increase datagram queue length.
[  OK  ] Started Create list of required static device nodes ...current kernel.
[    7.110000] systemd[1]: Started Create list of required static device nodes for the current kernel.
[  OK  ] Started Load Kernel Modules.
[    7.190000] systemd[1]: Started Load Kernel Modules.
[    7.200000] EXT4-fs (mmcblk0p2): re-mounted. Opts: commit=60
[  OK  ] Mounted Debug File System.
[    7.230000] systemd[1]: Mounted Debug File System.
[  OK  ] Started Remount Root and Kernel File Systems.
[    7.310000] systemd[1]: Started Remount Root and Kernel File Systems.
[    8.350000] systemd[1]: Started Various fixups to make systemd work better on Debian.
[    8.370000] systemd[1]: Starting Load/Save Random Seed...
         Starting Load/Save Random Seed...
[    8.450000] systemd[1]: Mounted Configuration File System.
[    8.480000] systemd[1]: Mounted FUSE Control File System.
[    8.480000] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[    8.620000] systemd[1]: Starting Create Static Device Nodes in /dev...
         Starting Create Static Device Nodes in /dev...
[    8.800000] systemd[1]: Starting Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    8.860000] systemd[1]: Listening on Syslog Socket.
[    8.860000] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[  OK  ] Started Journal Service.
[    9.090000] systemd[1]: Started Journal Service.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started udev Coldplug all Devices.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
[  OK  ] Reached target Remote File Systems.
         Starting Trigger Flushing of Journal to Persistent Storage...
         Starting LSB: Raise network interfaces....
[   10.700000] systemd-udevd[76]: starting version 215
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Create Volatile Files and Directories.
[   12.140000] systemd-journald[72]: Received request to flush runtime journal from PID 1
[  OK  ] Started Trigger Flushing of Journal to Persistent Storage.
         Starting Update UTMP about System Boot/Shutdown...
         Starting Copy rules generated while the root was ro...
[  OK  ] Started Copy rules generated while the root was ro.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[   15.830000] mxs-builtin-audio mxs-builtin-audio: ASoC: CPU DAI (null) not registered
[   15.830000] mxs-builtin-audio mxs-builtin-audio: snd_soc_register_card failed (-517)
[   16.050000] mxs-builtin-audio mxs-builtin-audio: ASoC: CPU DAI (null) not registered
[   16.060000] mxs-builtin-audio mxs-builtin-audio: snd_soc_register_card failed (-517)
[   16.110000] mxs_lradc: module is from the staging directory, the quality is unknown, you have been warned.
[   16.270000] mxs-builtin-audio mxs-builtin-audio: mxs-builtin-codec-dai <-> 80048000.mxs-builtin-cpu-dai mapping ok
[  OK  ] Found device /dev/ttyAMA0.
[  OK  ] Reached target Sound Card.
[   20.620000] Unable to handle kernel NULL pointer dereference at virtual address 00000004
[   20.620000] pgd = c2eb8000
[   20.630000] [00000004] *pgd=42ee8831, *pte=00000000, *ppte=00000000
[   20.630000] Internal error: Oops: 17 [#1] ARM
[   20.630000] Modules linked in: mxs_lradc(C) snd_soc_mxs_builtin_dai snd_soc_mxs_builtin_codec snd_soc_mxs_builtin_pcm industrialio_triggered_buffer snd_soc_mxs_builtin_audio
[   20.630000] CPU: 0 PID: 125 Comm: alsactl Tainted: G         C      4.3.0-rc1-next-20150914-g4657771-dirty #6
[   20.630000] Hardware name: Freescale MXS (Device Tree)
[   20.630000] task: c2dbda00 ti: c2eaa000 task.ti: c2eaa000
[   20.630000] PC is at dac_put_volsw+0x20/0x54 [snd_soc_mxs_builtin_codec]
[   20.630000] LR is at snd_ctl_elem_write_user+0x148/0x210
[   20.630000] pc : [<bf00c264>]    lr : [<c03fe7a4>]    psr: 60000013
[   20.630000] sp : c2eabe58  ip : c377ca80  fp : 00000000
[   20.630000] r10: 00000001  r9 : c377cab8  r8 : c37b73c4
[   20.630000] r7 : c37b7720  r6 : 011018e0  r5 : c37b7000  r4 : c37eac00
[   20.630000] r3 : 00000000  r2 : 00e60000  r1 : c37eac00  r0 : bf00cacc
[   20.630000] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[   20.630000] Control: 0005317f  Table: 42eb8000  DAC: 00000051
[   20.630000] Process alsactl (pid: 125, stack limit = 0xc2eaa190)
[   20.630000] Stack: (0xc2eabe58 to 0xc2eac000)
[   20.630000] be40:                                                       00000000 c0fa0704
[   20.630000] be60: 00000001 00000000 c2dbde08 c00590bc 00000000 00000070 0000005b b6dc0000
[   20.630000] be80: 00000000 c2c01254 00000000 60000013 00000000 80000005 c2c85513 c2ed1980
[   20.630000] bea0: c37b7000 00000004 011018e0 c2eaa000 00000000 c03ff754 00000070 c00518b4
[   20.630000] bec0: c2eabfb0 c0018f68 00000200 c0055500 c0785460 c0785460 c0785ca0 c0552c20
[   20.630000] bee0: c0785460 00000000 00000000 00000005 c077f72c b6dcdd4c c2eabfb0 011018e0
[   20.630000] bf00: c37af360 c2e38060 00000004 00000004 c2eaa000 00000000 00000000 c01244d4
[   20.630000] bf20: 00000100 c0023738 c07d05a8 00000000 00000000 c0023b70 0000001c c3418000
[   20.630000] bf40: 0110162a 00000004 0000000a ffff92dd 00400000 00000001 00000000 c3418000
[   20.630000] bf60: 00000000 c3414260 00000000 c37af360 c37af360 011018e0 c2c85513 00000004
[   20.630000] bf80: c2eaa000 00000000 00000000 c0124bcc bed76fdc 010f8038 00000002 00000036
[   20.630000] bfa0: c00103e8 c0010240 bed76fdc 010f8038 00000004 c2c85513 011018e0 010f8558
[   20.630000] bfc0: bed76fdc 010f8038 00000002 00000036 00000001 00000000 0000000a 00000000
[   20.630000] bfe0: b6ee142c bed768d4 b6e4b9c8 b6cbe36c 20000010 00000004 00000000 00000000
[   20.630000] [<bf00c264>] (dac_put_volsw [snd_soc_mxs_builtin_codec]) from [<c03fe7a4>] (snd_ctl_elem_write_user+0x148/0x210)
[   20.630000] [<c03fe7a4>] (snd_ctl_elem_write_user) from [<c03ff754>] (snd_ctl_ioctl+0x164/0x738)
[   20.630000] [<c03ff754>] (snd_ctl_ioctl) from [<c01244d4>] (do_vfs_ioctl+0x74/0x734)
[   20.630000] [<c01244d4>] (do_vfs_ioctl) from [<c0124bcc>] (SyS_ioctl+0x38/0x5c)
[   20.630000] [<c0124bcc>] (SyS_ioctl) from [<c0010240>] (ret_fast_syscall+0x0/0x1c)
[   20.630000] Code: e0802002 e5d22068 e5933084 e1a02802 (e5933004)
[   20.900000] ---[ end trace ed1d71c7af464ff3 ]---

swahren

Okay, i commited a bugfix for the kernel oops and here are the results of aplay:


# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: mxsbuiltinaudio [mxs-builtin-audio], device 0: MXS ADC/DAC mxs-builtin-codec-dai-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Chris