Startup Sequence: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Added discussion and links to trac bugs.)
(Updated startup sequence status.)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This page documents Eben's startup sequence design, as detailed in [http://dev.laptop.org/ticket/1543 trac ticket #1543].
This page documents the startup sequence design, as detailed in [http://dev.laptop.org/ticket/1543 trac ticket #1543].


==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. (complete)

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 SD card]]
[[Image:intro_03.png|thumb|left|Step 3b: Activation failed.]]
[[Image:intro_03.png|thumb|left|Step 3b: Activation failed.]]
<br clear="all" />
<br clear="all" />
(Activation failed graphics are either locks or question marks, depending on the cause of the failure; see discussion in closed trac bug [http://dev.laptop.org/ticket/1328 #1328].)

==Loading animation==
Occurs on every boot. (These frames can be edited on an XO to try out alternate sequences. See [[Tweaking the boot animation]] for details.)

(smoother version is [http://dev.laptop.org/ticket/3299 trac #3299])
[[Image:intro_11-00.png|thumb|left|Step 11 frame 00: "Clock" animation]]
[[Image:intro_11-01.png|thumb|left|Step 11 frame 01: "Clock" animation]]
[[Image:intro_11-02.png|thumb|left|Step 11 frame 02: "Clock" animation]]
[[Image:intro_11-10.png|thumb|left|Step 11 frame 10: "Clock" animation]]
[[Image:intro_11-20.png|thumb|left|Step 11 frame 20: "Clock" animation]]
[[Image:intro_11-22.png|thumb|left|Step 11 frame 22: "Clock" animation]]
[[Image:intro_11-24.png|thumb|left|Step 11 frame 24: "Clock" animation]]
[[Image:intro_11-25.png|thumb|left|Step 11 frame 25: "Clock" animation]]
[[Image:intro_11-26.png|thumb|left|Step 11 frame 26: "Clock" animation]]
[[Image:542-homeview.png|thumb|left|Step 12: Sugar started.]]
<br clear="all" />

==First boot setup sequence==
==First boot setup sequence==
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? ([http://dev.laptop.org/ticket/3300 trac #3300])

(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?]]
<br clear="all" />
<br clear="all" />
==Loading animation==
==Shutdown animation==
See [http://dev.laptop.org/ticket/692 trac #692]
Occurs on every boot.
[[Image:intro_11.png|thumb|left|Step 11a: "Clock" animation]]
[[Image:intro_12.png|thumb|left|Step 11b: "Clock" animation]]
[[Image:intro_13.png|thumb|left|Step 12: Sugar started.]]
<br clear="all" />
==Discussion==
==Discussion==
* Open Firmware currently displays some diagnostic information about boot sources. These icons are missing from Step 2 (and subsequent steps?).
* 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.
* Linux userland startup happens between activation and first boot setup; this needs some sort of animation. [http://dev.laptop.org/ticket/3300 trac #3300]
* Clock animation, if not done in X, will need to freeze between steps 11 and 12.
* Clock animation, if not done in X, will need to freeze between steps 11 and 12.
==Related trac bugs==
==Related trac bugs==
* [http://dev.laptop.org/ticket/1543 1543 - First boot user experience]
* [http://dev.laptop.org/ticket/1543 1543 - First boot user experience]
* [http://dev.laptop.org/ticket/534 534 - Need image for splashscreen]
* [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/3296 3296 - Name entry does not match first boot spec]
* [http://dev.laptop.org/ticket/3297 3297 - We don't take a photo at first boot]
* [http://dev.laptop.org/ticket/3299 3299 - Dynamic "loading" animation for boot]
* [http://dev.laptop.org/ticket/3300 3300 - Need transitions around first boot name/color/photo chooser.]

Latest revision as of 17:55, 26 September 2007

This page documents the 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. (complete)

These simple graphics are drawn by Linux initrd directly onto the framebuffer.

Step 3a: Lease found on SD card
Step 3b: Activation failed.


(Activation failed graphics are either locks or question marks, depending on the cause of the failure; see discussion in closed trac bug #1328.)

Loading animation

Occurs on every boot. (These frames can be edited on an XO to try out alternate sequences. See Tweaking the boot animation for details.)

(smoother version is trac #3299)

Step 11 frame 00: "Clock" animation
Step 11 frame 01: "Clock" animation
Step 11 frame 02: "Clock" animation
Step 11 frame 10: "Clock" animation
Step 11 frame 20: "Clock" animation
Step 11 frame 22: "Clock" animation
Step 11 frame 24: "Clock" animation
Step 11 frame 25: "Clock" animation
Step 11 frame 26: "Clock" animation
Step 12: Sugar started.


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? (trac #3300)

(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?


Shutdown animation

See trac #692

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. trac #3300
  • Clock animation, if not done in X, will need to freeze between steps 11 and 12.

Related trac bugs