power tftlcd fails on bf548 while power core and tftlcd both passes. this case pass on bf527/bf537. It's not the short wait time issue.
Image Name: bf548-0.2-3.16.0-ADI-2014R1-pre-
Created: 2014-09-02 2:51:58 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 5408043 Bytes = 5.2 MiB
Load Address: 00001000
Entry Point: 0033df1c
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 0033df1c
Linux version 3.16.0-ADI-2014R1-pre-00411-g97bf365-dirty (test@uclinux61-bf548-std) (gcc version 4.3.5 (ADI-master/git-a2bfd7b) ) #4 Tue Sep 2 10:51:48 CST 2014
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-0x0022a1d8
rodata = 0x0022a1d8-0x002ebadc
bss = 0x002ec000-0x003031f8
data = 0x00303200-0x00334000
stack = 0x00332000-0x00334000
init = 0x00334000-0x006c0000
available = 0x006c0000-0x03e00000
DMA Zone = 0x03e00000-0x04000000
Hardware Trace active and enabled
Boot Mode: 1
Reset caused by Software reset
Blackfin support (C) 2004-2010 Analog Devices, Inc.
Compiled for ADSP-BF548 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
L2 SRAM : uncacheable in instruction cache
Data Cache Enabled for CPU0
External memory: cacheable (write-through) in data cache
L2 SRAM : uncacheable in data cache
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 15748
Kernel command line: root=/dev/mtdblock0 rw ip=10.100.4.50 earlyprintk=serial,uart1,57600 console=ttyBF1,57600 ip=10.100.4.50:10.100.4.174:192.168.0.1:255.255.255.0:bf548-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: 55968K/63488K available (2212K kernel code, 195K rwdata, 774K rodata, 3632K init, 92K bss, 7520K reserved, 2048K DMA)
NR_IRQS:295
Configuring Blackfin Priority Driven Interrupts
Console: colour dummy device 80x25
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)
Blackfin L2 SRAM: 128 KB (128 KB free)
pinctrl core: initialized pinctrl subsystem
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@4
bfin-spi bfin-spi.1: master is unqueued, this is deprecated
bfin-spi bfin-spi.1: Blackfin on-chip SPI Controller Driver, Version 1.0, regs@ffc02300, dma channel@5
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@ffc00700
i2c-bfin-twi i2c-bfin-twi.1: Blackfin on-chip I2C TWI Contoller, regs_base@ffc02200
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 109
io scheduler noop registered (default)
bfin-uart: Blackfin serial driver
bfin-uart.1: ttyBF1 at MMIO 0xffc02000 (irq = 48, 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
physmap platform flash device: 02000000 at 20000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x00881e
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Using buffer write method
Using auto-unlock on power-up/resume
cfi_cmdset_0001: Erase suspend on write enabled
Creating 5 MTD partitions on "physmap-flash.0":
0x000000000000-0x000000080000 : "bootloader(nor)"
0x000000080000-0x000000480000 : "linux kernel(nor)"
0x000000480000-0x000000fe0000 : "file system(nor)"
0x000000fe0000-0x000000ff8000 : "config(nor)"
0x000000ff8000-0x000001000000 : "u-boot env(nor)"
m25p80 spi0.76: m25p16 (2048 Kbytes)
Creating 2 MTD partitions on "m25p80":
0x000000000000-0x000000080000 : "bootloader(spi)"
0x000000080000-0x000000200000 : "linux kernel(spi)"
bf5xx-nand bf5xx-nand.0: data_width=8, wr_dly=3, rd_dly=3
nand: device found, Manufacturer ID: 0x20, Chip ID: 0xda
nand: ST Micro NAND 256MiB 3,3V 8-bit
nand: 256MiB, SLC, page size: 2048, OOB size: 64
Creating 3 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x000000000000-0x000000080000 : "bootloader(nand)"
0x000000080000-0x000000480000 : "linux kernel(nand)"
0x000000480000-0x000010000000 : "file system(nand)"
libphy: smsc911x-mdio: probed
smsc911x smsc911x.0 eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=smsc911x-0:01, irq=-1)
smsc911x smsc911x.0 eth0: MAC Address: 00:e0:22:fe:bf:4e
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: bf54x-keys as /devices/platform/bf54x-keys/input/input0
rtc (null): invalid alarm value: 1900-1-31 0:0:0
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
i2c /dev entries driver
bfin_wdt: initialized: timeout=20 sec (nowayout=0)
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
bfin-ac97 bfin-ac97.0: dma rx:0 tx:1, err irq:10, regs:ffc00800
soc-audio soc-audio: ASoC: machine bfin-ad1980 should use snd_soc_register_card()
AD1980 SoC Audio Codec
dma_alloc_init: dma_page @ 0x02a7f000 - 512 pages at 0x03e00000
soc-audio soc-audio: ad1980-hifi <-> bfin-ac97.0 mapping ok
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 05:56:07 UTC (1085982967)
smsc911x smsc911x.0 eth0: SMSC911x/921x identified at 0x24000000, IRQ: 175
IP-Config: Gateway not on directly connected network
ALSA device list:
#0: bfin-ad1980
Freeing unused kernel memory: 3632K (00334000 - 006c0000)
BusyBox v1.22.1 (2014-09-01 14:42:26 CST) hush - the humble shell
root:/>successful boot attempt ifconfig eth0 10.100.4.50
root:/> Ethernet may has been activated already!
random: nonblocking pool is initialized
version
kernel: Linux release 3.16.0-ADI-2014R1-pre-00411-g97bf365-dirty, build #4 Tue Sep 2 10:51:48 CST 2014
toolchain: /home/test/workspace/src/kernel/label/BF548-EZKIT-STD/output/host/usr/bin/bfin-uclinux-gcc release gcc version 4.3.5 (ADI-master/git-a2bfd7b)
user-dist: release git-2fdfff1, build #2 Tue Sep 2 10:45:59 CST 2014
root:/>
Linux version: 3.16.0-ADI-2014R1-pre-00411-g97bf365-dirty
GCC version: 4.3.5 (ADI-master/git-a2bfd7b)
user-dist version: git-2fdfff1
** STEP 3: Start testing
root:/> modprobe bf54x_lq043fb
bf54x-lq043: FrameBuffer initializing...
musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -517
platform musb-hdrc.0.auto: Driver musb-hdrc requests probe deferral
root:/> lsmod
Module Size Used by
bf54x_lq043fb 3227 0
cfbfillrect 2779 1 bf54x_lq043fb
cfbcopyarea 2503 1 bf54x_lq043fb
cfbimgblt 1480 1 bf54x_lq043fb
root:/>
ase 1 ...PASS
Case 1 ...PASS
6nvideo_test
Case 2 ...PASS
Case 2 ...PASS
^C
root:/>
Case 3 ...PASS
Case 3 ...PASS
cat /proc/mounts
rootfs / rootfs rw 0 0
devtmpfs /dev devtmpfs rw,relatime,mode=0755 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 tmpfs rw,relatime 0 0
tmp /tmp tmpfs rw,nosuid,nodev,relatime,mode=777 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
root:/>
Case 4 ...PASS
Case 4 ...PASS
ls /sys/power
pm_async pm_freeze_timeout state wakeup_count
root:/>
Case 5 ...PASS
Case 5 ...PASS
spawn /bin/bash
/power_tftlcd$ su548-std:~/workspace/src/kernel/label/BF548-EZKIT-STD/testsuites/
Password:
estsuites/power_tftlcd# :/home/test/workspace/src/kernel/label/BF548-EZKIT-STD/te
Case 6 ...PASS
Case 6 ...PASS
[6n
root:/> rtcwake -s 15 -m mem
wakeup from "mem" at Mon May 31 05:57:23 2004
PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.040 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.008 seconds) done.
Suspending console(s) (use no_console_suspend to debug)
Test case 1: Wake up fail
Last passed time: 2014-07-07_15-23-52
User-dist commit 22f85cde9552525b0eef5f766bd2408d9dc088b4
Kernel commit d490e500e2d358120319f4456068c865b37023bb
Testsuites commit df76cd6f47e58771a58dafd79a3c40367c884572
Case 8 ...FAIL
Case 8 ...FAIL
POWER TFTLCD TEST (mem) FAIL
POWER TFTLCD TEST (mem) ............[FAIL]
Test Period is: 140 seconds.
this issue may related to bug 247 which also fails to wake up after rtcwake.
Disable USB then the power tftlcd case can pass.
this also happens to bf527 board after Sep 10 on master head.