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    

Priority:

Low     Assignee:

Scott Jiang

Status:

Open     Fixed In Release:

N/A

Found In Release:

2011R1     Release:

Category:

N/A     Board:

N/A

Processor:

BF527     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Assigned (Not Start)

Uboot version or rev.:

    Toolchain version or rev.:

2010r1-rc4

App binary format:

N/A     

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

Details:

 

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

 

--

Linux version 2.6.34.7-ADI-2010R1-svn9504 (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=10.100.4.50 earlyprintk=serial,uart1,57600 console=ttyBF1,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf527-ezkit:eth0:off

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.

NR_IRQS:159

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 1.0.22.1.

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=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,

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

     bootserver=10.100.4.174, rootserver=10.100.4.174, 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 2.6.34.7-ADI-2010R1-svn9504, 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 10.100.4.50

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

route: SIOCADDRT: File exists

root:/> ^[[6nroute

Kernel IP routing table

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

10.100.4.0      *               255.255.255.0   U     0      0        0 eth0

default         10.100.4.174    0.0.0.0         UG    0      0        0 eth0

root:/> ^[[6nspawn linphonec

Ready

Warning: video is disabled in linphonec.

^[[?1034hlinphonec>

Case 1 ...PASS

 

Case 1 ...PASS

linphonec

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

Ready

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

linphonec>

Case 1 ...PASS

 

Case 1 ...PASS

call sip:test@10.100.4.174

Contacting sip:test@10.100.4.174

linphonec> linphonec>

Case 2 ...PASS

<sip:toto@10.100.4.50> is contacting you.

linphonec>

Case 3 ...PASS

 

Case 3 ...PASS

answer

Connected.

linphonec>

Case 4 ...PASS

 

Case 4 ...PASS

Connected.

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!!!

^C

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

Call ended

linphonec>

--

 

Follow-ups

 

--- 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.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

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

Outcomes