I'm looking for a reliable way to suspend (hibernate) iMX6 Linux-based device by saving its state to a non-volatile memory (say, SD/MMC or NAND) upon unexpected power down event (yes, there is a small power back up to do it). Of course there should be a way to restore the system state after powering on. I guess this is more generic question rather than iMX- or BSP-specific. But anyway... I found a couple of articles on the Web about this topic but it is not clear how usable they are:
If somebody has such experience or knows a good direction to dig - could you please share with me?