FAQ: [#6346] Underrun will happen when test linphone with ssm2603 on bf527-ezkit(2010)

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

[#6346] Underrun will happen when test linphone with ssm2603 on bf527-ezkit

Submitted By: Vivi Li

Open Date

2010-11-18 05:24:52    


Low     Assignee:

Scott Jiang


Open     Fixed In Release:


Found In Release:

2011R1     Release:


N/A     Board:



BF527     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Assigned (Not Start)

Uboot version or rev.:

    Toolchain version or rev.:


App binary format:


Summary: Underrun will happen when test linphone with ssm2603 on bf527-ezkit



Underrun will happen when test linphone with ssm2603 on bf527-ezkit.



Linux version (test@uclinux63-527-usbdev) (gcc version 4.3.5 (ADI-2010R1-RC4) ) #12 Thu Nov 18 16:15:31 CST 2010

register early platform devices

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart1] enabled

early printk enabled on early_BFuart1

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x00164500

  rodata    = 0x00164500-0x001df224

  bss       = 0x001e0000-0x001f1764

  data      = 0x001f1764-0x0020a000

    stack   = 0x00208000-0x0020a000

  init      = 0x0020a000-0x00a4a000

  available = 0x00a4a000-0x03e00000

  DMA Zone  = 0x03e00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 1

Reset caused by Software reset

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

Compiled for ADSP-BF527 Rev 0.2

Blackfin Linux support by http://blackfin.uclinux.org/

Processor Speed: 525 MHz core clock and 131 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

  External memory: cacheable in instruction cache

Data Cache Enabled for CPU0

  External memory: cacheable (write-back) in data cache

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

Kernel command line: root=/dev/mtdblock0 rw ip= earlyprintk=serial,uart1,57600 console=ttyBF1,57600 ip=

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

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

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

Memory available: 52384k/65536k RAM, (8448k init code, 1421k kernel code, 663k data, 2048k dma, 572k reserved)

Hierarchical RCU implementation.


Configuring Blackfin Priority Driven Interrupts

console [ttyBF1] enabled, bootconsole disabled

console [ttyBF1] enabled, bootconsole disabled

Calibrating delay loop... 1046.52 BogoMIPS (lpj=2093056)

Security Framework initialized

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

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

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

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

NET: Registered protocol family 16

Blackfin DMA Controller

ezkit_init(): registering device resources

bio: create slab <bio-0> at 0

SCSI subsystem initialized

bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@7

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base@ffc01400

Advanced Linux Sound Architecture Driver Version

musb_hdrc: version 6.0, musb-dma, host, debug=0

musb_hdrc musb_hdrc.0: MUSB HDRC host driver

musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

musb_hdrc musb_hdrc.0: USB Host mode controller at ffc03800 using DMA, IRQ 59

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)

Tentries: 256 (order: 0, 4096 bytes)

NET: Registered protocol family 1

msgmni has been set to 102

io scheduler noop registered

io scheduler cfq registered (default)

bfin-otp: initialized

bfin-uart: Blackfin serial driver

bfin-uart.1: ttyBF1 at MMIO 0xffc02000 (irq = 31) is a BFIN-UART

brd: module loaded

adp5520 0-0032: failed writing 0x80 to 0x00

adp5520 0-0032: failed to write

adp5520 0-0032: failed reading at 0x00

adp5520: probe of 0-0032 failed with error -1

bfin_mii_bus: probed

bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:03, irq=-1, mdc_clk=2500000Hz(mdc_div=25)@sclk=131MHz)

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

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

ad7879 0-002c: Failed to write AD7879 Touchscreen

ad7879: probe of 0-002c failed with error -1

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

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

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

No device for DAI SSM2602

dma rx:5 tx:6, err irq:16, regs:ffc00900

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

asoc: SSM2602 <-> bf5xx-i2s mapping ok

ALSA device list:

  #0: bf5xx_ssm2602 (SSM2602)

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 1998-07-03 14:01:32 UTC (899474492)

musb_stage0_irq 739: unhandled DISCONNECT transition (a_idle)

IP-Config: Complete:

     device=eth0, addr=, mask=, gw=,

     host=bf527-ezkit, domain=, nis-domain=(none),

     bootserver=, rootserver=, rootpath=

Freeing unused kernel memory: 8448k 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|            - http://blackfin.uclinux.org/

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

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

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


Have a lot of fun...



BusyBox v1.16.2 (2010-11-18 16:10:26 CST) hush - the humble shell


root:/> ^[[6nversion

PHY: 0:03 - Link is Up - 100/Full

kernel:    Linux release, build #12 Thu Nov 18 16:15:31 CST 2010

toolchain: bfin-linux-uclibc-gcc release gcc version 4.3.5 (ADI-2010R1-RC4)

user-dist: release svn-9954, build #26 Thu Nov 18 16:13:39 CST 2010

root:/> ^[[6nsuccessful boot attempt

************** STEP 3: Start LINPHONE TEST


ifconfig eth0

root:/> ^[[6nroute add -net default gw

route: SIOCADDRT: File exists

root:/> ^[[6nroute

Kernel IP routing table

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface      *        U     0      0        0 eth0

default         UG    0      0        0 eth0

root:/> ^[[6nspawn linphonec


Warning: video is disabled in linphonec.


Case 1 ...PASS


Case 1 ...PASS


NLS disabled.

ALSA lib /home/test/work/cruise/checkouts/uclinux-dist/lib/alsa-lib/alsa-lib-1.0.18/src/conf.c:3952:(snd_config_expand) Unknown parameters 0

ALSA lib /home/test/work/cruise/checkouts/uclinux-dist/lib/alsa-lib/alsa-lib-1.0.18/src/control/control.c:909:(snd_ctl_open_noupdate) Invalid CTL default:0


Warning: video is disabled in linphonec, use -V or -C or -D to enable.


Case 1 ...PASS


Case 1 ...PASS

call sip:test@

Contacting sip:test@

linphonec> linphonec>

Case 2 ...PASS

<sip:toto@> is contacting you.


Case 3 ...PASS


Case 3 ...PASS




Case 4 ...PASS


Case 4 ...PASS


linphonec> w

Case 4 ...PASS


Case 4 ...PASS

arning: Unknown nb_ctl request:  12

ortp-error-Could not set vbr mode to speex encoder.

warning: Unknown nb_ctl request:  34

snd_pcm_update_hw_ptr0: 11 callbacks suppressed

snd_pcm_update_hw_ptr0: 11 callbacks suppressed

snd_pcm_update_hw_ptr0: 9 callbacks suppressed

snd_pcm_update_hw_ptr0: 9 callbacks suppressed

Underrun happened!!!


root:/> ^[[6nTerminating...

Call ended






--- Vivi Li                                                  2010-11-19 04:30:34

This underrun don't happen often.


--- Vivi Li                                                  2011-09-01 03:10:10

I can still see underrun in latest trunk.


--- Vivi Li                                                  2012-06-13 03:29:28

I can still see underrun in latest trunk.












File Name     File Type     File Size     Posted By

config.linux.linphone_ssm2603    application/octet-stream    45667    Vivi Li