Ticket #179 (closed defect: fixed)
Implement u-boot power-off timer
| Reported by: | laforge@… | Owned by: | werner@… |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | u-boot | Version: | current svn head |
| Severity: | minor | Keywords: | |
| Cc: | buglog@… | Blocked By: | |
| Blocking: | Estimated Completion (week): | ||
| HasPatchForReview: | PatchReviewResult: | ||
| Reproducible: |
Description
If u-boot starts up, but no kernel is booted because either
1) the kernel image was invalid
2) the automatic boot was aborted by input on the console
3) 911+poweron was present to enable indefinite bootdelay
and there was no input on the serial/usb console for a specified time (let's say
three or five minutes), the phone should just power-off.
This can probably be implemented easily by adding an IRQ handler for the
PCF50606, and asking the PCF50606 to generate it's SECOND interrupt (one tick
per second) and then just count in the irq handler.
Change History
Note: See
TracTickets for help on using
tickets.
