[#4712] It fails to record and play at the same time for ad73322

Document created by Aaronwu Employee on Aug 30, 2013
Version 1Show Document
  • View in full screen mode

[#4712] It fails to record and play at the same time for ad73322

Submitted By: Vivi Li

Open Date

2008-12-10 05:42:47     Close Date

2008-12-15 04:00:02

Priority:

Medium     Assignee:

Cliff Cai

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

Audio     Board:

STAMP

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Not reproducible

Uboot version or rev.:

    Toolchain version or rev.:

toolchain4.1_2008-11-13

App binary format:

N/A     

Summary: It fails to record and play at the same time for ad73322

Details:

 

In bf537 with ad73322, it fails to record and play at the same time.

 

Bellow is the log:

--

Linux version 2.6.28-rc2-ADI-2009R1-pre-svn5849 (test@107-local) (gcc version 4.1.2 (ADI svn)) #2238

console [early_BFuart0] enabled

early printk enabled on early_BFuart0

Warning: limiting memory to 56MB due to hardware anomaly 05000263

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x00122be0

  rodata    = 0x00122be0-0x001793f0

  bss       = 0x001793f0-0x00189934

  data      = 0x00189934-0x0019a000

    stack   = 0x00198000-0x0019a000

  init      = 0x0019a000-0x004d9000

  available = 0x004d9000-0x037ff000

  DMA Zone  = 0x03e00000-0x04000000

Hardware Trace Active and Enabled

Reset caused by Software reset

Blackfin support (C) 2004-2008 Analog Devices, Inc.

Compiled for ADSP-BF537 Rev 0.2

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 500 MHz core clock and 100 MHz System Clock

NOMPU: setting up cplb tables for global access

Instruction Cache Enabled for CPU0

Data Cache Enabled for CPU0 (write-through)

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 14223

Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=f

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 256 (order: 8, 1024 bytes)

console handover: boot [early_BFuart0] -> real [ttyBF0]

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory available: 51796k/65536k RAM, (3324k init code, 1158k kernel code, 478k data, 2048k dma, 673)

Calibrating delay loop... 997.37 BogoMIPS (lpj=1994752)

Security Framework initialized

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

Blackfin L1 Data A SRAM: 16 KB (15 KB free)

Blackfin L1 Data B SRAM: 16 KB (16 KB free)

Blackfin L1 Instruction SRAM: 48 KB (41 KB free)

PDA for CPU0 reserved at 0017a4e0

net_namespace: 288 bytes

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

stamp_init(): registering device resources

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 2048 (order: 2, 16384 bytes)

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

TCP: Hash tables configured (established 2048 bind 2048)

TCP reno registered

NET: Registered protocol family 1

msgmni has been set to 101

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

Serial: Blackfin serial driver

bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART

brd: module loaded

bfin_mac_mdio: probed

bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(md)

bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).

dma_alloc_init: dma_page @ 0x032c1000 - 512 pages at 0x03e00000

ALSA device list:

  #0: Analog Devices AD73322 at PF10 SPORT0 rx/tx dma 3/4 err irq 45

  #1: Analog Devices AD73322 at PF14 SPORT1 rx/tx dma 5/6 err irq 46

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 2004-05-31 08:30:03 UTC (1085992203)

IP-Config: Complete:

     device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,

     host=bf537-stamp, domain=, nis-domain=(none),

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=

Freeing unused kernel memory: 3324k freed

                           _____________________________________

        a8888b.           / Welcome to the uClinux distribution \

       d888888b.         /       _     _                         \

       8P"YP"Y88        /       | |   |_|            __  __ (TM)  |

       8|o||o|88  _____/        | |    _ ____  _   _ \ \/ /       |

       8'    .88       \        | |   | |  _ \| | | | \  /        |

       8`._.' Y8.       \       | |__ | | | | | |_| | /  \        |

      d/      `8b.       \      \____||_|_| |_|\____|/_/\_\       |

     dP   .    Y8b.       \   For embedded processors including   |

    d8:'  "  `::88b        \    the Analog Devices Blackfin      /

   d8"         'Y88b        \___________________________________/

  :8P    '      :888

   8a.   :     _a88P         For further information, check out:

._/"Yaa_:   .| 88P|            -   blackfin.uclinux.org/

\    YP"    `| 8P  `.          -   docs.blackfin.uclinux.org/

/     \.___.d|    .'           -   www.uclinux.org/

`--..__)8888P`._.'  jgs/a:f    -   www.analog.com/blackfin

 

Have a lot of fun...

 

 

BusyBox v1.13.1 (2008-12-10 18:11:54 CST) built-in shell (msh)

Enter 'help' for a list of built-in commands.

 

root:/>

root:/> arecord -D plughw:0,0 -d 5 |aplay -D plughw:0,1

Recording WAVE 'stdin' : Unsigned 8 bit, Rate 8000 Hz, Mono

ALSA lib ../../../alsa-lib-1.0.12/src/pcm/pcm_plug.c:773:(snd_pcm_plug_hw_refine_schange) Unable to'

arecord: set_params:904: Sample format non available

aplay: playback:2021: read error

root:/>

root:/>

root:/> arecord|aplay

Recording WAVE 'stdin' : Unsigned 8 bit, Rate 8000 Hz, Mono

Playing WAVE 'stdin' : Unsigned 8 bit, Rate 8000 Hz, Mono

^CAborted by signal Interrupt...

Aborted by signal Interrupt...

--

 

Follow-ups

 

--- Cliff Cai                                                2008-12-11 03:08:56

You need to copy a config file to /etc/asound on board.

see:https://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_id=328&tracker_item_id=4038

 

Cliff

 

--- Vivi Li                                                  2008-12-15 04:00:01

This bug is not reproducible now. So close it.

Thanks!

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes