[#5781] In bf518f-ezbrd board 1.0, wake up from mem can not work

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

[#5781] In bf518f-ezbrd board 1.0, wake up from mem can not work

Submitted By: Vivi Li

Open Date

2009-12-17 05:36:37     Close Date

2010-01-03 22:38:08

Priority:

Medium High     Assignee:

Michael Hennerich

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2009R1-RC6     Release:

Category:

N/A     Board:

EZBRD

Processor:

BF518     Silicon Revision:

0.1

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.1_09r1.1-rc2

App binary format:

N/A     

Summary: In bf518f-ezbrd board 1.0, wake up from mem can not work

Details:

 

In bf518f-ezbrd board 1.0(silicon 0.1), wake up from mem can not work in 09r1 branch.

Pull down resistor is already applied.

 

Bellow is the log:

--

Linux version 2.6.28.10-ADI-2009R1.1-svn8032 (test@uclinux80-bf518f) (gcc version 4.1.2 (ADI svn)) #4 Thu Dec 17 08:28:09 CST 2009^M

bootconsole [early_shadow0] enabled^M

bootconsole [early_BFuart0] enabled^M

early printk enabled on early_BFuart0^M

Board Memory: 64MB^M

Kernel Managed Memory: 64MB^M

Memory map:^M

  fixedcode = 0x00000400-0x00000490^M

  text      = 0x00001000-0x0011e2e0^M

  rodata    = 0x0011e2e0-0x00173edc^M

  bss       = 0x00174000-0x00185098^M

  data      = 0x00185098-0x00196000^M

    stack   = 0x00194000-0x00196000^M

  init      = 0x00196000-0x007d6000^M

  available = 0x007d6000-0x03dff000^M

  DMA Zone  = 0x03e00000-0x04000000^M

Hardware Trace Active and Enabled^M

Boot Mode: 1^M

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

Compiled for ADSP-BF518 Rev 0.1^M

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

Processor Speed: 400 MHz core clock and 80 MHz System Clock^M

NOMPU: setting up cplb tables^M

Instruction Cache Enabled for CPU0^M

Data Cache Enabled for CPU0 (write-back)^M

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

Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf518f-ezbrd:eth0:off^M

Configuring Blackfin Priority Driven Interrupts^M

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

console [ttyBF0] enabled, bootconsole disabled^M

console [ttyBF0] enabled, bootconsole disabled^M

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

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

Memory available: 54892k/65536k RAM, (6400k init code, 1140k kernel code, 480k data, 2048k dma, 572k reserved)^M

Calibrating delay loop... 794.62 BogoMIPS (lpj=1589248)^M

Security Framework initialized^M

Mount-cache hash table entries: 512^M

Blackfin Scratchpad data SRAM: 4 KB^M

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

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

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

net_namespace: 288 bytes^M

NET: Registered protocol family 16^M

Blackfin DMA Controller^M

ezbrd_init(): registering device resources^M

NET: Registered protocol family 2^M

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)^M

TCP established hash table entries: 2048 (order: 2, 16384 bytes)^M

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)^M

TCP: Hash tables configured (established 2048 bind 2048)^M

TCP reno registered^M

NET: Registered protocol family 1^M

msgmni has been set to 107^M

io scheduler noop registered (default)^M

Serial: Blackfin serial driver^M

bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 29) is a BFIN-UART^M

brd: module loaded^M

bfin_mii_bus: probed^M

bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=15)@sclk=80MHz)^M

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

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

i2c /dev entries driver^M

i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base@ffc01400^M

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

Advanced Linux Sound Architecture Driver Version 1.0.18rc3.^M

ALSA device list:^M

  No soundcards found.^M

TCP cubic registered^M

NET: Registered protocol family 17^M

rtc-bfin rtc-bfin: setting system clock to 2004-05-31 10:53:30 UTC (1086000810)^M

dma_alloc_init: dma_page @ 0x03a82000 - 512 pages at 0x03e00000^M

IP-Config: Complete:^M

     device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,^M

     host=bf518f-ezbrd, domain=, nis-domain=(none),^M

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=^M

Freeing unused kernel memory: 6400k freed^M

                           _____________________________________^M

        a8888b.           / Welcome to the uClinux distribution \^M

       d888888b.         /       _     _                         \^M

       8P"YP"Y88        /       | |   |_|            __  __ (TM)  |^M

       8|o||o|88  _____/        | |    _ ____  _   _ \ \/ /       |^M

       8'    .88       \        | |   | |  _ \| | | | \  /        |^M

       8`._.' Y8.       \       | |__ | | | | | |_| | /  \        |^M

      d/      `8b.       \      \____||_|_| |_|\____|/_/\_\       |^M

     dP   .    Y8b.       \   For embedded processors including   |^M

    d8:'  "  `::88b        \    the Analog Devices Blackfin      /^M

   d8"         'Y88b        \___________________________________/^M

  :8P    '      :888^M

   8a.   :     _a88P         For further information, check out:^M

._/"Yaa_:   .| 88P|            - http://blackfin.uclinux.org/^M

\    YP"    `| 8P  `.          - http://docs.blackfin.uclinux.org/^M

/     \.___.d|    .'           - http://www.uclinux.org/^M

`--..__)8888P`._.'  jgs/a:f    - http://www.analog.com/blackfin^M

^M

Have a lot of fun...^M

^M

^M

BusyBox v1.13.4 (2009-12-17 08:24:41 CST) built-in shell (msh)^M

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

^M

root:/> vePHY: 0:01 - Link is Up - 100/Full^M

rsion^M

kernel:    Linux release 2.6.28.10-ADI-2009R1.1-svn8032, build #4 Thu Dec 17 08:28:09 CST 2009^M

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

user-dist: release svn-9277, build #53 Thu Dec 17 08:27:18 CST 2009^M

root:/>

root:/> rtcwake -s 10 -m mem^M

wakeup from "mem" at Mon May 31 10:54:09 2004^M

PM: Syncing filesystems ... done.^M

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

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

Suspending console(s) (use no_console_suspend to debug)^M

(can not wake up here)

--

 

With bf518f-ezbrd board 0.2(silicon 0.0), wake up from mem can work.

--

root:/> rtcwake -s 10 -m mem

wakeup from "mem" at Fri Feb 14 10:27:42 2003

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:03 - Link is Down

Restarting tasks ... done.

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

root:/>

root:/> version

kernel:    Linux release 2.6.28.10-ADI-2009R1.1-svn8034, build #19 Thu Dec 17 18:00:20 GMT-8 2009

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

user-dist: release svn-9280, build #8 Thu Dec 17 17:58:03 GMT-8 2009

root:/>

--

 

Follow-ups

 

--- Michael Hennerich                                        2009-12-18 07:36:05

Fixed in trunk and 2009R1 branch

Avoid MEMDMA error during suspend

BF518 Instruction SRAM is 32kB and not 48kB

 

I have a BF518-EZBRD V1.0 with a YAMACHI IC149 type QFP Socket.

On this board the RTC oscillator sometimes fails to startup.

 

--- Vivi Li                                                  2010-01-03 22:38:15

OK in both trunk and branch.

Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.power    application/octet-stream    31471    Vivi Li

Attachments

Outcomes