[#4252] unable to suspend BF537 when UART1 is enabled but unused

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

[#4252] unable to suspend BF537 when UART1 is enabled but unused

Submitted By: Mike Frysinger

Open Date

2008-07-17 04:18:54     Close Date

2008-07-20 21:32:52

Priority:

Medium     Assignee:

Sonic Zhang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

trunk

Category:

N/A     Board:

N/A

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

App binary format:

N/A     

Summary: unable to suspend BF537 when UART1 is enabled but unused

Details:

 

testing with a CM-BF537E and attempting to suspend to ram fails when UART1 is enabled

 

root:/> echo mem > /sys/power/state

Syncing filesystems ... done.

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

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

Suspending console(s)

DMA Channel 8 failed to suspend

Restarting tasks ... done.

root:/>

 

disabling CONFIG_SERIAL_BFIN_UART1 allows things to work

 

this is trunk svn with CM-BF537E default config and just the power management stuff turned on

 

Follow-ups

 

--- Sonic Zhang                                              2008-07-17 06:29:45

Fixed.

Should suspend,resume,remove all uart ports.

 

--- Mike Frysinger                                           2008-07-20 21:32:52

works for me now, thanks:

 

root:/> echo mem > /sys/power/state

Syncing filesystems ... done.

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

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

Suspending console(s)

Restarting tasks ... done.

root:/> cat /proc/tty/

/proc/tty/driver/  /proc/tty/drivers  /proc/tty/ldisc/   /proc/tty/ldiscs

root:/> cat /proc/tty/driver/bfin-uart

serinfo:1.0 driver revision:

0: uart:BFIN-UART mmio:0xFFC00400 irq:18 tx:954 rx:45 CTS|DTR|DSR|CD

1: uart:BFIN-UART mmio:0xFFC02000 irq:20 tx:0 rx:0 CTS|DSR|CD

root:/>

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes