all power related tests fail on bf527 ezkit as it can not wake up.
Linux version: 3.10.10-ADI-2013R1-02013-RC2
GCC version: 4.3.5 (ADI-master/git-a2bfd7b)
user-dist version: git-2e7df81
User-dist commit 2e7df81b4985ba6f112742a8e799af05c855fc9a
Kernel commit 31d7b760fc201006e2a6e420a0307d1aeba4b398
Testsuites commit e44f6f0cf84ce8a68b7deccb439de7c6c47526a6
--
--
Linux version 3.15.0-ADI-2014R1-pre-00348-gd899d99-dirty (test@uclinux60-bf527-std) (gcc version 4.3.5 (ADI-master/git-a2bfd74
register early platform devices
bootconsole [early_shadow0] enabled
bootconsole [early_BFuart1] enabled
early printk enabled on early_BFuart1
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x001e2058
rodata = 0x001e2058-0x00285fb8
bss = 0x00286000-0x0029e9d0
data = 0x0029e9e0-0x002c4000
stack = 0x002c2000-0x002c4000
init = 0x002c4000-0x005fd000
available = 0x005fd000-0x03f00000
DMA Zone = 0x03f00000-0x04000000
Hardware Trace active and enabled
Boot Mode: 9
Reset caused by Software reset
Blackfin support (C) 2004-2010 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
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 clkin_hz=25000000 earlyprintk=serial,uart1,57600 console=tty0 console=ttyBF1,5760f
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: 57772K/64512K available (1924K kernel code, 149K rwdata, 655K rodata, 3300K init, 98K bss, 6740K reserved, 1024K DMA)
NR_IRQS:159
Configuring Blackfin Priority Driven Interrupts
Console: colour dummy device 80x25
console [tty0] enabled
Calibrating delay loop... 1044.48 BogoMIPS (lpj=2088960)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
devtmpfs: initialized
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: 48 KB (42 KB free)
NET: Registered protocol family 16
Blackfin DMA Controller
ezkit_init(): registering device resources
SCSI subsystem initialized
bfin-spi bfin-spi.0: master is unqueued, this is deprecated
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs@ffc00500, dma channel@7
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c-bfin-twi i2c-bfin-twi.0: Blackfin on-chip I2C TWI Contoller, regs_base@ffc01400
Advanced Linux Sound Architecture Driver Initialized.
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
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 112
io scheduler noop registered (default)
dma_alloc_init: dma_page @ 0x028ae000 - 256 pages at 0x03f00000
Console: switching to colour frame buffer device 40x30
bfin-lq035q1 bfin-lq035q1: 320x240 16-bit RGB FrameBuffer initialized
bfin-uart: Blackfin serial driver
bfin-uart.1: ttyBF1 at MMIO 0xffc02000 (irq = 31, base_baud = 8203125) is a BFIN-UART
console [ttyBF1] enabled
console [ttyBF1] enabled
bootconsole [early_BFuart1] disabled
bootconsole [early_BFuart1] disabled
bootconsole [early_shadow0] disabled
bfin-otp: initialized
brd: module loaded
m25p80 spi0.1: m25p16 (2048 Kbytes)
Creating 2 MTD partitions on "m25p80":
0x000000000000-0x000000040000 : "bootloader(spi)"
0x000000040000-0x000000200000 : "linux kernel(spi)"
libphy: bfin_mii_bus: probed
bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=bfin_mii_bus-0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=25)@sclk=1)
bfin_mac bfin_mac.0 eth0: Blackfin on-chip Ethernet MAC driver, Version 1.1
usbcore: registered new interface driver usb-storage
musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -517
platform musb-hdrc.0.auto: Driver musb-hdrc requests probe deferral
input: adp5520-keys as /devices/platform/i2c-bfin-twi.0/i2c-0/0-0032/adp5520-keys.5520/input/input0
ad7879 0-002c: Failed to write AD7879 Touchscreen
ad7879: probe of 0-002c failed with error -1
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
bfin_wdt: initialized: timeout=20 sec (nowayout=0)
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
bfin-i2s bfin-i2s.0: dma rx:3 tx:4, err irq:15, regs:ffc00800
soc-audio soc-audio: ASoC: machine bfin-ssm2602 should use snd_soc_register_card()
ssm2602 0-001b: Failed to issue reset: -5
ssm2602 0-001b: ASoC: failed to probe CODEC -5
soc-audio soc-audio: ASoC: failed to instantiate card -5
soc-audio: probe of soc-audio failed with error -5
TCP: cubic registered
NET: Registered protocol family 17
musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -517
platform musb-hdrc.0.auto: Driver musb-hdrc requests probe deferral
rtc-bfin rtc-bfin: setting system clock to 2004-05-31 12:12:30 UTC (1086005550)
IP-Config: Complete:
device=eth0, hwaddr=00:e0:22:fe:c2:c0, ipaddr=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=
ALSA device list:
No soundcards found.
Freeing unused kernel memory: 3300K (002c4000 - 005fd000)
BusyBox v1.22.1 (2014-06-19 03:39:02 CST) hush - the humble shell
root:/> bfin_mac bfin_mac.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
random: nonblocking pool is initialized
root:/> version
kernel: Linux release 3.15.0-ADI-2014R1-pre-00348-gd899d99-dirty, build #4 Thu Jun 19 03:44:46 CST 2014
toolchain: /home/test/workspace/src/kernel/label/BF527-EZKIT-STD/output/host/usr/bin/bfin-uclinux-gcc release gcc version 4.3
user-dist: release git-06692f9, build #1 Wed Jun 18 15:06:54 CST 2014
root:/>
root:/> rtcwake -s 15 -m mem
wakeup from "mem" at Mon May 31 12:25:01 2004
PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.072 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.004 seconds) done.
Suspending console(s) (use no_console_suspend to debug)
--
It seems rtcwake can work on head now.
root:/> rtcwake -s 10 -m mem
wakeup from "mem" at Sat Aug 15 10:17:48 1970
PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.076 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.008 seconds) done.
Suspending console(s) (use no_console_suspend to debug)
PM: suspend of devices complete after 320.000 msecs
PM: late suspend of devices complete after 0.001 msecs
PM: noirq suspend of devices complete after 0.001 msecs
PM: noirq resume of devices complete after 0.001 msecs
PM: early resume of devices complete after 0.001 msecs
PM: resume of devices complete after 0.001 msecs
Restarting tasks ... done.
root:/> bfin_mac bfin_mac.0 eth0: Link is Down
random: nonblocking pool is initialized
bfin_mac bfin_mac.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
OK, close it.