u-boot fix to charge empty battery
Philipp Hug
debian at hug.cx
Thu Oct 9 15:52:23 CEST 2008
Ok, I do now have a patch ready that fixes most low-power issues:
* Always wait until battery is charged enough before continuing the boot
process
-> but still allow boot to continue if no battery is present
* Cancel the shutdown timer during charging
* Make sure 1A charger charges with 1A
* Detect if power button has been pressed for long enough at the
beginning of the startup sequence
* Only pulse vibrator and LED when startup is initiated
* Keep CPU @200Mhz until charging is complete
-> I hope I didn't break USB ;-)
* Abort charging if no USB power is present
Available here:
http://www.abanet.ch/~hug/moko/uboot-battery/
Philipp
More information about the devel
mailing list