The u-boot source code should have an example of how to read battery status, because it decides how to boot depending on battery charge. I remember seeing that code when I made the patched u-boot images for the select boot thread. Of course, that was for K4/K5, but it should apply to the K3 as well.
I will not be available for many hours starting now, or I would check into it myself. If nobody else finds it, I will look in u-boot for the battery status check code (when I get back)...
Last edited by geekmaster; 08-25-2012 at 12:01 PM.
|