[#7102] PM: wake up from mem fail in bf538/bf518/bf526
Submitted By: Vivi Li
Open Date
2012-05-08 05:09:51 Close Date
2012-05-31 23:26:25
Priority:
Medium Assignee:
steven miao
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
N/A
Processor:
BF538 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
gcc4.3-2012_Feb_15
App binary format:
N/A
Summary: PM: wake up from mem fail in bf538/bf518/bf526
Details:
Wake up from mem fail in bf538-ezkit in latest trunk.
The same problem exists in BF518F-EZBRD and BF526-EZBRD.
First failed time: 2012_Apr_21_14_29
--
kernel: Linux release 3.3.0-ADI-2012R1-pre-00579-gf724383, build #12 Sun Apr 22 03:32:43 CST 2012
toolchain: bfin-uclinux-gcc release gcc version 4.3.5 (ADI-trunk/svn-5764)
user-dist: release svn-10658, build #133 Sun Apr 22 03:31:06 CST 2012
--
Last passed time: 2012_Apr_20_10_09
--
kernel: Linux release 3.3.0-ADI-2012R1-pre-00365-g9211842, build #6 Fri Apr 20 23:02:04 CST 2012
toolchain: bfin-uclinux-gcc release gcc version 4.3.5 (ADI-trunk/svn-5764)
user-dist: release svn-10655, build #52 Fri Apr 20 23:00:31 CST 2012
--
Bellow is the error log:
--
Linux version 3.3.0-ADI-2012R1-pre-00618-g1435969 (test@uclinux70-bf538) (gcc version 4.3.5 (ADI-trunk/svn-5764) ) #84 Tue May 8 03:15:17 CST 2012
register early platform devices
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-0x001356d0
rodata = 0x001356d0-0x00199c6c
bss = 0x0019a000-0x001a9ed8
data = 0x001a9ed8-0x001be000
stack = 0x001bc000-0x001be000
init = 0x001be000-0x0074d000
available = 0x0074d000-0x03f00000
DMA Zone = 0x03f00000-0x04000000
Hardware Trace active and enabled
Boot Mode: 0
Reset caused by Software reset
Blackfin support (C) 2004-2010 Analog Devices, Inc.
Compiled for ADSP-BF538 Rev 0.4
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: 16002
Kernel command line: root=/dev/mtdblock0 rw ip=10.100.4.50 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf538f-ezkit:eth0:off
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: 56428k/65536k RAM, (5692k init code, 1233k kernel code, 547k data, 1024k dma, 612k reserved)
NR_IRQS:119
Configuring Blackfin Priority Driven Interrupts
start_kernel(): bug: interrupts were enabled early
console [ttyBF0] enabled, bootconsole disabled
console [ttyBF0] enabled, bootconsole disabled
Calibrating delay loop... 1044.48 BogoMIPS (lpj=2088960)
pid_max: default: 32768 minimum: 301
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: 64 KB (51 KB free)
NET: Registered protocol family 16
gpiochip_add: registered GPIOs 0 to 15 on device: BFIN-GPIO
Blackfin DMA Controller
gpiochip_add: registered GPIOs 16 to 25 on device: GPIO-PC
gpiochip_add: registered GPIOs 32 to 45 on device: GPIO-PD
gpiochip_add: registered GPIOs 48 to 63 on device: GPIO-PE
ezkit_init(): registering device resources
bio: create slab <bio-0> at 0
Switching to clocksource bfin_cs_cycles
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
debug-mmrs: setting up Blackfin MMR debugfs
msgmni has been set to 110
io scheduler noop registered (default)
bfin-uart: Blackfin serial driver
bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 21) is a BFIN-UART
bfin-uart.1: ttyBF1 at MMIO 0xffc02000 (irq = 48) is a BFIN-UART
bfin-uart.2: ttyBF2 at MMIO 0xffc02100 (irq = 50) is a BFIN-UART
brd: module loaded
smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <nico@fluxnic.net>
eth0: SMC91C11xFD (rev 2) at 20310300 IRQ 71 [nowait]
eth0: Ethernet addr: 00:e0:22:fe:bc:8b
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
TCP cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 2004-05-31 16:19:19 UTC (1086020359)
smc91x smc91x.0: eth0: link down
smc91x smc91x.0: eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
IP-Config: Complete:
device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,
host=bf538f-ezkit, domain=, nis-domain=(none),
bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=
dma_alloc_init: dma_page @ 0x02791000 - 256 pages at 0x03f00000ýFreeing unused kernel memory: 5692k 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 - https://www.analog.com/blackfin
Have a lot of fun...
BusyBox v1.18.4 (2012-05-08 03:10:00 CST) hush - the humble shell
root:/>
root:/> ping 10.100.4.174 -c 5
PING 10.100.4.174 (10.100.4.174): 56 data bytes
64 bytes from 10.100.4.174: seq=0 ttl=64 time=0.524 ms
64 bytes from 10.100.4.174: seq=1 ttl=64 time=0.240 ms
64 bytes from 10.100.4.174: seq=2 ttl=64 time=0.244 ms
64 bytes from 10.100.4.174: seq=3 ttl=64 time=0.237 ms
64 bytes from 10.100.4.174: seq=4 ttl=64 time=0.247 ms
--- 10.100.4.174 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0.237/0.298/0.524 ms
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 wakeup_count
root:/>
root:/> rtcwake -s 10 -m mem
wakeup from "mem" at Mon May 31 16:19:58 2004
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)
(can not wake up now)
--
Follow-ups
--- steven miao 2012-05-29 05:46:58
using MDMA0 on bf5xx
--- Vivi Li 2012-06-01 00:26:36
OK now. Close it.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.power application/octet-stream 38763 Vivi Li