Hibernation crash on IMX6

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

Hibernation crash on IMX6

841 Views
Chetankumar
Contributor I

Hi,

we have enabled hibernation in imx6q using following procedure:

a. enabled CONFIG_HIBERNATION in kernel menuconfig.

b. created swap file in /dev/mmcblk0p3 (in home directory):

            dd if=/dev/zero of=swapfile bs=4k count=500000

            mkswap swapfile          

           swapon swapfile

c. Added kerel arguments in u-boot (to resume from disk)

                    resume=/dev/mmcblk0p3 resume_offset=4955662      (Points to swap file)
d. setting hibernate mode:
                    echo "disk" > /sys/power/state
 
Hibernation image is created successfully,While resuming from hibernation we observed, board is restarting continuously. By debugging using "test_resume" we are able to capture the crash(PFA) and attached boot log for reference.
If you provide any input and any methods how to debug this crash which will be helpful.
 
Regards,
N Chetan kumar
 
 
Labels (1)
0 Kudos
3 Replies

837 Views
igorpadykov
NXP Employee
NXP Employee

Hi Chetan

 

supported low power modes can be found in official nxp linux documentation,

in particular  Table 10. Power Management Modes  i.MX Linux Reference Manual​

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

Unfortunately hibernation mode is not supported, sorry.

 

Best regards
igor

0 Kudos

822 Views
Chetankumar
Contributor I

Hi Igor,

Thanks for the reply.

But in one of IMX6 board we are able to perform hibernation with same procedure.

In custom board(imx6q based) we are facing this issue.

 

0 Kudos

816 Views
igorpadykov
NXP Employee
NXP Employee

Hi Chetankumar

 

one can try to debug it using AN4553 Using Open Source Debugging Tools for

Linux on i.MX Processors, comparing behaviour for both boards
Using Open Source Debugging Tools for Linux on i.MX Processors

 

Best regards
igor

0 Kudos