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?
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 !
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?
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?
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
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?