[#5402] bf527-ezkit can not wake up when LCD driver is module

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

[#5402] bf527-ezkit can not wake up when LCD driver is module

Submitted By: Vivi Li

Open Date

2009-07-28 07:12:15     Close Date

2009-09-28 04:34:00

Priority:

Medium High     Assignee:

Michael Hennerich

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2009R1-RC6     Release:

Category:

Drivers     Board:

EZKIT Lite

Processor:

BF527     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.1_2009r1-rc9

App binary format:

N/A     

Summary: bf527-ezkit can not wake up when LCD driver is module

Details:

 

When LCD driver is built as module, do not install this module after kernel boot up, then run rtcwake, bf527-ezkit can not wake up from standby or mem.

 

If the module is installed, it can wake up.

 

--

Linux version 2.6.28.10-ADI-2009R1-svn7083 (test@uclinux60-bf527-std) (gcc version 4.1.2 (ADI svn)) #40 Tue Jul 28 11:06:42 CST 9

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x0012bab0

  rodata    = 0x0012bab0-0x00188588

  bss       = 0x00189000-0x0019a2a0

  data      = 0x0019a2a0-0x001ac000

    stack   = 0x001aa000-0x001ac000

  init      = 0x001ac000-0x0093e000

  available = 0x0093e000-0x03dff000

  DMA Zone  = 0x03e00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 9

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

Compiled for ADSP-BF527 Rev 0.0

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

Data Cache Enabled for CPU0 (write-back)

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 15747

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart1,57600 console=tty0 console=ttyBF0,57600 if

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 256 (order: 8, 1024 bytes)

console handover:boot [early_BFuart0] boot [early_shadow0]  -> real [ttyBF0]

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory available: 53452k/65536k RAM, (7752k init code, 1194k kernel code, 514k data, 2048k dma, 572k reserved)

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 (15 KB free)

Blackfin L1 Data B SRAM: 16 KB (16 KB free)

Blackfin L1 Instruction SRAM: 48 KB (42 KB free)

net_namespace: 288 bytes

NET: Registered protocol family 16

Blackfin DMA Controller

ezkit_init(): registering device resources

SCSI subsystem initialized

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

NET: Registered protocol family 1

msgmni has been set to 104

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

bfin-otp: initialized

Serial: Blackfin serial driver

bfin-uart.1: ttyBF0 at MMIO 0xffc02000 (irq = 31) is a BFIN-UART

brd: module loaded

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

Driver \'sd\' needs updating - please use bus_type methods

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

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

Advanced Linux Sound Architecture Driver Version 1.0.18rc3.

ALSA device list:

  No soundcards found.

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 1970-01-01 10:56:10 UTC (39370)

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: 7752k freed

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

                           _____________________________________

        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.13.4 (2009-07-28 11:04:40 CST) built-in shell (msh)

Enter \'help\' for a list of built-in commands.

 

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

rtcwake -s 15 -m standby

wakeup from \"standby\" at Thu Jan  1 10:56:36 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)

--

 

Follow-ups

 

--- Michael Hennerich                                        2009-07-28 10:28:15

Works ok for me - can you reliably reproduce this issue?

What happens if you wait - doesn't the watchdog fire?

Using latest u-boot are there any panic messages printed if you hit reset?

 

I could imagine that the u-boot splash screen is going to cause trouble,

because the PPI DMA is still running in case the fb driver is not loaded during

boot.

 

 

 

root:/> ls /dev/fb*                                                        

                                         

ls: /dev/fb*: No such file or directory                                       

                                      

                                                                              

                            

root:/> lsmod                                                              

                                         

Module                  Size  Used by                                         

                                      

hid_tmff                3020  0                                               

                                      

hid_zpff                2168  0                                               

                                      

ff_memless              3732  2 hid_tmff,hid_zpff                             

                                      

 

root:/> rtcwake -mmem -s15                                                 

                                         

wakeup from "mem" at Wed May  6 12:54:43 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:/> rtcwake -mstandby -s15

wakeup from "standby" at Wed May  6 12:56:12 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:/>

 

root:/> version

kernel:    Linux release 2.6.28.10-ADI-2009R1-svn7086, build #244 Tue Jul 28

15:53:16 CEST 2009

toolchain: bfin-uclinux-gcc release gcc version 4.1.2 (ADI svn)

user-dist: release svn-8370, build #123 Tue Jul 28 15:52:44 CEST 2009

 

root:/> cat /proc/cpuinfo

processor       : 0

vendor_id       : Analog Devices

cpu family      : 0x27e0

model name      : ADSP-BF527 525(MHz CCLK) 131(MHz SCLK) (mpu off)

stepping        : 2

cpu MHz         : 525.000/131.250000

bogomips        : 1046.52

Calibration     : 523264000 loops

cache size      : 16 KB(L1 icache) 32 KB(L1 dcache-wb) 0 KB(L2 cache)

dbank-A/B       : cache/cache

icache setup    : 4 Sub-banks/4 Ways, 32 Lines/Way

dcache setup    : 2 Super-banks/4 Sub-banks/2 Ways, 64 Lines/Way

board name      : ADI BF527-EZKIT

board memory    : 65536 kB (0x00000000 -> 0x04000000)

kernel memory   : 64504 kB (0x00001000 -> 0x03eff000)

 

--- Vivi Li                                                  2009-07-28 22:19:39

Did you build kernel with my config? As I can always see this bug here.

Sometimes kernel hangs after wake up.

 

--

root:/> version

kernel:    Linux release 2.6.28.10-ADI-2009R1-svn7084, build #79 Tue Jul 28

18:05:34 GMT 2009

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

user-dist: release svn-8591, build #16 Tue Jul 28 18:04:58 GMT 2009

root:/> cat /proc/cpuinfo

processor       : 0

vendor_id       : Analog Devices

cpu family      : 0x27e0

model name      : ADSP-BF527 525(MHz CCLK) 131(MHz SCLK) (mpu off)

stepping        : 0

cpu MHz         : 525.000/131.250000

bogomips        : 1046.52

Calibration     : 523264000 loops

cache size      : 16 KB(L1 icache) 32 KB(L1 dcache-wb) 0 KB(L2 cache)

dbank-A/B       : cache/cache

icache setup    : 4 Sub-banks/4 Ways, 32 Lines/Way

dcache setup    : 2 Super-banks/4 Sub-banks/2 Ways, 64 Lines/Way

board name      : ADI BF527-EZKIT

board memory    : 65536 kB (0x00000000 -> 0x04000000)

kernel memory   : 63480 kB (0x00001000 -> 0x03dff000)

root:/>

root:/> rtcwake -s 15 -m standby

wakeup from "standby" at Sun Jan  4 07:53:27 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)

Restarting tasks ... done.

rto/: >PHY: 0:01 - Link is Down

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

(hang up...)

--

 

--- Vivi Li                                                  2009-07-28 22:55:06

I attch two config for silicon rev 0.0 and 0.2

 

--- Michael Hennerich                                        2009-07-29 04:29:39

Hi Vivi,

 

Yes I used your configs.

And tried on two different BF527-EZKITS (with 0.0 and 0.2)

 

I assume your boards feature the SCKE pull down?

 

What happens if you wait - doesn't the watchdog fire?

Can you enable CONFIG_PM_DEBUG and CONFIG_PM_VERBOSE just to see where it might

hang?

 

-Michael

 

--- Vivi Li                                                  2009-07-30 07:46:31

Yes, SCKE pull down resistor is placed.

I enabled CONFIG_PM_DEBUG and CONFIG_PM_VERBOSE, it shows no extra message.

I attach my image here, so you can have a try.

 

--- Michael Hennerich                                        2009-08-05 04:17:47

Hi Vivi,

 

Your image works 100% for me see below...

I wonder if not simply your test script is hung?

- Because it doesn't see "root:/>"?

When you see "PHY: 0:01 - Link is Up - 100/Full" send ENTER and you

get to your PROMPT.

 

root:/> rtcwake -s10 -mmem

wakeup from "mem" at Thu Jan  1 21:56:48 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)

Restarting tasks ... done.

PHY: 0:01 - Link is Down

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

<---- Hit ENTER

root:/>

root:/>

 

root:/> dmesg

Linux version 2.6.28.10-ADI-2009R1-svn7091 (test@uboot30-527ezkit) (gcc version

4.1.2 (ADI svn)) #94 Thu Jul 30 19:06:9

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x0012b400

  rodata    = 0x0012b400-0x0018810c

  bss       = 0x00189000-0x0019a2a4

  data      = 0x0019a2a4-0x001ac000

    stack   = 0x001aa000-0x001ac000

  init      = 0x001ac000-0x006ab000

  available = 0x006ab000-0x03dff000

  DMA Zone  = 0x03e00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 1

Blackfin support (C) 2004-2009 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

boot memmap: 00000000006ab000 - 0000000003dff000 (usable)

On node 0 totalpages: 15871

free_area_init_node: node 0, pgdat 001a849c, node_mem_map 006ad000

  DMA zone: 124 pages used for memmap

  DMA zone: 0 pages reserved

  DMA zone: 15747 pages, LIFO batch:3

  Normal zone: 0 pages used for memmap

  Movable zone: 0 pages used for memmap

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

Data Cache Enabled for CPU0 (write-back)

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 15747

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000

earlyprintk=serial,uart1,57600 console=tty0 console=ttyBf

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 256 (order: 8, 1024 bytes)

console handover:boot [early_BFuart0] boot [early_shadow0]  -> real

[ttyBF0]

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Kernel managed physical pages: 15871

Memory available: 56088k/65536k RAM, (5116k init code, 1193k kernel code, 515k

data, 2048k dma, 572k reserved)

Calibrating delay loop... 1046.52 BogoMIPS (lpj=2093056)

Security Framework initialized

Mount-cache hash table entries: 512

PM: Adding info for No Bus:platform

Blackfin Scratchpad data SRAM: 4 KB

Blackfin L1 Data A SRAM: 16 KB (15 KB free)

Blackfin L1 Data B SRAM: 16 KB (16 KB free)

Blackfin L1 Instruction SRAM: 48 KB (42 KB free)

net_namespace: 288 bytes

NET: Registered protocol family 16

Blackfin DMA Controller

ezkit_init(): registering device resources

PM: Adding info for platform:bfin dpmc.0

PM: Adding info for platform:rtc-bfin

PM: Adding info for platform:bfin_mii_bus.0

PM: Adding info for platform:bfin_mac.0

PM: Adding info for platform:bfin-spi.0

PM: Adding info for platform:bfin-t350mcqb

PM: Adding info for platform:bfin-uart.1

PM: Adding info for platform:bfin_sir.0

PM: Adding info for platform:i2c-bfin-twi.0

PM: Adding info for platform:simple-gpio

PM: Adding info for No Bus:default

SCSI subsystem initialized

PM: Adding info for No Bus:mem

PM: Adding info for No Bus:null

PM: Adding info for No Bus:zero

PM: Adding info for No Bus:full

PM: Adding info for No Bus:random

PM: Adding info for No Bus:urandom

PM: Adding info for No Bus:kmsg

PM: Adding info for No Bus:lo

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

NET: Registered protocol family 1

Setting up Blackfin MMR debugfs

msgmni has been set to 109

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

PM: Adding info for No Bus:tty

PM: Adding info for No Bus:console

PM: Adding info for No Bus:ptmx

PM: Adding info for No Bus:bfin-otp

bfin-otp: initialized

Serial: Blackfin serial driver

bfin-uart.1: ttyBF0 at MMIO 0xffc02000 (irq = 31) is a BFIN-UART

PM: Adding info for No Bus:ttyBF0

PM: Adding info for No Bus:ram0

PM: Adding info for No Bus:1:0

PM: Adding info for No Bus:ram1

PM: Adding info for No Bus:1:1

PM: Adding info for No Bus:ram2

PM: Adding info for No Bus:1:2

PM: Adding info for No Bus:ram3

PM: Adding info for No Bus:1:3

PM: Adding info for No Bus:ram4

PM: Adding info for No Bus:1:4

PM: Adding info for No Bus:ram5

PM: Adding info for No Bus:1:5

PM: Adding info for No Bus:ram6

PM: Adding info for No Bus:1:6

PM: Adding info for No Bus:ram7

PM: Adding info for No Bus:1:7

PM: Adding info for No Bus:ram8

PM: Adding info for No Bus:1:8

PM: Adding info for No Bus:ram9

PM: Adding info for No Bus:1:9

PM: Adding info for No Bus:ram10

PM: Adding info for No Bus:1:10

PM: Adding info for No Bus:ram11

PM: Adding info for No Bus:1:11

PM: Adding info for No Bus:ram12

PM: Adding info for No Bus:1:12

PM: Adding info for No Bus:ram13

PM: Adding info for No Bus:1:13

PM: Adding info for No Bus:ram14

PM: Adding info for No Bus:1:14

PM: Adding info for No Bus:ram15

PM: Adding info for No Bus:1:15

brd: module loaded

PM: Adding info for No Bus:0

PM: Adding info for mdio_bus:0:01

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)

PM: Adding info for No Bus:eth0

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

Driver 'sd' needs updating - please use bus_type methods

PM: Adding info for No Bus:rtc0

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

PM: Adding info for platform:bfin-wdt

PM: Adding info for No Bus:watchdog

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

Advanced Linux Sound Architecture Driver Version 1.0.18rc3.

PM: Adding info for No Bus:timer

ALSA device list:

  No soundcards found.

TCP cubic registered

NET: Registered protocol family 17

PM: Adding info for No Bus:cpu_dma_latency

PM: Adding info for No Bus:network_latency

PM: Adding info for No Bus:network_throughput

rtc-bfin rtc-bfin: setting system clock to 1970-01-01 21:56:09 UTC (78969)

IP-Config: Gateway not on directly connected network.

Freeing unused kernel memory: 5116k freed

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

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

PM: Syncing filesystems ... done.

PM: Preparing system for mem sleep

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

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

PM: Entering mem sleep

Suspending console(s) (use no_console_suspend to debug)

platform bfin dpmc.0: preparing suspend

rtc-bfin rtc-bfin: preparing suspend, may wakeup

bfin_mii_bus bfin_mii_bus.0: preparing suspend

bfin_mac bfin_mac.0: preparing suspend

platform bfin-spi.0: preparing suspend

platform bfin-t350mcqb: preparing suspend

bfin-uart bfin-uart.1: preparing suspend

platform bfin_sir.0: preparing suspend

platform i2c-bfin-twi.0: preparing suspend

platform simple-gpio: preparing suspend

bfin-wdt bfin-wdt: preparing suspend

bfin-wdt bfin-wdt: suspend

rtc rtc0: legacy class suspend

Generic PHY 0:01: legacy suspend

platform simple-gpio: suspend

platform i2c-bfin-twi.0: suspend

platform bfin_sir.0: suspend

bfin-uart bfin-uart.1: suspend

platform bfin-t350mcqb: suspend

platform bfin-spi.0: suspend

bfin_mac bfin_mac.0: suspend

bfin_mii_bus bfin_mii_bus.0: suspend

rtc-bfin rtc-bfin: suspend, may wakeup

platform bfin dpmc.0: suspend

bfin-wdt bfin-wdt: LATE suspend

platform simple-gpio: LATE suspend

platform i2c-bfin-twi.0: LATE suspend

platform bfin_sir.0: LATE suspend

bfin-uart bfin-uart.1: LATE suspend

platform bfin-t350mcqb: LATE suspend

platform bfin-spi.0: LATE suspend

bfin_mac bfin_mac.0: LATE suspend

bfin_mii_bus bfin_mii_bus.0: LATE suspend

rtc-bfin rtc-bfin: LATE suspend, may wakeup

platform bfin dpmc.0: LATE suspend

platform bfin dpmc.0: EARLY resume

rtc-bfin rtc-bfin: EARLY resume

bfin_mii_bus bfin_mii_bus.0: EARLY resume

bfin_mac bfin_mac.0: EARLY resume

platform bfin-spi.0: EARLY resume

platform bfin-t350mcqb: EARLY resume

bfin-uart bfin-uart.1: EARLY resume

platform bfin_sir.0: EARLY resume

platform i2c-bfin-twi.0: EARLY resume

platform simple-gpio: EARLY resume

bfin-wdt bfin-wdt: EARLY resume

platform bfin dpmc.0: resume

rtc-bfin rtc-bfin: resume

bfin_mii_bus bfin_mii_bus.0: resume

bfin_mac bfin_mac.0: resume

platform bfin-spi.0: resume

platform bfin-t350mcqb: resume

bfin-uart bfin-uart.1: resume

platform bfin_sir.0: resume

platform i2c-bfin-twi.0: resume

platform simple-gpio: resume

Generic PHY 0:01: legacy resume

rtc rtc0: legacy class resume

bfin-wdt bfin-wdt: resume

bfin-wdt bfin-wdt: completing resume

platform simple-gpio: completing resume

platform i2c-bfin-twi.0: completing resume

platform bfin_sir.0: completing resume

bfin-uart bfin-uart.1: completing resume

platform bfin-t350mcqb: completing resume

platform bfin-spi.0: completing resume

bfin_mac bfin_mac.0: completing resume

bfin_mii_bus bfin_mii_bus.0: completing resume

rtc-bfin rtc-bfin: completing resumeBusyBox v1.13.4 (2009-07-30 18:58:11 GMT)

built-in shell (msh)

Enter 'help' for a list of built-in commands.

 

 

root:/> while :;do rtcwake -s10 -mmem;done

wakeup from "mem" at Thu Jan  1 21:59:43 1970

PM: Syncing filesystems ... done.

Freezing user space processes ... (elapsed 0.01 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

wakeup from "mem" at Thu Jan  1 22:00:04 1970

PM: Syncing filesystems ... done.

Freezing user space processes ... (elapsed 0.01 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

wakeup from "mem" at Thu Jan  1 22:00:25 1970

PM: Syncing filesystems ... done.

Freezing user space processes ... (elapsed 0.01 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

wakeup from "mem" at Thu Jan  1 22:00:46 1970

PM: Syncing filesystems ... done.

Freezing user space processes ... (elapsed 0.01 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

wakeup from "mem" at Thu Jan  1 22:01:07 1970

PM: Syncing filesystems ... done.

Freezing user space processes ... (elapsed 0.01 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

platform bfin dpmc.0: completing resume

PM: Finishing wakeup.

Restarting tasks ... done.

PHY: 0:01 - Link is Down

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

root:/>

 

--- Vivi Li                                                  2009-08-05 05:49:18

Have you tried wake up from standby mode?

 

I put a 10K resistor between 81 & 87.

My board NO. is 2.0 and silicon 0.2.

And what is your hardware configuration on bf527?

 

--- Vivi Li                                                  2009-08-05 05:49:31

Have you tried wake up from standby mode?

 

I put a 10K resistor between 81 & 87.

My board NO. is 2.0 and silicon 0.2.

And what is your hardware configuration on bf527?

 

--- Michael Hennerich                                        2009-08-05 08:29:24

Hi Vivi,

 

Yes I also test suspend standby.

Your image works 100% for me see below...

 

The SCKE Pull-Down is only required for hibernate/suspend mem.

But it doesn't hurt.

 

I tested on board Rev 1.4 with Silicon Rev 0.0 and 0.2.

 

I'm not aware of any hardware configuration that could cause this bug.

Now trying to find a 2.0 board here ...

 

-Michael 

 

 

root:/> while :;do rtcwake -s15 -m standby;done                            

                                         

wakeup from "standby" at Fri Jan  2 02:14:04 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                                             

                                      

kaue prfmo" tsnabd"ya  trF iaJ n2 0 :2412: 29107PM: 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                                             

                                      

awekpuf or ms"atdnyb "taF irJ na   2201::4041 790PM: 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                                             

                                      

                                                                              

                                      

kaue prfmo" tsnabd"ya  trF iaJ n2 0 :2415: 89107                    

                                                

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                                             

                                      

awekpuf or ms"atdnyb "taF irJ na   2201::5611 790PM: 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                                             

                                      

                                                                              

                                      

kaue prfmo" tsnabd"ya  trF iaJ n2 0 :2513: 49107                    

                                                

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                                             

                                      

awekpuf or ms"atdnyb "taF irJ na   2201::5251 790PM: 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                                             

                                      

                                                                              

                                      

kaue prfmo" tsnabd"ya  trF iaJ n2 0 :2611: 09107                    

                                                

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                                             

                                      

awekpuf or ms"atdnyb "taF irJ na   2201::6821 790PM: 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                                             

                                      

                                                                              

                                      

kaue prfmo" tsnabd"ya  trF iaJ n2 0 :2614: 69107                    

                                                

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                                             

                                      

awekpuf or ms"atdnyb "taF irJ na   2201::7401 790PM: 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                                             

                                      

                                                                              

                                      

kaue prfmo" tsnabd"ya  trF iaJ n2 0 :2712: 29107                    

                                                

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)                       

                                      

Restarting tasks ... done.                                                    

                                      

PHY: 0:01 - Link is Down                                                      

                                      

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

                                      

awekpuf or ms"atdnyb "taF irJ na   2201::7041 790PM: 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)

Restarting tasks ... done.

PHY: 0:01 - Link is Down

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

 

kaue prfmo" tsnabd"ya  trF iaJ n2 0 :2715: 89107

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)

Restarting tasks ... done.

PHY: 0:01 - Link is Down

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

0PM: Syncing filesystems ... done. 2201::8611 79

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

 

kaue prfmo" tsnabd"ya  trF iaJ n2 0 :2813: 49107

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

awekpuf or ms"atdnyb "taF irJ na   2201::8251 790PM: 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)

Yes

 

--- Michael Hennerich                                        2009-08-05 09:38:26

Hi Vivi,

 

I could recreate the issue on a brand new 2.0 EZKIT.

Now debugging ...

-Michael

 

--- Michael Hennerich                                        2009-08-07 03:50:09

I checked a patch into u-boot (branch 2009R1 and trunk):

 

In case there is no frame buffer driver present to handover the PPI LCD DMA

upon start kernel, the DMA initiated by u-boot to display the splash screen,

runs unattended. Therefore always stop the video driver in u-boot before

starting linux.

 

--- Vivi Li                                                  2009-08-11 03:41:08

I update the uboot and it works now.

 

--- Vivi Li                                                  2009-09-28 04:33:59

OK now. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.power_0.0    application/octet-stream    34280    Vivi Li

config.power_0.2    application/octet-stream    34239    Vivi Li

uImage.527_0.2_debug    application/octet-stream    3454490    Vivi Li

Outcomes