[#5370] alsa tool fails to work after wake up from mem in bf537-stamp with ad1836 (can't resolve symbol)

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

[#5370] alsa tool fails to work after wake up from mem in bf537-stamp with ad1836 (can't resolve symbol)

Submitted By: Vivi Li

Open Date

2009-07-17 06:22:09     Close Date

2009-07-29 05:16:28

Priority:

Medium High     Assignee:

Cliff Cai

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

Drivers     Board:

STAMP

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Not reproducible

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.1_2009r1-rc9

App binary format:

N/A     

Summary: alsa tool fails to work after wake up from mem in bf537-stamp with ad1836 (can't resolve symbol)

Details:

 

alsa tool fails to work after wake up from mem in bf537-stamp with ad1836.

 

--

root:/> modprobe spi_bfin5xx; modprobe snd-ad1836

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

root:/>

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:/>

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

root:/>

root:/> rtcwake -s 10 -m mem

wakeup from "mem" at Tue Jan  6 18:42:18 1970

PM: Syncing filesystems ... done.

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

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

Suspending console(s) (use no_console_suspend to debug)

PHY: 0:01 - Link is Down

Restarting tasks ... done.

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

root:/>

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:/>

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

arecord: can't resolve symbol '___snd_pcm_hw_params_{et_period_size_last'

aplay: can't resolve symbol '___snd_pcm_hw_params_{et_period_size_last'

root:/>

--

 

Last passed version:

--

kernel:    Linux release 2.6.28.10-ADI-2009R1-svn6921, build #8 Mon Jul 6 16:11:38 CST 2009^M

toolchain: bfin-linux-uclibc-gcc release gcc version 4.1.2 (ADI svn)^M

user-dist: release svn-8427, build #134 Mon Jul 6 16:07:24 CST 2009^M

--

 

Follow-ups

 

--- Cliff Cai                                                2009-07-22 21:44:07

The symbol was wrongly changed during the suspend to memory/resume course.

I guess "et_period_size_last" should be

"set_period_size_last"

 

Cliff

 

--- Cliff Cai                                                2009-07-27 02:56:16

I've tried on two bf537-stamp V1.3,it seems ok.

 

--- Vivi Li                                                  2009-07-29 05:16:28

It's ok after add a pull down resistor to SCKE.

Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.power    application/octet-stream    32602    Vivi Li

Attachments

Outcomes