Startup Sequence: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (→‎Related trac bugs: Add link to #3295)
(Link to bugs for each component of design.)
Line 2: Line 2:


==Initialization of every boot==
==Initialization of every boot==
These graphics are drawn by open firmware.
These graphics are drawn by open firmware. (needs work: trac [http://dev.laptop.org/ticket/534 #534])
[[Image:intro_00.png|thumb|left|Step 1: off]]
[[Image:intro_00.png|thumb|left|Step 1: off]]
[[Image:intro_01.png|thumb|left|Step 2: static XO man]]
[[Image:intro_01.png|thumb|left|Step 2: static XO man]]
Line 8: Line 8:
Linux boot happens here with screen frozen by DCON.
Linux boot happens here with screen frozen by DCON.
==Activation sequence==
==Activation sequence==
Skipped when activation lease is already valid.
Skipped when activation lease is already valid. (needs work: trac [http://dev.laptop.org/ticket/1328 #1328])
These simple graphics are drawn by Linux initrd directly onto the framebuffer.
These simple graphics are drawn by Linux initrd directly onto the framebuffer.
[[Image:intro_02.png|thumb|left|Step 3a: Lease found on USB key]]
[[Image:intro_02.png|thumb|left|Step 3a: Lease found on USB key]]
Line 16: Line 16:
Assign names, colors, photo. Skipped once performed the first time.
Assign names, colors, photo. Skipped once performed the first time.
Drawn by X. Some transition is needed before step 4, since init/X/python startup takes a significant amount of time. Use the same graphics as the "loading animation" but with generic XO colors?
Drawn by X. Some transition is needed before step 4, since init/X/python startup takes a significant amount of time. Use the same graphics as the "loading animation" but with generic XO colors?

(name selection: doesn't match design, [http://dev.laptop.org/ticket/3296 trac #3296])
[[Image:intro_04.png|thumb|left|Step 4: Entering "first" name]]
[[Image:intro_04.png|thumb|left|Step 4: Entering "first" name]]
[[Image:intro_05.png|thumb|left|Step 5: Entering "last" name]]
[[Image:intro_05.png|thumb|left|Step 5: Entering "last" name]]
[[Image:intro_06.png|thumb|left|Step 6: Selecting the "next" button]]
[[Image:intro_06.png|thumb|left|Step 6: Selecting the "next" button]]
<br clear="all" />
(color selection: needs work, [http://dev.laptop.org/ticket/2336 trac #2336])
[[Image:intro_07.png|thumb|left|Step 7: Color selection?]]
[[Image:intro_07.png|thumb|left|Step 7: Color selection?]]
[[Image:intro_08.png|thumb|left|Step 8: Color selection?]]
[[Image:intro_08.png|thumb|left|Step 8: Color selection?]]
<br clear="all" />
(photo selection: needs work, [http://dev.laptop.org/ticket/3297 trac #3297])
[[Image:intro_09.png|thumb|left|Step 9: Taking photo?]]
[[Image:intro_09.png|thumb|left|Step 9: Taking photo?]]
[[Image:intro_10.png|thumb|left|Step 10: Done?]]
[[Image:intro_10.png|thumb|left|Step 10: Done?]]
Line 26: Line 32:
==Loading animation==
==Loading animation==
Occurs on every boot.
Occurs on every boot.

(doesn't match design, [http://dev.laptop.org/ticket/3297 trac #3299])
[[Image:intro_11.png|thumb|left|Step 11a: "Clock" animation]]
[[Image:intro_11.png|thumb|left|Step 11a: "Clock" animation]]
[[Image:intro_12.png|thumb|left|Step 11b: "Clock" animation]]
[[Image:intro_12.png|thumb|left|Step 11b: "Clock" animation]]
Line 38: Line 46:
* [http://dev.laptop.org/ticket/534 534 - Initial OFW screen needs to match design]
* [http://dev.laptop.org/ticket/534 534 - Initial OFW screen needs to match design]
* [http://dev.laptop.org/ticket/2336 2336 - First boot color chooser]
* [http://dev.laptop.org/ticket/2336 2336 - First boot color chooser]
* [http://dev.laptop.org/ticket/1328 1328 - Look and feel enhancements for the boot process]
* [http://dev.laptop.org/ticket/1328 1328 - Need separate indication of stolen laptop during activation.]
* [http://dev.laptop.org/ticket/692 692 - Shutdown design]
* [http://dev.laptop.org/ticket/692 692 - Shutdown design]
* [http://dev.laptop.org/ticket/3295 3295 - Pretty boot by default]
* [http://dev.laptop.org/ticket/3295 3295 - Pretty boot by default]

Revision as of 17:46, 10 September 2007

This page documents Eben's startup sequence design, as detailed in trac ticket #1543.

Initialization of every boot

These graphics are drawn by open firmware. (needs work: trac #534)

Step 1: off
Step 2: static XO man


Linux boot happens here with screen frozen by DCON.

Activation sequence

Skipped when activation lease is already valid. (needs work: trac #1328) These simple graphics are drawn by Linux initrd directly onto the framebuffer.

Step 3a: Lease found on USB key
Step 3b: Activation failed.


First boot setup sequence

Assign names, colors, photo. Skipped once performed the first time. Drawn by X. Some transition is needed before step 4, since init/X/python startup takes a significant amount of time. Use the same graphics as the "loading animation" but with generic XO colors?

(name selection: doesn't match design, trac #3296)

Step 4: Entering "first" name
Step 5: Entering "last" name
Step 6: Selecting the "next" button


(color selection: needs work, trac #2336)

Step 7: Color selection?
Step 8: Color selection?


(photo selection: needs work, trac #3297)

Step 9: Taking photo?
Step 10: Done?


Loading animation

Occurs on every boot.

(doesn't match design, trac #3299)

Step 11a: "Clock" animation
Step 11b: "Clock" animation
Step 12: Sugar started.


Discussion

  • Open Firmware currently displays some diagnostic information about boot sources. These icons are missing from Step 2 (and subsequent steps?).
  • Linux userland startup happens between activation and first boot setup; this needs some sort of animation.
  • Clock animation, if not done in X, will need to freeze between steps 11 and 12.

Related trac bugs