Cheat codes: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Rearrange and add disclaimer to avoid confusing G1G1's. Add Users tag.)
Line 1: Line 1:
{{OLPC}}
{{OLPC}}
{{Users}}
[[Image:Power-button.jpg|thumb|right|Power & Game buttons for B2 and older XOs. B3 and newer have "O" at the top and "✓" (check) at the right.]]
[[Image:Power-button.jpg|thumb|right|Power & Game buttons for B2 and older XOs. B3 and newer have "O" at the top and "✓" (check) at the right.]]


A number of special actions are available by holding down game key combinations at the same time as powering on the XO:
A number of special actions are available by holding down game key combinations at the same time as powering on the XO

== Current Firmware (q2d04 and later) ==


==Firmware q2d04 and later ==
:The Open Firmware ok prompt is available by default in non-secure boot. You will have to press the Esc key '''''during the countdown'''''. It is easy to miss the countdown, but pressing Esc too early can disable the keyboard.
* ''' 'X' game pad key:''' force secure boot when in non-secure mode
* ''' 'X' game pad key:''' force secure boot when in non-secure mode
* ''' '✓' (check) game pad key:''' forces non-pretty boot (i.e. displays text progress reports)
* ''' '✓' (check) game pad key:''' forces a more detailed display while booting; see [[Startup Diagnosis]]
* ''' 'O' game pad key:''' boot from alternate image
* ''' 'O' game pad key:''' boot from alternate image. At first, laptops have no alternate image.
* ''''◻' (square) game pad key:''' Not used directly by the firmware, but might be handled by the external autoupdater script to wipe out user directory and do a factory-fresh install. (appropriate for upgrading machines straight from the factory)
* ''''◻' (square) game pad key:''' Not used directly by the firmware, but might be handled by the external autoupdater script to wipe out user directory and do a factory-fresh install. (appropriate for upgrading machines straight from the factory)
* '''Rocker left:''' invoke diagnostics.
* '''Rocker left:''' invoke diagnostics.
Line 14: Line 15:
* '''Rocker up:''' Graphical table of full, free, and defective blocks in internal flash.
* '''Rocker up:''' Graphical table of full, free, and defective blocks in internal flash.


* '''All four game keys at once:''' Update the NAND FLASH from either USB, SD, or network (requires a signed fs.zip file and a NAND image file).
* '''All four game keys at once:''' Update the NAND FLASH from either USB, SD, or network (requires a signed fs.zip file and a NAND image file); see [[Activated Update]].

The "Rocker" is the large round button to the left of the screen, which can be rocked or tilted in any of four directions (up, down, left, or right).

If your laptop has a Developer Key or has security disabled, the Open Firmware ok prompt will be available as your laptop powers on. It will display its version number and then count down for a few seconds. To access the FORTH ok prompt, you will have to press the Esc key '''''during the countdown'''''. If you don't press Esc, after the countdown the laptop will boot up normally. (It is easy to miss the countdown, but pressing Esc too early can disable the keyboard. The Esc key is the leftmost key on the top row of the keyboard, marked with an X in a circle.)


== The rest of this page applies only to prototype laptops that were used by software developers before December, 2007. ==
==After firmware q2c28 and before q2d04 ==
=== After firmware q2c28 and before q2d04 ===
:The 'X' game pad key is no longer used during upgrading.
:The 'X' game pad key is no longer used during upgrading.
:The Open Firmware ok prompt is available by default in non-secure boot. You will have to press the Esc key '''''during the countdown'''''. It is easy to miss the countdown, but pressing Esc too early can disable the keyboard.
:The Open Firmware ok prompt is available by default in non-secure boot. You will have to press the Esc key '''''during the countdown'''''. It is easy to miss the countdown, but pressing Esc too early can disable the keyboard.
* ''' 'X' game pad key:''' toggles secure and non-secure boot
* ''' 'X' game pad key:''' toggles secure and non-secure boot
* ''' '✓' (check) game pad key:''' forces non-pretty boot
* ''' '✓' (check) game pad key:''' forces a more detailed display while booting; see [[Startup Diagnosis]]
* ''' 'O' game pad key:''' boot from alternate image
* ''' 'O' game pad key:''' boot from alternate image. At first, laptops have no alternate image.
* '''Rotate button:''' display UL safety message
* '''Rotate button:''' display Underwriters Labs safety message
* ''''◻' (square) game pad keys:''' wipe out user directory and do a factory-fresh install. (appropriate for upgrading machines straight from the factory)
* ''''◻' (square) game pad key:''' wipe out user directory and do a factory-fresh install. (appropriate for upgrading machines straight from the factory)


==Before firmware q2c28==
=== Before firmware q2c28 ===
* '''Rotate button:''' play "startup sound" at boot (after q2c27, this key will turn off sound and graphic boot up screen)
* '''Rotate button:''' play "startup sound" at boot (after q2c27, this key will turn off sound and graphic boot up screen)
* ''' 'X' game pad key:''' interrupt boot, provide [[Forth Lesson 0|Open Firmware ok prompt]]. You may have to press the [[Esc key]] '''''during the countdown''''' ([[OLPC_Firmware_q2c25#How_to_get_the_ok_prompt|q2c25]]). It is easy to miss the countdown, but pressing Esc too early can disable the keyboard.
* ''' 'X' game pad key:''' interrupt boot, provide [[Forth Lesson 0|Open Firmware ok prompt]]. You may have to press the [[Esc key]] '''''during the countdown''''' ([[OLPC_Firmware_q2c25#How_to_get_the_ok_prompt|q2c25]]). It is easy to miss the countdown, but pressing Esc too early can disable the keyboard.

Revision as of 00:03, 31 December 2007

  This page is monitored by the OLPC team.
  For the general public
Power & Game buttons for B2 and older XOs. B3 and newer have "O" at the top and "✓" (check) at the right.

A number of special actions are available by holding down game key combinations at the same time as powering on the XO

Current Firmware (q2d04 and later)

  • 'X' game pad key: force secure boot when in non-secure mode
  • '✓' (check) game pad key: forces a more detailed display while booting; see Startup Diagnosis
  • 'O' game pad key: boot from alternate image. At first, laptops have no alternate image.
  • '◻' (square) game pad key: Not used directly by the firmware, but might be handled by the external autoupdater script to wipe out user directory and do a factory-fresh install. (appropriate for upgrading machines straight from the factory)
  • Rocker left: invoke diagnostics.
  • Rocker right: try it and see!
  • Rocker up: Graphical table of full, free, and defective blocks in internal flash.
  • All four game keys at once: Update the NAND FLASH from either USB, SD, or network (requires a signed fs.zip file and a NAND image file); see Activated Update.

The "Rocker" is the large round button to the left of the screen, which can be rocked or tilted in any of four directions (up, down, left, or right).

If your laptop has a Developer Key or has security disabled, the Open Firmware ok prompt will be available as your laptop powers on. It will display its version number and then count down for a few seconds. To access the FORTH ok prompt, you will have to press the Esc key during the countdown. If you don't press Esc, after the countdown the laptop will boot up normally. (It is easy to miss the countdown, but pressing Esc too early can disable the keyboard. The Esc key is the leftmost key on the top row of the keyboard, marked with an X in a circle.)

The rest of this page applies only to prototype laptops that were used by software developers before December, 2007.

After firmware q2c28 and before q2d04

The 'X' game pad key is no longer used during upgrading.
The Open Firmware ok prompt is available by default in non-secure boot. You will have to press the Esc key during the countdown. It is easy to miss the countdown, but pressing Esc too early can disable the keyboard.
  • 'X' game pad key: toggles secure and non-secure boot
  • '✓' (check) game pad key: forces a more detailed display while booting; see Startup Diagnosis
  • 'O' game pad key: boot from alternate image. At first, laptops have no alternate image.
  • Rotate button: display Underwriters Labs safety message
  • '◻' (square) game pad key: wipe out user directory and do a factory-fresh install. (appropriate for upgrading machines straight from the factory)

Before firmware q2c28

  • Rotate button: play "startup sound" at boot (after q2c27, this key will turn off sound and graphic boot up screen)
  • 'X' game pad key: interrupt boot, provide Open Firmware ok prompt. You may have to press the Esc key during the countdown (q2c25). It is easy to miss the countdown, but pressing Esc too early can disable the keyboard.
  • 'O' game pad key: boot from backup OS image, for system recovery. (not yet in a stable build)
  • Left directional pad: try out "pretty boot" (be patient, early versions show a static boot screen for a long time) (after q2c27, this key will turn off the "pretty boot")
  • Right directional pad: try it and see!

Further, the Autoreinstallation image uses a couple more special game key combinations:

  • 'X' and '✓' (check) game pad keys: skip upgrade, just write activation lease to USB key and boot. (if your XO doesn't have a check key, use the 'O' key)
  • 'X' and '◻' (square) game pad keys: wipe out user directory and do a factory-fresh install. (appropriate for upgrading machines straight from the factory)