This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to put Juno into Sleep-state

I'm using Linaro Release 15.12 LSK (without OP-TEE) + OpenEmbedded Minimal Filesystem on Juno-r1 Board.

I'm trying to put the Juno board into the Sleep-state referring to ARM Versatile Express Juno r1 Development Platform Technical Reference Manual.

But it seems to reboot and fall into the error state, even if I push the Soft Reset button briefly.

Does anyone know how to put the Juno board into the Sleep-state ?

Thank you for your help.

------------
Moderator edit: As of release 16.05 you can follow the instructions here:
https://community.arm.com/dev-platforms/w/docs/239/system-suspend-to-ram
------------

Parents
  • Hi Sudeep,

    Thank you for your reply.

    First, the previous message meant the issue surfaces when I try to suspend & resume twice continuously.

    The steps to reproduce this issue are as follows:

         0. I am using Juno-R1 with Linaro 16.05 latest.

         1. [Set rtc] # echo +5 > /sys/class/rtc/rtc0/wakealarm

         2. [Suspend] # echo mem > /sys/power/state

              (after 5 seconds) Resume

         3. wait about 10seconds

         4. [Set rtc] # echo +5 > /sys/class/rtc/rtc0/wakealarm

         5. [Suspend] # echo mem > /sys/power/state

              (Juno does not resume)

    And I understood it was the cause of this issue that there was no trigger of Resume, because the Suspend process took more than 5 seconds and it was into the Suspend State after RTC interrupt occurred.

    Actually, the issue did not happen when I changed alarm of RTC 10 seconds.

    So I have a question.

         Why does 2nd Suspend process take more than 5 seconds ?

         1st Suspend process does not take 1 second.

         And 2nd Suspend process does not take 1 second if the above steps.3 is "wait a second".

    I would appreciate it if you could answer my question.

    Regards

Reply
  • Hi Sudeep,

    Thank you for your reply.

    First, the previous message meant the issue surfaces when I try to suspend & resume twice continuously.

    The steps to reproduce this issue are as follows:

         0. I am using Juno-R1 with Linaro 16.05 latest.

         1. [Set rtc] # echo +5 > /sys/class/rtc/rtc0/wakealarm

         2. [Suspend] # echo mem > /sys/power/state

              (after 5 seconds) Resume

         3. wait about 10seconds

         4. [Set rtc] # echo +5 > /sys/class/rtc/rtc0/wakealarm

         5. [Suspend] # echo mem > /sys/power/state

              (Juno does not resume)

    And I understood it was the cause of this issue that there was no trigger of Resume, because the Suspend process took more than 5 seconds and it was into the Suspend State after RTC interrupt occurred.

    Actually, the issue did not happen when I changed alarm of RTC 10 seconds.

    So I have a question.

         Why does 2nd Suspend process take more than 5 seconds ?

         1st Suspend process does not take 1 second.

         And 2nd Suspend process does not take 1 second if the above steps.3 is "wait a second".

    I would appreciate it if you could answer my question.

    Regards

Children