power usbhost fails while power core case pass on bf609.
Image Name: bf609-0.0-3.16.0-ADI-2014R1-pre-
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 7843237 Bytes = 7.5 MiB
Load Address: 00001000
Entry Point: 00313a7c
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 00313a7c
Linux version 3.16.0-ADI-2014R1-pre-00401-gce2a0f2-dirty (test@linux83-bf609-usbhost) (gcc version 4.3.5 (ADI-master/git-46c6a72) ) #4 Tue Aug 19 19:10:41 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-0x0021a348
rodata = 0x0021a36c-0x002c9350
bss = 0x002ca000-0x002e2bdc
data = 0x002e2be0-0x00310000
stack = 0x0030e000-0x00310000
init = 0x00310000-0x00909000
available = 0x00909000-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 clkin_hz=(25000000) 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: 119628K/130048K available (2148K kernel code, 181K rwdata, 699K rodata, 6116K init, 98K bss, 10420K 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: 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 (9 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 64 KB (48 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
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 233
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.59: 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(®_base=ffc00a00, rx_irq=47, tx_irq=48, err_irq=49, sclk=125000000)
stmmaceth stmmaceth.0: no reset control found
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 POLL (stmmac-0:01) active
usbcore: registered new interface driver usb-storage
musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
zero gadget: Gadget Zero, version: Cinco de Mayo 2008
zero gadget: zero ready
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 @ 0x04ff5000 - 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: 6116K (00310000 - 00909000)
usb 1-1: new high-speed USB device number 2 using musb-hdrc
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usb 1-1.3: new high-speed USB device number 3 using musb-hdrc
BusyBox v1.22.1 (2014-08-19 03:54:20 CST) hush - the humble shell
usb-storage 1-1.3:1.0: USB Mass Storage device detected
root:/> scsi0 : usb-storage 1-1.3:1.0
usb 1-1.4: new high-speed USB device number 4 using musb-hdrc
scsi 0:0:0:0: Direct-Access SanDisk U3 Cruzer Micro 4.05 PQ: 0 ANSI: 2
sd 0:0:0:0: [sda] 3999373 512-byte logical blocks: (2.04 GB/1.90 GiB)
scsi 0:0:0:1: CD-ROM SanDisk U3 Cruzer Micro 4.05 PQ: 0 ANSI: 2
sd 0:0:0:0: [sda] Write Protect is off
stmmaceth stmmaceth.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
sd 0:0:0:0: [sda] No Caching mode page found
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1 sda2
sd 0:0:0:0: [sda] Attached SCSI removable disk
mount -t ext2 /dev/sda1 /mnt
root:/>
Case 56 ...PASS
Case 56 ...PASS
mount
rootfs on / type rootfs (rw)
devtmpfs on /dev type devtmpfs (rw,relatime,mode=0755)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
mdev on /dev type tmpfs (rw,nosuid,relatime,mode=0755,size=10M)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600)
var on /var type tmpfs (rw,relatime)
tmp on /tmp type tmpfs (rw,nosuid,nodev,relatime,mode=777)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
/dev/sda1 on /mnt type ext2 (rw,relatime,errors=continue)
root:/>
Case 57 ...PASS
Case 57 ...PASS
time dd conv=fsync if=/dev/zero of=/mnt/5m.bin bs=1M count=5
5+0 records in
5+0 records out
real 0m 1.11s
user 0m 0.00s
sys 0m 0.21s
root:/>
ase 58 ...PASS
Case 58 ...PASS
ntime cat /mnt/5m.bin > /dev/null
real 0m 0.08s
user 0m 0.00s
sys 0m 0.08s
root:/>
Case 59 ...PASS
Case 59 ...PASS
random: nonblocking pool is initialized
rm /mnt/5m.bin; sync
root:/>
Case 60 ...PASS
Case 60 ...PASS
umount /mnt
root:/>
Case 61 ...PASS
Case 61 ...PASS
ls /mnt
root:/>
Case 62 ...PASS
Case 62 ...PASS
PM test case 1 round 5 pass
Wake up fail 5 times
Last passed time: 2013-12-18_19-27-20
User-dist commit 2e7df81b4985ba6f112742a8e799af05c855fc9a
Kernel commit 31d7b760fc201006e2a6e420a0307d1aeba4b398
Testsuites commit e44f6f0cf84ce8a68b7deccb439de7c6c47526a6
Case 63 ...FAIL
Case 63 ...FAIL
Please check if it's timeout when resume.
this issue still exists on master head and have nothing to do with timeout.
detailed log and kernel config are attached.
This bug is same as bug 249.
It passes on bf609 ezkit now. close.
Booting kernel from Legacy Image at 02000000 ...
Image Name: bf609-0.0-3.17.0-rc4-ADI-2014R1-
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 7850316 Bytes = 7.5 MiB
Load Address: 00001000
Entry Point: 00317b3c
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 00317b3c
Linux version 3.17.0-rc4-ADI-2014R1-pre-00420-g76c28e4-dirty (test@linux83-bf609-usbhost) (gcc version 4.3.5 (ADI-master/git-46c6a72) ) #4 Tue Oct 14 15:24:08 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-0x0021d218
rodata = 0x0021d23c-0x002cd24c
bss = 0x002ce000-0x002e70c8
data = 0x002e70e0-0x00314000
stack = 0x00312000-0x00314000
init = 0x00314000-0x0090d000
available = 0x0090d000-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: 119612K/130048K available (2160K kernel code, 179K rwdata, 704K rodata, 6116K init, 100K bss, 10436K 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: 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 (9 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 64 KB (48 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
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 233
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.59: 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(®_base=ffc00a00, rx_irq=47, tx_irq=48, err_irq=49, sclk=125000000)
stmmaceth stmmaceth.0: no reset control found
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 POLL (stmmac-0:01) active
usbcore: registered new interface driver usb-storage
musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
zero gadget: Gadget Zero, version: Cinco de Mayo 2008
zero gadget: zero ready
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 @ 0x05008000 - 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: 6116K (00314000 - 0090d000)
usb 1-1: new high-speed USB device number 2 using musb-hdrc
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usb 1-1.3: new high-speed USB device number 3 using musb-hdrc
usb-storage 1-1.3:1.0: USB Mass Storage device detected
BusyBox v1.22.1 (2014-10-14 00:12:21 CST) hush - the humble shell
root:/> scsi host0: usb-storage 1-1.3:1.0
iusb 1-1.4: new high-speed USB device number 4 using musb-hdrc
fconfig etscsi 0:0:0:0: Direct-Access SanDisk U3 Cruzer Micro 4.05 PQ: 0 ANSI: 2
sd 0:0:0:0: [sda] 3999373 512-byte logical blocks: (2.04 GB/1.90 GiB)
stmmaceth stmmaceth.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
scsi 0:0:0:1: CD-ROM SanDisk U3 Cruzer Micro 4.05 PQ: 0 ANSI: 2
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] No Caching mode page found
sd 0:0:0:0: [sda] Assuming drive cache: write through
h sda: sda1 sda2
sd 0:0:0:0: [sda] Attached SCSI removable disk
0 10.100.4.50
root:/> ^[[43;9R^[[43;9REthernet may has been activated already!
random: nonblocking pool is initialized
version
kernel: Linux release 3.17.0-rc4-ADI-2014R1-pre-00420-g76c28e4-dirty, build #4 Tue Oct 14 15:24:08 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-46c6a72)
user-dist: release git-426e749, build #2 Tue Oct 14 15:20:49 CST 2014
root:/> ^[[43;9R
Linux version: 3.17.0-rc4-ADI-2014R1-pre-00420-g76c28e4-dirty
GCC version: 4.3.5 (ADI-master/git-46c6a72)
user-dist version: git-426e749
STEP 3: Start testing
root:/> dmesg|grep -i sd
sd 0:0:0:0: [sda] 3999373 512-byte logical blocks: (2.04 GB/1.90 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
sd 0:0:0:0: [sda] No Caching mode page found
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1 sda2
sd 0:0:0:0: [sda] Attached SCSI removable disk
root:/>
Case 1 ...PASS
^[[43;9Rmke2fs /dev/sda1
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
62592 inodes, 249976 blocks
12498 blocks (5%) reserved for the super user
First data block=0
Maximum filesystem blocks=4194304
8 block groups
32768 blocks per group, 32768 fragmen^[[43;9Rts per group
7824 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376
root:/>
Case 2 ...PASS
mount -t ext2 /dev/sda1 /mnt
root:/>
Case 3 ...PASS
mount
rootfs on / type rootfs (rw)
devtmpfs on /dev type devtmpfs (rw,relatime,mode=0755)
^[[43;1R/proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
mdev on /dev type tmpfs (rw,nosuid,relatime,mode=0755,size=10M)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600)
var on /var type tmpfs (rw,relatime)
tmp on /tmp type tmpfs (rw,nosuid,nodev,relatime,mode=777)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
/dev/sda1 on /mnt type ext2 (rw,relatime,errors=continue)
root:/>
Case 4 ...PASS
time dd conv=fsync if=/dev/zero of=/mnt/5m.bin bs=1M count=5
^[[43;1R^[[43;2R5+0 records in
5+0 records out
real 0m 1.12s
user 0m 0.00s
sys 0m 0.23s
root:/>
ase 5 ...PASS
ntime cat /mnt/5m.bin > /dev/null
real 0m 0.07s
user 0m 0.00s
sys 0m 0.06s
root:/>
Case 6 ...PASS
^[[43;9Rrm /mnt/5m.bin; sync
root:/>
Case 7 ...PASS
umount /mnt
root:/>
Case 8 ...PASS
ls /mnt
root:/>
Case 9 ...PASS
cat /proc/mounts
^[[43;1Rrootfs / 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^[[43;1R^[[43;1R,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 10 ...PASS
ls /sys/power
pm_async pm_freeze_timeout state wakeup_count
root:/>
ase 11 ...PASS
spawn /bin/bash
^[[43;1Rtest@linux83-bf609-usbhost:~/workspace/src/kernel/label/BF609-EZKIT-USBHOST/testsuites/power_usbhost$ su
Password:
root@linux83-bf609-usbhost:power_usbhost#
Case 12 ...PASS
[6necho mem > /sys/power/state
PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.013 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Suspending console(s) (use no_console_suspend to debug)
Case 13 ...PASS
Test case 1: Sleeping...
reset_board 4
powering OFF board attached to printer port pin 4
powering ON board attached to printer port pin 4
Case 14 ...PASS
musb-hdrc musb-hdrc.1.auto: VBUS_ERROR in a_suspend (88, <avalid), retry="" #0,="" port1="" 00000507="" pm:="" suspend="" of="" devices="" complete="" after="" 5.516="" msecs="" late="" 1.904="" noirq="" 2.000="" resume="" 1.354="" early="" 1.058="" usb="" 1-1:="" reset="" high-speed="" device="" number="" 2="" using="" musb-hdrc="" 241.498="" restarting="" tasks="" ...="" disconnect,="" done.="" root:=""> usb 1-1.3: USB disconnect, device number 3
usb 1-1.4: USB disconnect, device number 4
usb 1-1: new high-speed USB device number 5 using musb-hdrc
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected</avalid),>
Case 15 ...PASS
^[[43;9Rusb 1-1.3: new high-speed USB device number 6 using musb-hdrc
usb-storage 1-1.3:1.0: USB Mass Storage device detected
scsi host1: usb-storage 1-1.3:1.0
usb 1-1.4: new high-speed USB device number 7 using musb-hdrc
stmmaceth stmmaceth.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
scsi 1:0:0:0: Direct-Access SanDisk U3 Cruzer Micro 4.05 PQ: 0 ANSI: 2
sd 1:0:0:0: [sda] 3999373 512-byte logical blocks: (2.04 GB/1.90 GiB)
scsi 1:0:0:1: CD-ROM SanDisk U3 Cruzer Micro 4.05 PQ: 0 ANSI: 2
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] No Caching mode page found
sd 1:0:0:0: [sda] Assuming drive cache: write through
sda: sda1 sda2
sd 1:0:0:0: [sda] Attached SCSI removable disk
mount -t ext2 /dev/sda1 /mnt
root:/>
...
Case 55 ...PASS
^[[43;1Rusb 1-1.3: new high-speed USB device number 18 using musb-hdrc
usb-storage 1-1.3:1.0: USB Mass Storage device detected
scsi host5: usb-storage 1-1.3:1.0
usb 1-1.4: new high-speed USB device number 19 using musb-hdrc
stmmaceth stmmaceth.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
scsi 5:0:0:0: Direct-Access SanDisk U3 Cruzer Micro 4.05 PQ: 0 ANSI: 2
sd 5:0:0:0: [sda] 3999373 512-byte logical blocks: (2.04 GB/1.90 GiB)
scsi 5:0:0:1: CD-ROM SanDisk U3 Cruzer Micro 4.05 PQ: 0 ANSI: 2
sd 5:0:0:0: [sda] Write Protect is off
sd 5:0:0:0: [sda] No Caching mode page found
sd 5:0:0:0: [sda] Assuming drive cache: write through
sda: sda1 sda2
sd 5:0:0:0: [sda] Attached SCSI removable disk
mount -t ext2 /dev/sda1 /mnt
root:/>
Case 56 ...PASS
mount
rootfs on / type rootfs (rw)
devtmpfs on /dev type devtmpfs (rw,relatime,mode=0755)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
mdev on /dev type tmpfs (rw,nosuid,relatime,mode=0755,size=10M)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600)
var on /var type tmpfs (rw,relatime)
tmp on /tmp type tmpfs (rw,nosuid,nodev,relatime,mode=777)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
/dev/sda1 on /mnt type ext2 (rw,relatime,errors=continue)
root:/>
Case 57 ...PASS
^[[43;1Rtime dd conv=fsync if=/dev/zero of=/mnt/5m.bin bs=1M count=5
^[[43;2R5+0 records in
5+0 records out
real 0m 1.23s
user 0m 0.00s
sys 0m 0.22s
root:/>
ase 58 ...PASS
ntime cat /mnt/5m.bin > /dev/null
real 0m 0.08s
user 0m 0.00s
sys 0m 0.07s
root:/>
Case 59 ...PASS
^[[43;9Rrm /mnt/5m.bin; sync
root:/>
Case 60 ...PASS
umount /mnt
root:/>
Case 61 ...PASS
ls /mnt
root:/>
Case 62 ...PASS
PM test case 1 round 5 pass
Wake up pass
Case 63 ...PASS
Ending ./power_usbhost_test.exp