Ticket #179 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

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

comment:1 Changed 6 years ago by laforge@…

  • Milestone set to Phase 1

comment:2 Changed 6 years ago by werner@…

  • Status changed from new to assigned

comment:3 Changed 6 years ago by laforge@…

  • Status changed from assigned to closed
  • Resolution set to fixed

this is now in werner's uboot bootmenu code.

comment:4 Changed 5 years ago by anonymous

  • Milestone Phase 1 deleted

Milestone Phase 1 deleted

Note: See TracTickets for help on using tickets.