Menu

#148 all power related tests fail on bf609 ezkit as it can not wake up

master head
closed
None
high
fixed
BF609-EZKIT
2014-11-26
2014-03-04
panmingquan
No

power test fails on bf609 ezkit as it can not wake up.

Booting kernel from Legacy Image at 02000000 ...

Image Name: bf609-0.0-3.13.0-ADI-2014R1-pre
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 10194164 Bytes = 9.7 MiB
Load Address: 00001000
Entry Point: 002db95c
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 002db95c
Linux version 3.13.0-ADI-2014R1-pre (test@linux83-bf609-usbhost) (gcc version 4.3.5 (ADI-master/git-a2bfd7b) ) #4 Wed Feb 26 21:58:42 CST 2014
register early platform devices
bootconsole [early_shadow0] enabled
ERROR: Not running on ADSP-BF609: unknown CPUID 0x0000 Rev 0.0
bootconsole [early_BFuart0] enabled
early printk enabled on early_BFuart0
Board Memory: 128MB
Kernel Managed Memory: 128MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x001ef048
rodata = 0x001ef06c-0x00295ab4
bss = 0x00296000-0x002acaf8
data = 0x002acb00-0x002d8000
stack = 0x002d6000-0x002d8000
init = 0x002d8000-0x00b29000
available = 0x00b29000-0x07f00000
DMA Zone = 0x07f00000-0x08000000
Hardware Trace active and enabled
Blackfin support (C) 2004-2010 Analog Devices, Inc.
Compiled for ADSP-BF609 Rev 0.0
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 500 MHz core clock, 125 MHz SCLk, 125 MHz SCLK0, 125 MHz SCLK1 and 250 MHz DCLK
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-back) in data cache
L2 SRAM : uncacheable in data cache
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 32258
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:"bf609-ezkit":eth0:off
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 117452K/130048K available (1976K kernel code, 173K rwdata, 666K rodata, 8516K init, 90K bss, 12596K reserved, 1024K DMA)
NR_IRQS:291
Configuring Blackfin Priority Driven Interrupts
Console: colour dummy device 80x25
Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
devtmpfs: initialized
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (9 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 64 KB (49 KB free)
Blackfin L2 SRAM: 256 KB (256 KB free)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
Blackfin DMA Controller
ezkit_init(): registering device resources
bio: create slab <bio-0> at 0
SCSI subsystem initialized
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@ffc01e00
i2c-bfin-twi i2c-bfin-twi.1: Blackfin on-chip I2C TWI Contoller, regs_base@ffc01f00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
PTP clock support registered
NET: Registered protocol family 23
Switched to clocksource bfin_cs_cycles
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
msgmni has been set to 229
io scheduler noop registered (default)
bfin-uart: Blackfin serial driver
bfin-uart.0: ttyBF0 at MMIO 0xffc02000 (irq = 88, base_baud = 7812500) is a BFIN-UART
console [ttyBF0] enabled
console [ttyBF0] enabled
bootconsole [early_BFuart0] disabled
bootconsole [early_BFuart0] disabled
bootconsole [early_shadow0] disabled
physmap platform flash device: 01000000 at b0000000
physmap-flash physmap-flash.0: map_probe failed
m25p80 spi0.67: w25q32 (4096 Kbytes)
Creating 3 MTD partitions on "m25p80":
0x000000000000-0x000000080000 : "bootloader(spi)"
0x000000080000-0x000000200000 : "linux kernel(spi)"
0x000000200000-0x000000400000 : "file system(spi)"
CAN device driver interface
bfin_can bfin_can.0: bfin_can device registered(&reg_base=ffc00a00, rx_irq=47, tx_irq=48, err_irq=49, sclk=125000000)
stmmac - user ID: 0x10, Synopsys ID: 0x36
Ring mode enabled
DMA HW capability register supported
Enhanced/Alternate descriptors
Enabled extended descriptors
RX Checksum Offload Engine supported (type 2)
Wake-Up On Lan supported
Enable RX Mitigation via HW Watchdog Timer
libphy: stmmac: probed
eth0: PHY ID 20005c90 at 1 IRQ 0 (stmmac-0:01) active
usbcore: registered new interface driver usb-storage
input: bfin-rotary as /devices/platform/bfin-rotary/input/input0
i2c /dev entries driver
bfin_wdt: initialized: timeout=20 sec (nowayout=0)
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP: cubic registered
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
eth0: device MAC address 02:80:ad:20:31:e8
dma_alloc_init: dma_page @ 0x04d2a000 - 256 pages at 0x07f00000
IP-Config: Complete:
device=eth0, hwaddr=02:80:ad:20:31:e8, ipaddr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174
host="bf609-ezkit", domain=, nis-domain=(none)
bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=
Freeing unused kernel memory: 8516K (002d8000 - 00b29000)</bio-0>

BusyBox v1.21.1 (2014-02-26 21:55:34 CST) hush - the humble shell

root:/>successful boot attempt ifconfig ethlibphy: stmmac-0:01 - Link is Up - 100/Full
0 10.100.4.50
root:/> Ethernet may has been activated already!
version
kernel: Linux release 3.13.0-ADI-2014R1-pre, build #4 Wed Feb 26 21:58:42 CST 2014
toolchain: /home/test/workspace/src/kernel/label/BF609-EZKIT-USBHOST/output/host/usr/bin/bfin-linux-uclibc-gcc release gcc version 4.3.5 (ADI-master/git-a2bfd7b)
user-dist: release git-ce7c544, build #1 Wed Feb 26 07:53:00 CST 2014
root:/>
Linux version: 3.13.0-ADI-2014R1-pre
GCC version: 4.3.5 (ADI-master/git-a2bfd7b)
user-dist version: git-ce7c544

** STEP 3: Start testing

random: nonblocking pool is initialized

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=2.089 ms
64 bytes from 10.100.4.174: seq=1 ttl=64 time=1.014 ms
64 bytes from 10.100.4.174: seq=2 ttl=64 time=1.014 ms
64 bytes from 10.100.4.174: seq=3 ttl=64 time=1.009 ms
64 bytes from 10.100.4.174: seq=4 ttl=64 time=1.023 ms

--- 10.100.4.174 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 1.009/1.229/2.089 ms
root:/>
Case 1 ...PASS

Case 1 ...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 2 ...PASS

Case 2 ...PASS
ls /sys/power
pm_async pm_freeze_timeout state wakeup_count
root:/>
ase 3 ...PASS

Case 3 ...PASS
spawn /bin/bash
suites/power_ethernet$ sut:~/workspace/src/kernel/label/BF609-EZKIT-USBHOST/tests
Password:
root@linux83-bf609-usbhost:power_ethernet#
Case 4 ...PASS

Case 4 ...PASS
[6necho mem > /sys/power/state
PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.001 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Suspending console(s) (use no_console_suspend to debug)

Case 5 ...PASS

Case 5 ...PASS
reset_board 4
powering OFF board attached to printer port pin 4
powering ON board attached to printer port pin 4

Case 6 ...PASS

Case 6 ...PASS
Test case 1: Wake up fail
set ip 10.100.4.50 failed
Last passed time: 2013-12-18_19-27-20
User-dist commit 2e7df81b4985ba6f112742a8e799af05c855fc9a
Kernel commit 31d7b760fc201006e2a6e420a0307d1aeba4b398
Testsuites commit e44f6f0cf84ce8a68b7deccb439de7c6c47526a6

Case 8 ...FAIL

Case 8 ...FAIL

Discussion

  • Sonic Zhang

    Sonic Zhang - 2014-06-06
    • assigned_to: Steven Miao
     
  • Sonic Zhang

    Sonic Zhang - 2014-06-06
    • Resolution: none --> assigned
     
  • Vivi Li

    Vivi Li - 2014-06-25
    • summary: power ethernet test fails on bf609 ezkit --> all power related tests fail on bf609 ezkit as it can not wake up
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,4 @@
    -power ethernet test fails on bf609 ezkit.
    +power test fails on bf609 ezkit as it can not wake up.
    
     ## Booting kernel from Legacy Image at 02000000 ...
        Image Name:   bf609-0.0-3.13.0-ADI-2014R1-pre
    
     
  • Steven Miao

    Steven Miao - 2014-06-26
    • Resolution: assigned --> rejected
     
  • Steven Miao

    Steven Miao - 2014-06-26

    manual test on bf609-ezkit can pass

     
  • Vivi Li

    Vivi Li - 2014-06-27
    • Resolution: rejected --> assigned
     
  • Sonic Zhang

    Sonic Zhang - 2014-07-09
    • Priority: middle --> high
     
  • Steven Miao

    Steven Miao - 2014-07-16
    • Resolution: assigned --> fixed
     
  • Steven Miao

    Steven Miao - 2014-07-16

    drop smc nor_flash pin state change code, pin state will be save/restore in pinctrl-adi driver

     
  • Vivi Li

    Vivi Li - 2014-07-28
    • status: open --> closed
     
  • Vivi Li

    Vivi Li - 2014-07-28

    Close it.

     
  • Vivi Li

    Vivi Li - 2014-07-28

    Close by mistake. Re-open it.

     
  • Vivi Li

    Vivi Li - 2014-07-28
    • status: closed --> open
     
  • panmingquan

    panmingquan - 2014-07-31
     
  • panmingquan

    panmingquan - 2014-07-31

    Since MTD config would influence the power core test on bf609, disable it in test script and wait to see next result log.

     
  • panmingquan

    panmingquan - 2014-08-13
    • Resolution: fixed --> under_debugging
     
  • panmingquan

    panmingquan - 2014-08-13

    With MTD config disabled, power core case on bf609 regression machine still fails, so mark it under debugging.

     
  • Steven Miao

    Steven Miao - 2014-08-14
    • Resolution: under_debugging --> fixed
     
  • panmingquan

    panmingquan - 2014-08-15
    • status: open --> closed
     
  • panmingquan

    panmingquan - 2014-08-15

    power core case on bf609 ezkit can pass now by enable CONFIG_PM_BFIN_WAKE_PE12.

    close.

     

Log in to post a comment.