XO Self Test: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
 
(16 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{OLPC}}{{Translations}}
{{OLPC}}{{Translations}}
These are hardware self-test routines available on [[Hardware|XO laptops]]. Additional [[XO_Troubleshooting_Guide|troubleshooting guides]] are available.
These are hardware tests available on XO laptops. See also [[XO_Troubleshooting_Guide|troubleshooting guides]].


== Hardware Diagnostics ==
== Hardware Diagnostics ==
[[Open Firmware]] includes hardware diagnostics routines for most major components of the laptop. It is triggered using a [[Cheat codes|cheat code]]: by pressing down the left hand side of the "Rocker switch" to the left of the screen while booting a laptop.
[[Open Firmware]] has tests for most major components of the laptop. The tests are run by pressing toward the left on the "[[Rocker]] switch" while turning on a laptop; one of several [[Cheat codes|cheat codes]]. It may also be run by typing ''menu'' at the [[Ok]] prompt.


[[Image:Menu.png|thumb|XO-1 test menu]]
The following components of the laptop are tested sequentially by the hardware diagnostics:


The menu has a series of icons:
* Battery - The current status of the battery is read from it and printed out
* the top left icon (▶) runs all tests,
* SPI flash - The manufacturing data of the laptop is printed out
* the top right icon (ⓧ) leaves the menu,
* Memory - The SDRAM on the motherboard is quickly tested.
* the remaining icons each test a component.
* Processor - The Processor is exercised. Press any key to skip to the next test.
* USB - The USB ports are exercised (for use with an oscilloscope).
* Audio - A stereo sweep is output over the speakers (headphones, if plugged in) and then audio is recorded using the microphone, and output (and low volume) over the speakers.
* Camera - Video is displayed on the screen from the camera for twenty seconds
* SD Storage - Any SD storage is quickly (and non-destructively) tested
* NAND Flash - The motherboard's internal NAND Flash storage is quickly (and non-destructively) tested.
* Display - The display is only marginally tested with color bars, then the drawing capabilities of the CPU are displayed for a while. Press any key to skip to the next test.
* WLAN - The firmware is loaded, the network co-processor booted and communicated with.
* RTC
* Timer
* Touchpad - Press any key to exit.
* Keyboard - Press ESC to exit.


The menu may be navigated using:
If using firmware later than Q2D08, you can pause between individual tests by holding down the "rotate" button on the left hand side of the screen (below the "Rocker switch").
* the keyboard arrow keys, and the enter key,
* the touchpad,
* the touchscreen (on XO-4).

The selected icon has a blue square around it.

The following components of the laptop are tested by the hardware diagnostics:

* Battery - the main battery is checked and the result printed out,
* [[/Manufacturing_Data|Manufacturing data]] - the manufacturing data of the laptop is printed out,
* Memory - the memory on the motherboard is quickly tested,
* Processor - the processor is exercised (XO-1 and XO-1.5 only); press any key to skip to the next test,
* USB - ports are probed, and any devices attached are identified,
* Audio - a stereo sweep is output over the speakers (or headphones, if plugged in), then audio is recorded using the microphone, and output (at low volume) over the speakers.
* Camera - video is displayed on the screen from the camera for a few seconds,
* Internal storage - the motherboard's NAND flash, microSD, or eMMC storage is quickly (and non-destructively) tested,
* External storage - if an SD card is in the external slot, it will be quickly (and non-destructively) tested,
* [[/Display|Display]] - the display is briefly tested with color bars, then the drawing capabilities of the CPU are displayed for a while; press any key to skip to the next test,
* Wireless networking - the firmware is loaded, the network co-processor booted and communicated with, and a scan of networks completed,
* RTC - the Real Time Clock, which includes parameter RAM, is tested for correct year and tick rate,
* Timer - various timers are tested,
* Touchpad - the screen will go black and you may use a finger to draw on the touchpad, press any key to exit,
* Touchscreen - (XO-4 only) - the screen will go black and you may use a finger to draw on the touchscreen, press any key to exit,
* [[/Keyboard|Keyboard]] - the keyboard will be displayed on screen, and you may press keys to activate the corresponding display; press ESC (X) to exit,
* lid and ebook switch - - when you see "Activate lid switch" you should close the lid and then open it, then rotate the display and close with display up, then return the lid to normal position.
* accelerometer - (XO-1.75 and XO-4 only) - try not to move the laptop during this test.

You can pause between individual tests by holding down the "rotate" button on the left hand side of the screen (below the "Rocker switch").

If any of these tests do not function as above, please [[Upgrading_firmware|upgrade the firmware]], then try again.


== Developer Self-Test Diagnostics ==
== Developer Self-Test Diagnostics ==
Line 97: Line 116:
- memtest86 for burn-in testing of memory
- memtest86 for burn-in testing of memory
</pre>
</pre>

== Subpages ==
{{Special:PrefixIndex/{{FULLPAGENAME}}/}}


[[Category:Repair]]
[[Category:Repair]]

Latest revision as of 02:09, 26 November 2015

  This page is monitored by the OLPC team.
  english | español HowTo [ID# 298224]  +/-  

These are hardware tests available on XO laptops. See also troubleshooting guides.

Hardware Diagnostics

Open Firmware has tests for most major components of the laptop. The tests are run by pressing toward the left on the "Rocker switch" while turning on a laptop; one of several cheat codes. It may also be run by typing menu at the Ok prompt.

XO-1 test menu

The menu has a series of icons:

  • the top left icon (▶) runs all tests,
  • the top right icon (ⓧ) leaves the menu,
  • the remaining icons each test a component.

The menu may be navigated using:

  • the keyboard arrow keys, and the enter key,
  • the touchpad,
  • the touchscreen (on XO-4).

The selected icon has a blue square around it.

The following components of the laptop are tested by the hardware diagnostics:

  • Battery - the main battery is checked and the result printed out,
  • Manufacturing data - the manufacturing data of the laptop is printed out,
  • Memory - the memory on the motherboard is quickly tested,
  • Processor - the processor is exercised (XO-1 and XO-1.5 only); press any key to skip to the next test,
  • USB - ports are probed, and any devices attached are identified,
  • Audio - a stereo sweep is output over the speakers (or headphones, if plugged in), then audio is recorded using the microphone, and output (at low volume) over the speakers.
  • Camera - video is displayed on the screen from the camera for a few seconds,
  • Internal storage - the motherboard's NAND flash, microSD, or eMMC storage is quickly (and non-destructively) tested,
  • External storage - if an SD card is in the external slot, it will be quickly (and non-destructively) tested,
  • Display - the display is briefly tested with color bars, then the drawing capabilities of the CPU are displayed for a while; press any key to skip to the next test,
  • Wireless networking - the firmware is loaded, the network co-processor booted and communicated with, and a scan of networks completed,
  • RTC - the Real Time Clock, which includes parameter RAM, is tested for correct year and tick rate,
  • Timer - various timers are tested,
  • Touchpad - the screen will go black and you may use a finger to draw on the touchpad, press any key to exit,
  • Touchscreen - (XO-4 only) - the screen will go black and you may use a finger to draw on the touchscreen, press any key to exit,
  • Keyboard - the keyboard will be displayed on screen, and you may press keys to activate the corresponding display; press ESC (X) to exit,
  • lid and ebook switch - - when you see "Activate lid switch" you should close the lid and then open it, then rotate the display and close with display up, then return the lid to normal position.
  • accelerometer - (XO-1.75 and XO-4 only) - try not to move the laptop during this test.

You can pause between individual tests by holding down the "rotate" button on the left hand side of the screen (below the "Rocker switch").

If any of these tests do not function as above, please upgrade the firmware, then try again.

Developer Self-Test Diagnostics

These are only available on laptops which have been unlocked with a developer key, and allow entry into Open Firmware.

**  ok test /display
   - extended display test for burn-in.  Runs for 1 minute

** ok test /audio::rom:\splash
   - extended audio selftest will play a .wav file
   - rom:\splash is a sound that is in the ROM

   ok test /audio
   - normal audio selftest

   ok test /audio::u:\fanfare.wav
   ok test /audio::sd:\mysound.wav
   - Examples showing .wav files from USB (u:) and SD (sd:)

** ok test /nandflash::help
   - Shows a list of extended selftests for burn-in

   Examples:

   ok test /nandflash::erase
   - Erases the NAND FLASH

   ok test /nandflash::fill,aa
   - Fills NAND FLASH with 0xaa bytes

   ok test /nandflash::fill
   - Fills NAND FLASH with 00 bytes

   ok test /nandflash::full
   - Complete test of every block

   ok test /nandflash::full,8,2
   - Complete test of every third block starting at block 8 (skip 2)

   ok test /nandflash::full;erase
   - Complete test, then erase

** ok test /cpu
   - CPU burn-in test, like k6burn.  Runs for 60 seconds

   ok test /cpu:1000
   - Burn-in CPU for 0x1000 seconds

** ok test /mouse
   - The touchpad test has a new feature.  If you type 's' during the
     touchpad test, the system will suspend to RAM.  Pressing the power
     button will wake up the system, and the touchpad test will resume.

** ok test /camera
   - Camera/video test.  Includes workaround for camera chip image quality
     issue in RGB565 mode.

** ok test /wlan
   - Wireless LAN test

** ok test /flash
   - Rudimentary SPI FLASH selftest

** ok test /keyboard
   - Keyboard test shows which keys are pressed

** ok test /usb
   - Puts fisheye patterns on unused ports

** ok memtest
   - memtest86 for burn-in testing of memory

Subpages