[PATCH 0/10] u-boot powering on from a dead battery

Andy Green andy at openmoko.com
Tue Jul 15 13:56:20 CEST 2008

Hash: SHA1

Somebody in the thread at some point said:
| This series of patches improves the behaviour of u-boot when the
| battery is absent or dead. The make the following changes:
| - reduce the maximum USB current needed to reach wait_for_power
|   to below 100mA
| - correct the logic of wait_for_power to actually make it wait
|   until we have good power
| - make sure we charge an empty battery before trying to boot
| - assorted small cleanup
| Note that, if there's no battery at all or if the battery has cut
| off, u-boot will give the system the benefit of the doubt and try
| to boot if there's any other acceptable power source. It would be
| safer to force the system to wait until the battery has been
| charged to provide some buffer, but this wouldn't let us boot
| without battery at all.

I verified the build booted ;-) then put it on stable.  If there's
something subtle wrong with it folks can back out by NOR / DFU.

Thanks for the work.

- -Andy
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org


More information about the openmoko-kernel mailing list