Jump to content

Which is the board that "suspend to RAM" works?


miminashi

Recommended Posts

v5.04 / 1.3.2016 section in https://docs.armbian.com/Release_Changelog/

says "suspend to RAM and resume by power button works now (consumption less than 0.4W without peripherals)".

 

I'm looking for the board that works "suspend to RAM".

I have a NanoPi NEO, but it seems not.

 

Please tell me if "suspend to RAM" works on your board.

Thanks.

 

suspend to RAM and wakeup instruction:

 

$ echo mem > /sys/power/state

 

then, press "power key".

Link to comment
Share on other sites

Hi miminashi,

 

Looking at it, I see that at that time and age armbian maintained what we call nowadays: stone age old Kernels like:

  • rebuilt Cubieboard 1 & 2 with 3.4.110 a
  • fixed Bluetooth on Cubietruck + rebuild with 3.4.110

the so called BSP Kernels 3.x (Board Support Package) are no longer supported by armbian. If you are willing to use such kernel with security issues and no longer maintained you might get "suspend to RAM" out of the box. If you prefer a current kernel you maybe carefully choose your SingleBoardComputer. Even better if you know C, you can help to get this for your board of choice running "suspend to RAM"  :-)

 

Do you know C ?

Link to comment
Share on other sites

Hello Tido.

 

I have an orangepi zero plus 2 h3 board running armbian 21.05.04 kernel 5.10.34 and I'm also looking for a way to put the board in Suspend-to-RAM and wakeup using some GPIO.

I know C, but I don't have the knowledge to enable this resource in the kernel. Can you give me some advice about how to start modifying the armbian kernel to enable Suspend-to-RAM and wakeup?

 

If possible, I would like to enable this on ubuntu 16.04, that is the distribution where I could enable bluetooth.

Edited by Robsn
fix distribution information
Link to comment
Share on other sites

11 minutes ago, Robsn said:

but I don't have the knowledge to enable this resource in the kernel.

 

If things doesn't work out of the box, you have to prepare serious resources to get going. Then start here https://linux-sunxi.org/AR100/HardwareSharing

 

12 minutes ago, Robsn said:

If possible, I would like to enable this on ubuntu 16.04, that is the distribution


This forum provide best effort support for Armbian. For other distributions, seek their support channels. If any. If none, too bad.

Since you are new, welcome to read FAQ 1st. This give you some perception what you are asking for and its a way to save precious time and keep forum cleaner.

Link to comment
Share on other sites

I have managed to put Armbian on s2idle mode, and wakeup after 30 seconds using

echo “+30” > /sys/class/rtc/rtc0/wakealarm

echo mem > /sys/power/state

 

Now I have to enable wakeup from GPIO.

 

Someone have any advice about how to configure a GPIO to wakeup from s2idle?

Link to comment
Share on other sites

Hello!

 

I have an orangepi zero plus 2 h3 board running armbian 21.05.04 kernel 5.10.34 and I'm also looking for a way to put the board in S2idle and wakeup using some GPIO.

 

I have managed to put Armbian on s2idle mode, and wakeup after 30 seconds using

echo “+30” > /sys/class/rtc/rtc0/wakealarm

echo mem > /sys/power/state

 

Now I have to enable wakeup from GPIO.

 

Someone have any help about how to configure a GPIO to wakeup from s2idle?

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines