This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAP35xx: Suspend / Resume not working on custom board

Other Parts Discussed in Thread: OMAP3503, OMAP3530

Hi Guys,

I am having some issues with suspend  / resume (ans also halt / shutdown) on a OMAP3503 / OMAP3530.For some reason the OMAP (or it could be the TPS circuit) fails to go to suspend mode. I am checking with a amp meter to see what the current draw is.

Could it be that something prevents it from going to suspend mode? My assumption is that it should draw very little current when in suspend mode. Also after running "echo mem > /sys/power/state" the board doesn't resume. Which are the default resume actions?

root@beagleboard:/# echo mem > /sys/power/state
[  526.810852] PM: Syncing filesystems ... done.
[  526.861755] Freezing user space processes ... (elapsed 0.01 seconds) done.
[  526.887603] Freezing remaining freezable tasks ... (elapsed 0.02 seconds) done.
[  526.918884] Suspending console(s) (use no_console_suspend to debug)

Kernel:

2.6.32

Distro:

The Angstrom Distribution beagleboard ttyS2
Angstrom v2011.12 beagleboard ttyS2

Regards,

Nicce

  • Also trying with following commands results in the system hanging:

    root@beagleboard:~# mkdir /debug
    root@beagleboard:~# mount -t debugfs debugfs /debug
    root@beagleboard:~# echo 5 > /debug/pm_debug/wakeup_timer_seconds
    root@beagleboard:~# echo mem > /sys/power/state

    [   87.433319] PM: Syncing filesystems ... done.
    [   87.470947] Freezing user space processes ... (elapsed 0.01 seconds) done.
    [   87.496887] Freezing remaining freezable tasks ... (elapsed 0.02 seconds) done.
    [   87.528228] Suspending console(s) (use no_console_suspend to debug)

    Regards,

    Nicce

  • Register Dump:

    MOD: CM_IVA2 (48014000)
      00 => c6718084  04 => c671808f  08 => c67180bf  0c => c67180cd
    MOD: CM_OCP (48004800)

    MOD: CM_MPU (48004900)
      20 => 00000004  24 => 49544341  28 => 613d4e4f  2c => 44006464
      30 => 41505645  34 => 2f3d4854  38 => 69766564  3c => 2f736563
      40 => 74737973  44 => 632f6d65  48 => 632f7570  4c => 2f307570
    MOD: CM_CORE (48004a00)
      00 => 69757063  04 => 2f656c64  08 => 74617473  0c => 53003665
      10 => 59534255  14 => 4d455453  18 => 7570633d  1c => 51455300
      20 => 3d4d554e  24 => 00313135
    MOD: CM_SGX (48004b00)

    MOD: CM_WKUP (48004c00)

    MOD: CM_CCR (48004d00)

    MOD: CM_DSS (48004e00)

    MOD: CM_CAM (48004f00)

    MOD: CM_PER (48005000)

    MOD: CM_EMU (48005100)

    MOD: CM_NEON (48005300)

    MOD: CM_USB (48005400)

    MOD: PRM_IVA2 (48316000)

    MOD: PRM_OCP (48306800)

    MOD: PRM_MPU (48306900)

    MOD: PRM_CORE (48306a00)

    MOD: PRM_SGX (48306b00)

    MOD: PRM_WKUP (48306c00)

    MOD: PRM_CCR (48306d00)

    MOD: PRM_DSS (48306e00)

    MOD: PRM_CAM (48306f00)

    MOD: PRM_PER (48307000)

    MOD: PRM_EMU (48307100)
      b4 => 00000054
    MOD: PRM_GLBL (48307200)

    MOD: PRM_NEON (48307300)

    MOD: PRM_USB (48307400)