Wind River Support Network

HomeDefectsLIN6-6615
Fixed

LIN6-6615 : [standard][fsl-p2020] suspend-to-ram does not work properly

Created: Jan 24, 2014    Updated: Dec 3, 2018
Resolved Date: Feb 19, 2014
Found In Version: 6.0
Fix Version: 6.0.0.3
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: BSP

Description

  Problem Description
  ======================

Suspend-to-ram (PowerManagement/standby) does not work properly.

  Expected Behavior
  ======================

  run case  normally

  Observed Behavior
  ======================
  None

  Logs(Key error logs)
  ======================
  root@p2020rdb:~# 
root@p2020rdb:~# ethtool -s eth0  wol g
root@p2020rdb:~# 
root@p2020rdb:~# cat /sys/power/state 
freeze standby disk
root@p2020rdb:~# 
root@p2020rdb:~# echo standby > /sys/power/state
PM: Syncing filesystems ... done.
mmc0: card 0002 removed
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)
dpm_run_callback(): platform_pm_suspend+0x0/0x80 returns -22
PM: Device ffe24000.ethernet failed to suspend: error -22
PM: Some devices failed to suspend
/pcie@ffe09000: PCICSRBAR @ 0xfff00000
/pcie@ffe0a000: PCICSRBAR @ 0x0
/pcie@ffe0a000: WARNING: Outbound window cfg leaves gaps in memory map. Adjusting the memory map could reduce unnecessary bounce buffering.
/pcie@ffe0a000: DMA window size is 0x0
PM: resume of devices complete after 47.737 msecs
Restarting tasks ... done.
-sh: echo: write error: Invalid argument
root@p2020rdb:~# mmc0: new high speed SD card at address 0002
mmcblk0: mmc0:0002 00000 1.86 GiB 
 mmcblk0: p1
libphy: mdio@ffe24520:00 - Link is Up - 100/Full

root@p2020rdb:~# 
root@p2020rdb:~# 
root@p2020rdb:~# 
root@p2020rdb:~# uname -a
Linux p2020rdb 3.10.19-WR6.0.0.0_standard #1 SMP PREEMPT Tue Jan 21 14:25:23 CST 2014 ppc GNU/Linux
root@p2020rdb:~# 
root@p2020rdb:~# 
root@p2020rdb:~# cat /proc/cpuinfo 
processor	: 0
cpu		: e500v2
clock		: 1000.000000MHz
revision	: 5.0 (pvr 8021 1050)
bogomips	: 125.00

processor	: 1
cpu		: e500v2
clock		: 1000.000000MHz
revision	: 5.0 (pvr 8021 1050)
bogomips	: 125.00

total bogomips	: 250.00
timebase	: 62500000
platform	: P2020 RDB
model		: fsl,P2020
Memory		: 1024 MB
root@p2020rdb:~# 
 

Steps to Reproduce

1. Config

/bsp-dev/git/wrlinux-x/wrlinux/configure --enable-jobs=8 --enable-parallel-pkgbuilds=8 --enable-kernel=standard --enable-rootfs=glibc-std --enable-board=fsl_p2020 --with-layer=/bsp-dev/git/wr-testing/5.0/wr-testing-60/bts --enable-test=yes

2. Steps.
# ethtool -s eth0  wol g
# cat /sys/power/state 
# echo standby > /sys/power/state

Other Downloads


Live chat
Online