Recommendation to boot / resume Linux in less than a second...

Hi Liyaoshi, thanks for reporting these incredible results!!!

However your link appears broken, could you verify? Thanks man!!

Just to be clear: DS0 and suspend to ram is not the same as traditional hibernation -> hibernation tends to be suspend-to-disk(ish) complete snapshot of the system. We are not attempting to do that as part of Dave's series and target in upstream. (it might eventually facilitate a similar solution with tux-on-ice or something in that line...) - but not yet.

    Q: Have you guys ever tried reducing boot-times through a
    hibernate-based solution? (e.g. Warp) How do these stackup versus
    efforts to fast-boot Linux as detailed in this thread?

This won¹t work at this time:

http://www.spinics.net/lists/linux-omap/msg109331.html

Just to be clear: DS0 and suspend to ram is not the same as traditional
hibernation -> hibernation tends to be suspend-to-disk(ish) complete
snapshot of the system. We are not attempting to do that as part of
Dave's series and target in upstream. (it might eventually facilitate a
similar solution with tux-on-ice or something in that line...) - but not
yet.

Yeah, but hibernation won¹t work either before fixing the PMIC subsystem.

Regards,
John

Question: The Freescale i.MX6 has been mentioned by several boot-time gurus as their go-to chip for ultra-fast boot. Unfortunately the i.MX6 is overkill for our price-sensitive application. Which ‘other chips’ in the i.MX family have the sophisticated ROM bootloader that can duplicate the fast-boot time recipes discussed in this post? (i.e. to boot linux without need for S2 bootloader such as u-Boot)

Thank you again for everyone that participated with valuable advice!!

Jean-Pierre

Well there's falcon mode in u-boot for am335x...

MLO -> kernel...

Regards,

http://www.denx.de/wiki/pub/U-Boot/MiniSummitELCE2013/2013-ELCE-U-Boot-Falcon-Boot.pdf

http://git.denx.de/?p=u-boot.git;a=blob;f=doc/README.falcon;hb=HEAD

Regards,

Thank you very much Robert for that heads up… wasn’t aware Sitara architecture could do this as well…

Q: How does falcon boot on Sitara compare with sub-one-second boottime on i.MX6?

I'd say, it should take you at-least a half hour to find out. Maybe
and hour or more if you've never built u-boot before..

Regards,