вторник, 24 марта 2015 г., 14:02:27 UTC+6 пользователь Willi Gnilke написал:
> Thank you for this quick answer,
> Yes, the PcDuino has a battery connector and battery mode works very well.
> I understand the procedure you described for wakeup. Provided that the 
> Suspend code in the sunxi-3.4 is working I have to go into uboot to prevent 
> it from cold restart/initialisation. This seems difficult.
> 
> Certainly I must start with a stripped "serial console only" version of linux.
> Is there anyone in the forum, Hans de Goede has done many commits, who has 
> some expirience in this field? 
> Anybody who can say what already works and what not?
Hello.

It does not work now.
sun7i has two standby modes:
1.normal standby
It is very similar to standby on A10.It works on sdk lichee kernel even with 
u-boot on sdcard, because it does not power off SoC, just only enables 
self-refresh and wait. It is enough to make suspend work. However it does not 
work in sunxi-3.4 for some unknown reason. System hangs when enabling DRAM 
self-refresh mode, so reclocking DRAM at runtime on sunxi-3.4 is now impossible 
to.
2. super standby
Super standby code enables DRAM self-reforesh mode and shutting down SoC. So it 
requires support in bootloader and all drivers. It is very similar to 
suspend-to-disk and support of it in other drivers required.
I think that suspend-to-disk will be more useful on boards with external power 
and it easier to implement in mainline.

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to