use tuxonice to hibernate on imx6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

use tuxonice to hibernate on imx6

1,596 Views
linshuanyi
Contributor II

Hi,

We want to hibernate on I.MX6DQ ,the environment is linux 3.0.35 and android4.3,but we have some problem.

We use "tuxonice-for-linux-3.0-2012-10-23.patch.bz2 " and " ARM: Add initial hibernation supporthttp://news.gmane.org/find-root.php?message_id=1277908081%2d17195%2d2%2dgit%2dsend%2demail%2dHiroshi..."to add some basic features for hibernation.

however, we cant find tuxonice folder under /sys/power/,so we cant  do "echo > /sys/power/tuxonice/do_hibernate" to trigger hibernation.

could you give us some idea to fix this problem?

Thanks,

lin

Labels (5)
6 Replies

903 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hi Lin,

     The linux BSP we released doesn't support hibernation by default, so I have no corresponding experience to share with you . I checked information about it from internet, I feel this one is valuable , hope it is helpful for you !

http://blog.csdn.net/rex_nie/article/details/9061777

Regards,

Weidong

903 Views
linshuanyi
Contributor II

hi Sun,

     Thanks for your advise.

     we are still trying to make it work.

     Sincerely,

     Lin

0 Kudos

903 Views
johnjohntobias
Contributor II

Hi Lin,

I would like to know if the hibernation support in your machine works fine or you still get the kernel crashing issue?. Did you able to solve it?

Regards,

John

0 Kudos

903 Views
linshuanyi
Contributor II

Hi John.

we are still working on creating a swap partition, so we are not sure we can hibernate or not

do you know how to successfully create a swap partition in the board?

Regards,

Lin.

0 Kudos

903 Views
johnjohntobias
Contributor II

Hi Lin,

Are you talking about:

mkswap <partition>

swapon <partition>

Or:

busybox mkswap <partition>

busybox swapon <partition>

Regards,

John

903 Views
linshuanyi
Contributor II

Hi John,

I mean

busybox mkswap <partition>

busybox swapon <partition>

and I tried several ways to swapon the partition

you can see the picture below,it seems that I have successfully swapon /dev/block/mmcblk0p9

pastedImage_3.png

However,this status only remain until next boot.

I have manually modified fstab.freescale to add information for /dev/block/mmcblk0p9 as a swap partition,and copied its content to /etc/fstab,

I really can't figure out what's the problem.

I also tried to use SD card as a swap partition,but it also failed when I tried to swapon :smileysad:

can you give me some advices?

Regards,

Lin.

0 Kudos