Hello,
Can any one suggest how can i test audio in am335x. Audio is detected in /dev as snd driver.D
Done as in http://processors.wiki.ti.com/index.php/AM335x_Audio_Driver%27s_Guide#Introduction
Regards,
Rajeev
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Are you using the Sitara EZSDK? If so and you do not have the ability to record and do not have any existing sound files to playback you can use:
gst-launch audiotestsrc ! alsasink
Hi Gerlach,
i have tested in following way
root@am335x-evm:~# gst-launch -v fakesrc num_buffers=5 ! fakesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstFakeSrc:fakesrc0: last-message = "get ******* > ( 0 bytes, timestamp: none, duration: none, offset: 0, offset_end: -1, flags: 0) 0x1"
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = "preroll ******* "
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
/GstPipeline:pipeline0/GstFakeSrc:fakesrc0: last-message = "event ******* E (type: 289, GstEventLatency, latency=(guint64)0;) 0x167b80"
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = "event ******* E (type: 102, GstEventNewsegment, update=(boolean)false, rate=(double)1, applied-rate=(d"
New clock: GstSystemClock
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = "chain ******* < ( 0 bytes, timestamp: 0:00:00.000000000, duration: none, offset: 0, offset_end: -1,"
/GstPipeline:pipeline0/GstFakeSrc:fakesrc0: last-message = "get ******* > ( 0 bytes, timestamp: none, duration: none, offset: 1, offset_end: -1, flags: 0) 0x1"
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = "chain ******* < ( 0 bytes, timestamp: 0:00:00.000000000, duration: none, offset: 1, offset_end: -1,"
/GstPipeline:pipeline0/GstFakeSrc:fakesrc0: last-message = "get ******* > ( 0 bytes, timestamp: none, duration: none, offset: 2, offset_end: -1, flags: 0) 0x1"
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = "chain ******* < ( 0 bytes, timestamp: 0:00:00.000000000, duration: none, offset: 2, offset_end: -1,"
/GstPipeline:pipeline0/GstFakeSrc:fakesrc0: last-message = "get ******* > ( 0 bytes, timestamp: none, duration: none, offset: 3, offset_end: -1, flags: 0) 0x1"
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = "chain ******* < ( 0 bytes, timestamp: 0:00:00.000000000, duration: none, offset: 3, offset_end: -1,"
/GstPipeline:pipeline0/GstFakeSrc:fakesrc0: last-message = "get ******* > ( 0 bytes, timestamp: none, duration: none, offset: 4, offset_end: -1, flags: 0) 0x1"
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = "chain ******* < ( 0 bytes, timestamp: 0:00:00.000000000, duration: none, offset: 4, offset_end: -1,"
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = "event ******* E (type: 86, ) 0x167980"
Got EOS from element "pipeline0".
Execution ended after 3936767 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
What is the problem
Regards,
Rajeev.
The following TI sample file available from the Linux EZSDK works fine for me (using the headphone out plug to hear audio):
root@am335x-evm:/usr/share/ti/audio# gst-launch-0.10 filesrc location=/usr/share /ti/audio/HistoryOfTI.aac ! faad ! alsasink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock
Got EOS from element "pipeline0".
Execution ended after 18371633002 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
root@am335x-evm:/usr/share/ti/audio#
Either the pipeline provided by me or the pipeline provided by Joe G will produce audio playback.
gst-launch-0.10 audiotestsrc ! alsasink
produces a test tone on the audio output.
gst-launch-0.10 filesrc location=/usr/share/ti/audio/HistoryOfTI.aac ! faad ! alsasink
will playback a short audio clip on the output.
The pipeline you have used is using fakesrc and fakesink which will not generate any sound.
Hi Dave Gerlach & Joe G,
When I run the commands sent by you its getting hanged at clock..
root@am335x-evm:~# gst-launch-0.10 audiotestsrc ! alsasink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock
Thanks and Regards,
Rajeev battu
Rajeev,
Do you have a speaker our headphones connected to the audio output of your board? This is where the pipeline sits while it is playing, it should be producing audio output at this point. You can exit the pipeline using Ctrl+C.
Regards,
Dave
Rajeev,
You may need to configure the volume setting of the audio hardware to make sure it is at an audible level. You can use amixer to set this:
amixer cset name='PCM Playback Volume' 127
Regards,
Dave
Rajeev,
This command should run without issue on our SDK if it is unmodifed. Have you made any changes to the kernel or file system? Do you know what version of the EZSDK you are running? If you run
cat /proc/asound/devices
at the command line, can you post the output?
Regards,
Dave
Dave,
Out put for cat /proc/asound/devices
root@am335x-evm:~# cat /proc/asound/devices
0: [ 0] : control
16: [ 0- 0]: digital audio playback
24: [ 0- 0]: digital audio capture
33: : timer
Please find attachment for log file and also config file.
U-Boot SPL 2011.09 (Dec 29 2012 - 14:59:30) Texas Instruments Revision detection unimplemented selecting ddr3 configuration setting ddr3 clock in board int configuring SK OMAP SD/MMC: 0 reading u-boot.img reading u-boot.img U-Boot 2011.09 (Dec 29 2012 - 14:59:30) I2C: ready DRAM: 256 MiB WARNING: Caches not enabled in board int configuring SK spl int enabled NAND: HW ECC Hamming Code selected No NAND device found!!! 0 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 *** Warning - readenv() failed, using default environment Net: cpsw Hit any key to stop autoboot: 0 SD/MMC found on device 0 reading uEnv.txt ** Unable to read "uEnv.txt" from mmc 0:1 ** reading uImage 3177800 bytes read ## Booting kernel from Legacy Image at 80007fc0 ... Image Name: Linux-3.2.0-g18fd268-dirty Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3177736 Bytes = 3 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK XIP Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Linux version 3.2.0-g18fd268-dirty (root@user-desktop) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #2 Wed Mar 13 18:36:19 IST 2013 [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: am335xevm [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] AM335X ES1.0 (sgx neon ) [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024 [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait ip=none [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Memory: 256MB = 256MB total [ 0.000000] Memory: 253224k/253224k available, 8920k reserved, 0K highmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc : 0xd0800000 - 0xff000000 ( 744 MB) [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc05a6000 (5752 kB) [ 0.000000] .init : 0xc05a6000 - 0xc05e4000 ( 248 kB) [ 0.000000] .data : 0xc05e4000 - 0xc064bde8 ( 416 kB) [ 0.000000] .bss : 0xc064be0c - 0xc0679c24 ( 184 kB) [ 0.000000] NR_IRQS:396 [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts [ 0.000000] Total of 128 interrupts on 1 active controller [ 0.000000] OMAP clockevent source: GPTIMER2 at 19200000 Hz [ 0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz [ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms [ 0.000000] Console: colour dummy device 80x30 [ 0.000152] Calibrating delay loop... 574.66 BogoMIPS (lpj=2873344) [ 0.046966] pid_max: default: 32768 minimum: 301 [ 0.047088] Security Framework initialized [ 0.047180] Mount-cache hash table entries: 512 [ 0.047546] CPU: Testing write buffer coherency: ok [ 0.065185] omap_hwmod: pruss: failed to hardreset [ 0.066253] print_constraints: dummy: [ 0.066619] NET: Registered protocol family 16 [ 0.068695] OMAP GPIO hardware version 0.1 [ 0.071289] omap_mux_init: Add partition: #1: core, flags: 0 [ 0.073394] omap_i2c.1: alias fck already exists [ 0.074279] omap2_mcspi.1: alias fck already exists [ 0.074493] omap2_mcspi.2: alias fck already exists [ 0.075164] edma.0: alias fck already exists [ 0.075195] edma.0: alias fck already exists [ 0.075225] edma.0: alias fck already exists [ 0.101745] bio: create slab <bio-0> at 0 [ 0.103973] SCSI subsystem initialized [ 0.105590] usbcore: registered new interface driver usbfs [ 0.105895] usbcore: registered new interface driver hub [ 0.106109] usbcore: registered new device driver usb [ 0.106262] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3 [ 0.106536] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1 [ 0.119018] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz [ 0.120788] tps65910 1-002d: JTAGREVNUM 0x0 [ 0.122711] print_constraints: VRTC: [ 0.123870] print_constraints: VIO: at 1500 mV [ 0.125701] print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal [ 0.127502] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal [ 0.128326] print_constraints: VDD3: 5000 mV [ 0.129455] print_constraints: VDIG1: at 1800 mV [ 0.130615] print_constraints: VDIG2: at 1800 mV [ 0.131744] print_constraints: VPLL: at 1800 mV [ 0.132873] print_constraints: VDAC: at 1800 mV [ 0.134033] print_constraints: VAUX1: at 1800 mV [ 0.135192] print_constraints: VAUX2: at 3300 mV [ 0.136322] print_constraints: VAUX33: at 3300 mV [ 0.137481] print_constraints: VMMC: at 3300 mV [ 0.137969] tps65910 1-002d: No interrupt support, no core IRQ [ 0.139587] Advanced Linux Sound Architecture Driver Version 1.0.24. [ 0.140716] Switching to clocksource gp timer [ 0.156036] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host) [ 0.156219] musb-hdrc musb-hdrc.0: dma type: pio [ 0.156524] MUSB0 controller's USBSS revision = 4ea20800 [ 0.157073] musb-hdrc musb-hdrc.0: USB OTG mode controller at d083c000 using PIO, IRQ 18 [ 0.157257] musb-hdrc musb-hdrc.1: dma type: pio [ 0.157531] MUSB1 controller's USBSS revision = 4ea20800 [ 0.157653] musb-hdrc musb-hdrc.1: MUSB HDRC host driver [ 0.157714] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1 [ 0.157867] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 0.157867] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.157897] usb usb1: Product: MUSB HDRC host driver [ 0.157897] usb usb1: Manufacturer: Linux 3.2.0-g18fd268-dirty musb-hcd [ 0.157928] usb usb1: SerialNumber: musb-hdrc.1 [ 0.158691] hub 1-0:1.0: USB hub found [ 0.158721] hub 1-0:1.0: 1 port detected [ 0.159271] musb-hdrc musb-hdrc.1: USB Host mode controller at d083e800 using PIO, IRQ 19 [ 0.159698] NET: Registered protocol family 2 [ 0.159912] IP route cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.160186] TCP established hash table entries: 8192 (order: 4, 65536 bytes) [ 0.160369] TCP bind hash table entries: 8192 (order: 3, 32768 bytes) [ 0.160461] TCP: Hash tables configured (established 8192 bind 8192) [ 0.160491] TCP reno registered [ 0.160491] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.160522] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.160705] NET: Registered protocol family 1 [ 0.161041] RPC: Registered named UNIX socket transport module. [ 0.161041] RPC: Registered udp transport module. [ 0.161071] RPC: Registered tcp transport module. [ 0.161071] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.161315] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.172576] VFS: Disk quotas dquot_6.5.2 [ 0.172637] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.173187] msgmni has been set to 494 [ 0.176300] alg: No test for stdrng (krng) [ 0.177001] io scheduler noop registered [ 0.177001] io scheduler deadline registered [ 0.177062] io scheduler cfq registered (default) [ 0.178222] Could not set LED4 to fully on [ 0.179870] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0 [ 0.800994] console [ttyO0] enabled [ 0.805236] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1 [ 0.813079] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2 [ 0.820831] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3 [ 0.828582] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4 [ 0.836334] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5 [ 0.853454] brd: module loaded [ 0.861480] loop: module loaded [ 0.864959] i2c-core: driver [tsl2550] using legacy suspend method [ 0.871398] i2c-core: driver [tsl2550] using legacy resume method [ 0.877807] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write [ 0.941253] No daughter card found [ 0.944854] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write [ 1.011383] The board is a AM335x Starter Kit. [ 1.016021] [ 1.016021] evm_id == 4 [ 1.020568] omap_hsmmc.0: alias fck already exists [ 1.026458] in NHD_480272MF_ATXI_pdata display @@@@@@@@@@@ [ 1.032379] da8xx_lcdc.0: alias fck already exists [ 1.037841] da8xx_lcdc da8xx_lcdc.0: GLCD: Found NHD-4.3-ATXI#-T-1 panel [ 1.050628] Console: switching to colour frame buffer device 30x40 [ 1.060882] configuring mcasp0_pin_mux ===============> configuring SK_EVM for AUDIO ===============> [ 1.070678] davinci-mcasp.0: alias fck already exists [ 1.076599] in uart1_init ----------->>>>> [ 1.080902] in uart2_init ----------->>>>> [ 1.085205] in uart3_init ----------->>>>> [ 1.089477] in uart4_init ----------->>>>> [ 1.093780] in uart5_init ----------->>>>> [ 1.098114] omap_i2c.2: alias fck already exists [ 1.121337] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz [ 1.127746] tsl2550 2-0039: standard operating mode [ 2.131347] omap_i2c omap_i2c.2: controller timed out [ 2.151367] tsl2550: probe of 2-0039 failed with error -110 [ 2.157470] In AM33XX_CPSW_MODE_RMII: Selecetd RMII mode for ethernet ===================> [ 2.167022] registered am33xx_sr device [ 2.171234] AM335X:AFTER setup_starterkit & am33xx_sr_init ----------------> [ 2.178863] tlv320aic31xx 1-0018: aic3xxx_device_init beginning [ 2.193908] tlv320aic31xx 1-0018: (null) revision 1 [ 2.200256] tlv320aic31xx 1-0018: aic3xxx_device_init added mfd devices [ 2.208709] mtdoops: mtd device (mtddev=name/number) must be supplied [ 2.215850] omap2-nand driver initializing [ 2.220336] OneNAND driver initializing [ 2.225585] CAN device driver interface [ 2.229583] CAN bus driver for Bosch D_CAN controller 1.0 [ 2.281372] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6 [ 2.287811] davinci_mdio davinci_mdio.0: detected phy mask fffffffe [ 2.294952] davinci_mdio.0: probed [ 2.298522] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown [ 2.306213] usbcore: registered new interface driver zd1201 [ 2.312225] usbcore: registered new interface driver cdc_ether [ 2.318450] usbcore: registered new interface driver cdc_eem [ 2.324493] usbcore: registered new interface driver dm9601 [ 2.330352] cdc_ncm: 04-Aug-2011 [ 2.333892] usbcore: registered new interface driver cdc_ncm [ 2.339782] Initializing USB Mass Storage driver... [ 2.345092] usbcore: registered new interface driver usb-storage [ 2.351348] USB Mass Storage support registered. [ 2.356597] mousedev: PS/2 mouse device common for all mice [ 2.363494] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0 [ 2.370300] i2c /dev entries driver [ 2.374572] Linux video capture interface: v2.00 [ 2.379699] usbcore: registered new interface driver uvcvideo [ 2.385711] USB Video Class driver (1.1.1) [ 3.381378] omap_i2c omap_i2c.2: controller timed out [ 3.401397] lm75: probe of 2-0048 failed with error -110 [ 4.401336] omap_i2c omap_i2c.2: controller timed out [ 5.421386] omap_i2c omap_i2c.2: controller timed out [ 6.441375] omap_i2c omap_i2c.2: controller timed out [ 7.461364] omap_i2c omap_i2c.2: controller timed out [ 8.481353] omap_i2c omap_i2c.2: controller timed out [ 9.501342] omap_i2c omap_i2c.2: controller timed out [ 10.521362] omap_i2c omap_i2c.2: controller timed out [ 10.542236] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec [ 10.552398] cpuidle: using governor ladder [ 10.557159] cpuidle: using governor menu [ 10.563446] omap4_aes_mod_init: loading AM33X AES driver [ 10.569122] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02 [ 10.575653] omap4_aes_probe: probe() done [ 10.580047] omap4_sham_mod_init: loading AM33X SHA/MD5 driver [ 10.586212] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03 [ 10.597717] omap4_sham_probe: probe() done [ 10.604339] usbcore: registered new interface driver usbhid [ 10.610168] usbhid: USB HID core driver [ 10.614868] usbcore: registered new interface driver snd-usb-audio [ 10.624877] TEXAS: test print in func tlv320aic31xx_modiniti line is 2201 [ 10.632080] TEXAS: test print in func aic31xx_probe line is 2169 [ 10.638366] TEXAS: test print in func aic31xx_probe line is 2173 [ 10.645385] TEXAS: test print func is evm_init line is 369 [ 10.651153] TEXAS: test print func is evm_init line is 373 [ 10.657287] TEXAS: test print in func aic31xx_codec_probei line is 1622 [ 10.664276] TEXAS: test print in func aic31xx_codec_probei line is 1630 [ 10.679504] driver_init: Allocated Major Number: 252 [ 10.684722] [ 10.686279] driver_init: Registered cfw driver [ 10.692138] TEXAS: test print in func aic31xx_codec_probei line is 1680 [ 10.701110] input: Unspecified device as /devices/virtual/input/input0 [ 10.709136] Control name 'Class - D driver Volume(0 = 6 dB, 4 = 24 dB)' truncated to 'Class - D driver Volume(0 = 6 dB, 4 = 24 dB' [ 10.731536] TEXAS: test print in func aic31xx_codec_probei line is 1702 [ 10.738494] CFW[sound/soc/codecs/aic3xxx/aic3xxx_cfw_ops.c:792]: Entering crc 1086 [ 10.746520] CFW[sound/soc/codecs/aic3xxx/aic3xxx_cfw_ops.c:798]: CRC pass [ 10.753631] CFW[sound/soc/codecs/aic3xxx/aic3xxx_cfw_ops.c:819]: Loaded firmware inside unpickle [ 10.753662] [ 10.764404] CFW[sound/soc/codecs/aic3xxx/aic3xxx_cfw_ops.c:839]: loading pfw 0 [ 10.764404] [ 10.773498] CFW[sound/soc/codecs/aic3xxx/aic3xxx_cfw_ops.c:859]: loaded pfw's [ 10.773498] [ 10.782531] CFW[sound/soc/codecs/aic3xxx/aic3xxx_cfw_ops.c:877]: loaded modes [ 10.790008] running INIT sequence [ 10.793457] CFW[sound/soc/codecs/aic3xxx/aic3xxx_cfw_ops.c:324]: Sending transition INIT[0] [ 10.802215] page 0 book 0 offset 4 [ 10.805847] TEXAS: test print func is evm_aic3x_init, line is 151 [ 10.812255] TEXAS: test print func is evm_aic3x_init, line is 165 [ 10.819244] asoc: tlv320aic31xx-MM_EXT <-> davinci-mcasp.0 mapping ok [ 10.826080] page 1 book 0 offset 40 [ 10.830322] page 1 book 0 offset 41 [ 10.834747] ALSA device list: [ 10.837860] #0: AM335X EVM [ 10.840850] oprofile: hardware counters not available [ 10.846160] oprofile: using timer interrupt. [ 10.850677] nf_conntrack version 0.5.0 (3956 buckets, 15824 max) [ 10.857452] ip_tables: (C) 2000-2006 Netfilter Core Team [ 10.863128] TCP cubic registered [ 10.866516] NET: Registered protocol family 17 [ 10.871185] can: controller area network core (rev 20090105 abi 8) [ 10.877746] NET: Registered protocol family 29 [ 10.882415] can: raw protocol (rev 20090105) [ 10.886871] can: broadcast manager protocol (rev 20090105 t) [ 10.892852] Registering the dns_resolver key type [ 10.897857] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 10.905883] ThumbEE CPU extension supported. [ 10.910430] mux: Failed to setup hwmod io irq -22 [ 10.915954] Power Management for AM33XX family [ 10.920806] Trying to load am335x-pm-firmware.bin (60 secs timeout) [ 10.927520] Copied the M3 firmware to UMEM [ 10.931976] Compensating OPP0 for 0mV Orig nvalue:0x999285 New nvalue:0x999285 [ 10.939636] Compensating OPP1 for 0mV Orig nvalue:0x999285 New nvalue:0x999285 [ 10.948120] page 1 book 0 offset 31 [ 10.952484] page 1 book 0 offset 34 [ 10.956481] Compensating OPP0 for 0mV Orig nvalue:0x99a197 New nvalue:0x99a197 [ 10.964172] Compensating OPP1 for 0mV Orig nvalue:0x999084 New nvalue:0x999084 [ 10.971832] Compensating OPP2 for 0mV Orig nvalue:0xaae4d0 New nvalue:0xaae4d0 [ 10.979461] Compensating OPP3 for 0mV Orig nvalue:0xaac6b5 New nvalue:0xaac6b5 [ 10.987182] create_regulator: VDD1: Failed to create debugfs directory [ 10.996154] smartreflex smartreflex: am33xx_sr_probe: Driver initialized [ 11.004089] CFW[sound/soc/codecs/aic3xxx/aic3xxx_cfw_ops.c:354]: Re-configuring PLL: pll48==>0 [ 11.015899] mmc0: host does not support reading read-only switch. assuming write-enable. [ 11.028228] clock: disabling unused clocks to save power [ 11.034393] page 0 book 0 offset 7 [ 11.038391] page 0 book 0 offset 8 [ 11.043029] mmc0: new high speed SD card at address e624 [ 11.049530] mmcblk0: mmc0:e624 SU02G 1.84 GiB [ 11.055145] page 0 book 0 offset 13 [ 11.059020] page 0 book 0 offset 14 [ 11.062866] mmcblk0: p1 p2 [ 11.068206] page 0 book 0 offset 20 [ 11.073425] CFW[sound/soc/codecs/aic3xxx/aic3xxx_cfw_ops.c:324]: Sending transition NEUTRAL[2] [ 11.082458] CFW[sound/soc/codecs/aic3xxx/aic3xxx_cfw_ops.c:302]: setmode_cfg: DONE (mode=0 pfw=-1 ovly=0 cfg=0) [ 11.100860] analogics1 Detected MACID=90:59:af:d1:7d:e0 [ 11.107360] cpsw: analogica Detected MACID = 90:59:af:d1:7d:e2 [ 11.114532] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:09 UTC (946684809) [ 11.136932] kjournald starting. Commit interval 5 seconds [ 11.142761] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended [ 11.595458] EXT3-fs (mmcblk0p2): using internal journal [ 11.600952] EXT3-fs (mmcblk0p2): recovery complete [ 11.605987] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode [ 11.613250] VFS: Mounted root (ext3 filesystem) on device 179:2. [ 11.619873] Freeing init memory: 248K INIT: version 2.86 booting Please wait: booting... Starting udev [ 13.121673] alignment: ignoring faults is unsafe on this CPU. Defaulting to fixup mode. Remounting root file system... Caching udev devnodes ALSA: Restoring mixer settings... Configuring network interfaces... No state is present for card EVM Found hardware: "AM335X_EVM" "" "" "" "" Hardware is initialized using a generic method No state is present for card EVM [ 15.716827] net eth0: CPSW phy found : id is : 0x181b8a0 eth0 no wireless extensions. udhcpc (v1.13.2) started Sending discover... Sending discover... Sending discover... No lease, forking to background done. Setting up IP spoofing protection: rp_filter. Fri Jul 27 10:30:00 UTC 2012 INIT: Entering runlevel: 5 Starting system message bus: dbus. Starting Hardware abstraction layer hald Starting Dropbear SSH server: dropbear. Starting telnet daemon. Starting network benchmark server: netserver. Starting syslogd/klogd: done Starting thttpd. Starting PVR Usage: insmod filename [args] Could not find pvrsrvkm driver Starting Lighttpd Web Server: lighttpd. 2012-07-27 10:30:01: (log.c.166) server started / Starting Matrix GUI application. FATAL: Module g_mass_storage not found. *************************************************************** *************************************************************** NOTICE: This file system contains the followin GPLv3 packages: binutils-symlinks binutils gdbserver If you do not wish to distribute GPLv3 components please remove the above packages prior to distribution. This can be done using the opkg remove command. i.e.: opkg remove <package> Where <package> is the name printed in the list above NOTE: If the package is a dependency of another package you will be notified of the dependent packages. You should use the --force-removal-of-dependent-packages option to also remove the dependent packages as well *************************************************************** *************************************************************** _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project http://arago-project.org am335x-evm ttyO0 Arago 2011.09 am335x-evm ttyO0 am335x-evm login: _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project http://arago-project.org am335x-evm ttyO0 Arago 2011.09 am335x-evm ttyO0 am335x-evm login: root
Regards,
Rajeev.
Dave,
Thank you for your support,
i got solved my audio problem, now i am able to get audio on head phone this should be routed to speaker.
I half answered your question last time,
SDK is linux-3.2.0-psp04.06.00.08.sdk
EZSDK is ti-sdk-am335x-evm-05.05.00.00
Yes we did updated codec driver in kernel.
root@am335x-evm:~# amixer cset name='Left Output Mixer From DAC_L' 1
root@am335x-evm:~# amixer cset name='DAC Playback Volume' 100%
numid=1,iface=MIXER,name='DAC Playback Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=175,step=0
: values=175,175
| dBscale-min=-63.50dB,step=0.50dB,mute=0
root@am335x-evm:~# aplay -f cd /home/root/sine.wav
Playing WAVE '/home/root/sine.wa[ 773.901428] TEXAS: func is evm_hw_params line is 69
v' : Signed 16 b[ 773.907043] TEXAS: func is evm_hw_params line is 80
it Little Endian, Rate 48000 Hz,[ 773.914978] TEXAS: func is evm_hw_params line is 86
Mono
[ 773.921447] TEXAS: func is evm_hw_params line is 92
[ 773.927581] aic31xx_set_dai_pll: DAI ID 0 PLL_ID 0 InFreq 24000000 OutFreq 48000
[ 773.935333] TEXAS: func is evm_hw_params line is 101
Regards,
Rajeev.