BoardTestPlan: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 21: Line 21:
# Benchmark read/write access on each type of NAND part
# Benchmark read/write access on each type of NAND part
# Introduce 1-4 symbol errors in page and verify correct correction.
# Introduce 1-4 symbol errors in page and verify correct correction.
# OpenFirmware boot from NAND
# Linux root filesystem on NAND


== SD ==
== SD ==
Line 28: Line 30:
# Benchmark read/write speed on low-speed and high-speed devices
# Benchmark read/write speed on low-speed and high-speed devices
# Test MMC and SD devices
# Test MMC and SD devices
# OpenFirmware boot from SD (when supported)


== AUDIO ==
== AUDIO ==
Line 34: Line 37:
# Test internal and external microphone input; check for good input levels without noise.
# Test internal and external microphone input; check for good input levels without noise.
# Check for detection of microphone and headphone plugs
# Check for detection of microphone and headphone plugs
# Analogue input test


== CAMERA ==
== CAMERA ==
Line 55: Line 59:


# Verify EC functionality after battery overdrain (low voltage). It should reset and battery should charge correctly.
# Verify EC functionality after battery overdrain (low voltage). It should reset and battery should charge correctly.
# Verify full BMS operation with full and low batteries.
# Verify full BMS operation with full, low and absent batteries. Check especially for overcharge and undercharge behaviour
# Correct operation of battery LED
# Correct operation of battery LED
# Battery status reporting to Linux


== SYSTEM ==
== SYSTEM ==
Line 65: Line 70:
# Observe correct operation of power LED.
# Observe correct operation of power LED.
# Check manufacturing data in BIOS flash
# Check manufacturing data in BIOS flash
# OpenFirmware self-update


== WIRELESS ==
== WIRELESS ==


# Verify ability to upgrade/downgrade Boot2 code
# Verify ability to upgrade/downgrade Boot2 code
# Verify association in standard 802.11 mode, IPv4 and IPv6 connectivity.
# Verify association in standard 802.11 mode
# Verify WEP/WPA encryption
# Verify WEP/WPA encryption
# Verify connection in mesh mode, IPv4 and IPv6 connectivity.
# Verify connection in mesh mode
# Obtain Legacy IP address by DHCP, verify connectivity.
# IPv6 connectivity with link-local addresses (no setup required)
# Obtain IPv6 address with RA, verify connectivity.
# Antenna switch


== USB ==
== USB ==
Line 78: Line 88:
# Verify OpenFirmware and Linux correct operation with various hub/storage/ethernet/hid/other devices
# Verify OpenFirmware and Linux correct operation with various hub/storage/ethernet/hid/other devices
# Verify correct operation with USB over-current situation. The USB should shut down; the system should not.
# Verify correct operation with USB over-current situation. The USB should shut down; the system should not.
# OF boot from Ethernet
# OF boot from USB storage

Revision as of 05:03, 25 January 2007

Board test plan

First, note that there are various different combinations of components (SKUs). Items such as the system RAM, the DCON SDRAM, the NAND flash, BIOS SPI flash etc. have multiple sources.

Ensure that each combination, or at least one of each major component with multiple sources, is tested. Bugs do slip through the cracks if you omit even one manufacturer's part from the testing.


DCON

  1. Check DCON <-> VGA mode transitions. They should be glitchless and an IRQ should arrive promptly.
  2. Check sleep mode and auto-sleep mode.
  3. Check ECPWRRQST transition from sleep mode.
  4. Check blanking.
  5. Check dot-clock divider setting to request DCON mode refresh frequency
  6. Check colour, anti-aliasing, monochrome modes. Watch for setup/hold time problems on the display.
  7. Set backlight to each level 0-15. Check for noise and fluctuations.
  8. Check correctness of colours in colour mode

NAND

  1. Benchmark read/write access on each type of NAND part
  2. Introduce 1-4 symbol errors in page and verify correct correction.
  3. OpenFirmware boot from NAND
  4. Linux root filesystem on NAND

SD

  1. Test insertion/detection, hotplug removal.
  2. Test high-speed mode
  3. Benchmark read/write speed on low-speed and high-speed devices
  4. Test MMC and SD devices
  5. OpenFirmware boot from SD (when supported)

AUDIO

  1. Test headphone output and speakers, verify unclipped output at volume on each.
  2. Test internal and external microphone input; check for good input levels without noise.
  3. Check for detection of microphone and headphone plugs
  4. Analogue input test

CAMERA

  1. Verify correct image in both overlay and capture modes

KEYBOARD

  1. Verify scancodes from main keyboard keys
  2. Verify scancodes of additional keys on unit -- joypad, game buttons, mode
  3. Verify power button input functional
  4. Verify multiple-keypress functional with no 'ghost' keys

TOUCHPAD

  1. Verify capacitive<->resistive mode switching
  2. Verify noiseless operation in capacitive mode, especially on first touch
  3. Verify operation in resistive mode across whole area of pad

BATTERY

  1. Verify EC functionality after battery overdrain (low voltage). It should reset and battery should charge correctly.
  2. Verify full BMS operation with full, low and absent batteries. Check especially for overcharge and undercharge behaviour
  3. Correct operation of battery LED
  4. Battery status reporting to Linux

SYSTEM

  1. Verify correct poweroff and soft-reboot behaviour, including subsequent power-on.
  2. Verify full power domain switching -- each circuit which should be individually controlled should be able to be turned off and on by power management code without functionality problems.
  3. Verify correct operation temperature sensors, lid switch.
  4. Observe correct operation of power LED.
  5. Check manufacturing data in BIOS flash
  6. OpenFirmware self-update

WIRELESS

  1. Verify ability to upgrade/downgrade Boot2 code
  2. Verify association in standard 802.11 mode
  3. Verify WEP/WPA encryption
  4. Verify connection in mesh mode
  5. Obtain Legacy IP address by DHCP, verify connectivity.
  6. IPv6 connectivity with link-local addresses (no setup required)
  7. Obtain IPv6 address with RA, verify connectivity.
  8. Antenna switch

USB

  1. Verify correct power-up with high USB power draw
  2. Verify OpenFirmware and Linux correct operation with various hub/storage/ethernet/hid/other devices
  3. Verify correct operation with USB over-current situation. The USB should shut down; the system should not.
  4. OF boot from Ethernet
  5. OF boot from USB storage