FAQ:[#6315] the sound is very bad in linphonec testing on bf 533-stamp while on bf537-stamp is good(2010)

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

[#6315] the sound is very bad in linphonec testing on bf 533-stamp while on bf537-stamp is good

Submitted By: angelia wu

Open Date

2010-10-25 22:08:43     Close Date

2010-10-29 06:09:12

Priority:

Medium     Assignee:

Bob Liu

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Blackfin Linux:2010R1

Category:

N/A     Board:

N/A

Processor:

BF533     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Assigned (Not Start)

Uboot version or rev.:

    Toolchain version or rev.:

2010RC4

App binary format:

N/A     

Summary: the sound is very bad in linphonec testing on bf 533-stamp while on bf537-stamp is good

Details:

 

the sound is very bad in linphonec testing on bf 533-stamp while on bf537-stamp is good.

 

the test log as follow.

SMC91111: MAC 12:34:56:78:9a:bc

Using SMC91111-0 device

TFTP from server 10.100.4.174; our IP address is 10.100.4.50

Filename 'uImage'.

Load address: 0x1000000

Loading: #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         ####

done

Bytes transferred = 4824804 (499ee4 hex)

## Booting kernel from Legacy Image at 01000000 ...

   Image Name:   bf533-2.6.34.7-ADI-2010R1-svn919

   Created:      2010-10-22  10:40:04 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    4824740 Bytes = 4.6 MiB

   Load Address: 00001000

   Entry Point:  001c3f90

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 001c3f90

Linux version 2.6.34.7-ADI-2010R1-svn9196 (test@uclinux41) (gcc version 4.3.5 (ADI-2010R1-RC4) ) #114 Fri Oct 22 18:39:59 CST 2010

register early platform devices

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Limiting kernel memory to 56MB due to anomaly 05000263

Board Memory: 128MB

Kernel Managed Memory: 128MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x001356d8

  rodata    = 0x001356d8-0x001997b0

  bss       = 0x0019a000-0x001aab68

  data      = 0x001aab68-0x001bc000

    stack   = 0x001ba000-0x001bc000

  init      = 0x001bc000-0x00973000

  available = 0x00973000-0x03800000

  DMA Zone  = 0x07e00000-0x08000000

Hardware Trace Active and Enabled

Boot Mode: 0

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

Compiled for ADSP-BF533 Rev 0.3

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

Processor Speed: 497 MHz core clock and 82 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: 14224

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=11059200 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=10.100.4.50:10.100.4.174:192.168.0.1:2f

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: 47100k/131072k RAM, (7900k init code, 1233k kernel code, 539k data, 2048k dma, 72252k reserved)

Hierarchical RCU implementation.

NR_IRQS:81

Configuring Blackfin Priority Driven Interrupts

bfin-rtc: invalid date; resetting

console [ttyBF0] enabled, bootconsole disabled

console [ttyBF0] enabled, bootconsole disabled

Calibrating delay loop... 989.18 BogoMIPS (lpj=1978368)

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: 64 KB (51 KB free)

NET: Registered protocol family 16

Blackfin DMA Controller

stamp_init(): registering device resources

bio: create slab <bio-0> at 0

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

Advanced Linux Sound Architecture Driver Version 1.0.22.1.

Switching to clocksource bfin_cs_cycles

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

UDP hash table entries: 256 (order: 0, 4096 bytes)

UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

NET: Registered protocol family 1

msgmni has been set to 91

io scheduler noop registered

io scheduler cfq registered (default)

bfin-uart: Blackfin serial driver

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

brd: module loaded

smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <nico@fluxnic.net>

eth0: SMC91C11xFD (rev 1) at 20300300 IRQ 40 [nowait]

eth0: Ethernet addr: 12:34:56:78:9a:bc

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

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

dma rx:1 tx:2, err irq:10, regs:ffc00800

dma_alloc_init: dma_page @ 0x0287d000 - 512 pages at 0x07e00000

asoc: AD183X <-> bf5xx-tdm mapping ok

ALSA device list:

  #0: bf5xx_ad183x (AD183X)

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 1970-01-01 00:00:01 UTC (1)

eth0: link down

IP-Config: Gateway not on directly connected network.

Freeing unused kernel memory: 7900k 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...

eth0: link up, 100Mbps, full-duplex, lpa 0x41E1

 

 

BusyBox v1.16.2 (2010-10-22 18:37:41 CST) hush - the humble shell

 

root:/> ifconfig

eth0      Link encap:Ethernet  HWaddr 12:34:56:78:9A:BC 

          inet addr:10.100.4.50  Bcast:10.100.4.255  Mask:255.255.255.0

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:1 errors:0 dropped:0 overruns:0 frame:0

          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:60 (60.0 B)  TX bytes:42 (42.0 B)

          Interrupt:40 Base address:0x300 DMA chan:ff

 

lo        Link encap:Local Loopback 

          inet addr:127.0.0.1  Mask:255.0.0.0

          UP LOOPBACK RUNNING  MTU:16436  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

root:/> route add -net default gw 10.100.4.174

root:/> route

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:/> 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> call sip:test@10.100.4.174

Contacting sip:test@10.100.4.174

linphonec> linphonec> Connected.

linphonec> warning: Unknown nb_ctl request:  12

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

warning: Unknown nb_ctl request:  34

Call terminated.

linphonec> <sip:test@10.99.29.41> is contacting you.

linphonec> Call ended

linphonec> You have missed 1 call.

linphonec> Call terminated.

linphonec> <sip:test@10.99.29.41> is contacting you.

linphonec> Call ended

linphonec> You have missed 2 calls.

linphonec> Call terminated.

linphonec> <sip:test@10.99.29.41> is contacting you.

linphonec> answer

Connected.

linphonec> warning: Unknown nb_ctl request:  12

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

warning: Unknown nb_ctl request:  34

linphonec> terminate

Call ended

linphonec> linphonec> <sip:test@10.99.29.41> is contacting you.

linphonec> answer

Connected.

linphonec> warning: Unknown nb_ctl request:  12

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

warning: Unknown nb_ctl request:  34

linphonec> terminate

Call ended

linphonec> linphonec>

 

 

PC end:test@uclinux41:~/work/cruise/checkouts/uclinux-dist/testsuites/linphone> linphonec

Ready

Warning: video is disabled in linphonec.

linphonec> <sip:toto@10.100.4.50> is contacting you.

linphonec> answer

Connected.

linphonec> linphonec> terminate

Call ended

linphonec> linphonec> call sip:root@10.100.4.50

Contacting sip:root@10.100.4.50

linphonec> linphonec> Call declined.

linphonec> call sip:root@10.100.4.50

Contacting sip:root@10.100.4.50

linphonec> linphonec> Call declined.

linphonec> call sip:root@10.100.4.50

Contacting sip:root@10.100.4.50

linphonec> linphonec> Connected.

linphonec> Call terminated.

linphonec> call sip:root@10.100.4.50

Contacting sip:root@10.100.4.50

linphonec> linphonec> Connected.

linphonec> Call terminated.

linphonec>

 

 

Follow-ups

 

--- Bob Liu                                                  2010-10-28 01:36:38

I think test it via a host pc rather than the ipod will make sound better on

bf533-stamp.

 

--- angelia wu                                               2010-10-29 06:09:12

yes, i test is again with music on pc, the sound is good.

so i closed the bug.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.linux.533linphone    application/octet-stream    35327    angelia wu

config.config.533linphone    application/octet-stream    48955    angelia wu

Outcomes