FAQ:[#6269] Input/output error in power testing with ssm2603 on bf527-ezkit-1.4.(2010)

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

[#6269] Input/output error in power testing with ssm2603 on bf527-ezkit-1.4.

Submitted By: angelia wu

Open Date

2010-09-20 23:27:17     Close Date

2010-10-15 05:57:33

Priority:

Medium     Assignee:

Bob Liu

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Blackfin Linux:2010R1

Category:

N/A     Board:

EZKIT Lite

Processor:

BF527     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

2010R1-RC2

App binary format:

N/A     

Summary: Input/output error in power testing with ssm2603 on bf527-ezkit-1.4.

Details:

 

Input/output error in power testing with ssm2603 on bf527-ezkit-1.4.

Before standby vplay and aplay all are ok, while after standby, vplay will fail with "Input/output error", and arecord can't stop auto and when i input "ctrl-C" kernel will reboot.

 

 

the log as follow.

U-Boot 2010.03-svn2267 (ADI-2010R1-pre) (May 07 2010 - 03:50:14)

 

CPU:   ADSP bf527-0.0 (Detected Rev: 0.2) (parallel flash boot)

Board: ADI BF527 EZ-Kit board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 525 MHz, Core: 525 MHz, System: 131.250 MHz

RAM:   64 MB

Flash:  4 MB

In:    serial

Out:   serial

Err:   serial

KGDB:  [on serial] ready

Net:   Blackfin EMAC

Hit any key to stop autoboot:  0

bfin> run ramboot

Using Blackfin EMAC 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 = 4382793 (42e049 hex)

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

   Image Name:   bf527-2.6.34.7-ADI-2010R1-pre-sv

   Created:      2010-09-20  13:02:48 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    4382729 Bytes =  4.2 MB

   Load Address: 00001000

   Entry Point:  001e669c

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 001e669c

Linux version 2.6.34.7-ADI-2010R1-pre-svn9153 (test@uclinux63-527-usbdev) (gcc version 4.3.5 (ADI-trunk/svn-4747) ) #413 Mon Sep 20 21:02:38 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-0x00148a68

  rodata    = 0x00148a68-0x001b78ec

  bss       = 0x001b8000-0x001c91ac

  data      = 0x001c91ac-0x001dc000

    stack   = 0x001da000-0x001dc000

  init      = 0x001dc000-0x008e1000

  available = 0x008e1000-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 clkin_hz=25000000 earlyprintk=serial,uart1,57600 console=tty0 console=ttyBF1,57600 ip=10.100.4.50:10.100.4.174:f

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: 53828k/65536k RAM, (7188k init code, 1310k kernel code, 590k 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 (41 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

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.

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 105

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:01, irq=-1, mdc_clk=2500000Hz(mdc_div=25)@sclk=131MHz)

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

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)

ALSA device list:

  No soundcards found.

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 1970-01-07 02:18:08 UTC (526688)

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=

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

Freeing unused kernel memory: 7188k 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-09-20 20:58:40 CST) hush - the humble shell

 

root:/> PHY: 0:01 - Link is Up - 100/Full

 

root:/> modprobe snd-ssm2602

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

No device for DAI SSM2602

asoc: SSM2602 <-> bf5xx-i2s mapping ok

root:/> lsmod

Module                  Size  Used by

snd_ssm2602              813  0

snd_soc_ssm2602         6585  1 snd_ssm2602

snd_soc_bf5xx_i2s       1833  1 snd_ssm2602

snd_bf5xx_i2s           1708  1 snd_ssm2602

snd_soc_bf5xx_sport     9112  2 snd_soc_bf5xx_i2s,snd_bf5xx_i2s

root:/> vrec -w -S -b 16 -s 48000 -t 5|vplay

Recording WAVE : 16 bit, Speed 48000 Hz Stereo ...

Playing WAVE : 16 bit, Speed 48000 Hz Stereo ...

root:/> vrec -w -S -b 16 -s 48000 -t 5|vplay

Recording WAVE : 16 bit, Speed 48000 Hz Stereo ...

Playing WAVE : 16 bit, Speed 48000 Hz Stereo ...

snd_pcm_update_hw_ptr0: 4 callbacks suppressed

root:/> vrec -w -S -b 16 -s 48000 -t 5|vplay

Recording WAVE : 16 bit, Speed 48000 Hz Stereo ...

Playing WAVE : 16 bit, Speed 48000 Hz Stereo ...

snd_pcm_update_hw_ptr0: 4 callbacks suppressed

root:/> vrec -w -S -b 16 -s 48000 -t 5|vplay

Recording WAVE : 16 bit, Speed 48000 Hz Stereo ...

Playing WAVE : 16 bit, Speed 48000 Hz Stereo ...

snd_pcm_update_hw_ptr0: 4 callbacks suppressed

root:/> arecord -t wav -c 2 -f S16_LE -r 48000 -d 5 |aplay

Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo

Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo

snd_pcm_update_hw_ptr0: 4 callbacks suppressed

root:/> cat /proc/mounts

rootfs / rootfs rw 0 0

proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0

sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0

mdev /dev tmpfs rw,nosuid,relatime,mode=0755,size=10M 0 0

devpts /dev/pts devpts rw,nosuid,noexec,relatime,mode=600 0 0

var /var ramfs rw,relatime 0 0

tmp /tmp tmpfs rw,nosuid,nodev,relatime 0 0

debugfs /sys/kernel/debug debugfs rw,relatime 0 0

root:/> ls /sys/power

pm_async  state

root:/> rtcwake -s 10 -m standby

wakeup from "standby" at Wed Jan  7 02:20:52 1970

PM: Syncing filesystems ... done.

Freezing user space processes ... (elapsed 0.01 seconds) done.

Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.

Suspending console(s) (use no_console_suspend to debug)

PM: suspend of devices complete after 924.000 msecs

PM: late suspend of devices complete after 0.001 msecs

PM: early resume of devices complete after 0.001 msecs

PM: resume of devices complete after 0.001 msecs

Restarting tasks ... done.

root:/> vrec -w -S -b 16 -s 48000 -t 5|vplay

Recording WAVE : 16 bit, Speed 48000 Hz Stereo ...

Playing WAVE : 16 bit, Speed 48000 Hz Stereo ...

/dev/dsp: Input/output error

root:/> arecord -t wav -c 2 -f S16_LE -r 48000 -d 5 |aplay

Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo

snd_pcm_update_hw_ptr0: 14 callbacks suppressed

Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo

^CAborted by signal

 

U-Boot 2010.03-svn2267 (ADI-2010R1-pre) (May 07 2010 - 03:50:14)

 

Follow-ups

 

--- Bob Liu                                                  2010-09-27 00:13:08

fixed, commit 9172.

And this problem must exist in ssm2604 also, fixed in commit 9173.

 

--- angelia wu                                               2010-10-15 05:57:33

i test it angain and now the case is ok.

i closed it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

kernel.power.ssm2603_527.config    application/x-config    41012    angelia wu

user.power.ssm2603_527.config    application/x-config    48837    angelia wu

Outcomes