BoardTestPlan: Difference between revisions
Jump to navigation
Jump to search
RafaelOrtiz (talk | contribs) mNo edit summary |
RafaelOrtiz (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
= Board test plan = |
= 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, |
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. |
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. |
||
Line 8: | Line 8: | ||
== DCON == |
== DCON == |
||
# Check DCON <-> VGA mode transitions. They should be glitchless and an IRQ should arrive promptly. |
# Check '''DCON''' <-> '''VGA''' mode transitions. They should be glitchless and an '''IRQ''' should arrive promptly. |
||
# Check sleep mode and auto-sleep mode. |
# Check sleep mode and auto-sleep mode. |
||
# Check ECPWRRQST transition from sleep mode. |
# Check '''ECPWRRQST''' transition from sleep mode. |
||
# Check blanking. |
# Check blanking. |
||
# Check dot-clock divider setting to request DCON mode refresh frequency |
# Check dot-clock divider setting to request '''DCON''' mode refresh frequency |
||
# Check colour, anti-aliasing, monochrome modes. Watch for setup/hold time problems on the display. |
# Check colour, anti-aliasing, monochrome modes. Watch for setup/hold time problems on the display. |
||
# Set backlight to each level 0-15. Check for noise and fluctuations. |
# Set backlight to each level 0-15. Check for noise and fluctuations. |
||
# Check correctness of colours in colour mode |
# Check correctness of colours in colour mode |
||
# Verify SDRAM self-refresh: Enter DCON mode, enter sleep mode, wait. Enter DCON mode again. |
# Verify '''SDRAM''' self-refresh: Enter ''DCON''' mode, enter sleep mode, wait. Enter ''DCON''' mode again. |
||
== NAND == |
== NAND == |
||
# 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 |
# OpenFirmware boot from '''NAND''' |
||
# Linux root filesystem on NAND |
# Linux root filesystem on '''NAND''' |
||
== SD == |
== SD == |
||
Line 30: | Line 30: | ||
# Test high-speed mode |
# Test high-speed mode |
||
# 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) |
# OpenFirmware boot from '''SD''' (when supported) |
||
== AUDIO == |
== AUDIO == |
||
Line 61: | Line 61: | ||
== BATTERY == |
== BATTERY == |
||
# 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 Battery Management System operation with full, low and absent batteries. Check especially for overcharge and undercharge behavior |
# Verify full Battery Management System operation with full, low and absent batteries. Check especially for overcharge and undercharge behavior |
||
# Correct operation of battery LED |
# Correct operation of battery '''LED''' |
||
# Battery status reporting to Linux |
# Battery status reporting to Linux |
||
# Process |
# Process |
||
Line 75: | Line 75: | ||
##* See that the battery shows not present |
##* See that the battery shows not present |
||
## Reinsert the battery |
## Reinsert the battery |
||
##* |
##* Check that the battery shows present and charging again |
||
== SYSTEM == |
== SYSTEM == |
||
Line 82: | Line 82: | ||
# 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. |
# 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. |
||
# Verify correct operation temperature sensors, lid switch. |
# Verify correct operation temperature sensors, lid switch. |
||
# 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 |
# OpenFirmware self-update |
||
Line 90: | Line 90: | ||
# Verify ability to upgrade/downgrade Boot2 code |
# Verify ability to upgrade/downgrade Boot2 code |
||
# Verify association in standard 802.11 mode |
# Verify association in standard 802.11 mode |
||
# Verify WEP/WPA encryption |
# Verify '''WEP/WPA''' encryption |
||
# Verify connection in mesh mode |
# Verify connection in mesh mode |
||
# Obtain Legacy IP address by DHCP, verify connectivity. |
# Obtain Legacy '''IP''' address by '''DHCP''', verify connectivity. |
||
# IPv6 connectivity with link-local addresses (no setup required) |
# '''IPv6''' connectivity with link-local addresses (no setup required) |
||
# Obtain IPv6 address with RA, verify connectivity. |
# Obtain '''IPv6''' address with '''RA''', verify connectivity. |
||
# Antenna switch |
# Antenna switch |
||
== USB == |
== USB == |
||
# Verify correct power-up with high USB power draw |
# Verify correct power-up with high '''USB''' power draw |
||
# 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 |
||
# Make sure all three ports are functional! |
# Make sure all three ports are functional! |
||
# 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 Ethernet |
||
# OF boot from USB storage |
# OF boot from '''USB''' storage |
Revision as of 07:25, 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
- Check DCON <-> VGA mode transitions. They should be glitchless and an IRQ should arrive promptly.
- Check sleep mode and auto-sleep mode.
- Check ECPWRRQST transition from sleep mode.
- Check blanking.
- Check dot-clock divider setting to request DCON mode refresh frequency
- Check colour, anti-aliasing, monochrome modes. Watch for setup/hold time problems on the display.
- Set backlight to each level 0-15. Check for noise and fluctuations.
- Check correctness of colours in colour mode
- Verify SDRAM self-refresh: Enter DCON mode, enter sleep mode, wait. Enter DCON mode again.
NAND
- Benchmark read/write access on each type of NAND part
- Introduce 1-4 symbol errors in page and verify correct correction.
- OpenFirmware boot from NAND
- Linux root filesystem on NAND
SD
- Test insertion/detection, hotplug removal.
- Test high-speed mode
- Benchmark read/write speed on low-speed and high-speed devices
- Test MMC and SD devices
- OpenFirmware boot from SD (when supported)
AUDIO
- Test headphone output and speakers, verify unclipped output at volume on each.
- Test internal and external microphone input; check for good input levels without noise.
- Check for detection of microphone and headphone plugs
- Analogue input test
CAMERA
- Verify correct image in both overlay and capture modes
- Once we have test program, that contrast, chroma, flip all work.
KEYBOARD
- Verify scancodes from main keyboard keys (and that all keys are reported)
- Verify scancodes of additional keys on unit -- joypad, game buttons, mode
- Verify power button input functional
- Verify multiple-key-press functional with no 'ghost' keys
TOUCHPAD
- Verify capacitive<->resistive mode switching
- Verify noiseless operation in capacitive mode, especially on first touch
- Verify operation in resistive mode across whole area of pad
- Check (rough) calibration by edge of screen matching marks on the touch pad.
BATTERY
- Verify EC functionality after battery overdrain (low voltage). It should reset and battery should charge correctly.
- Verify full Battery Management System operation with full, low and absent batteries. Check especially for overcharge and undercharge behavior
- Correct operation of battery LED
- Battery status reporting to Linux
- Process
- Check that the battery shows charging or charged
- Unplug the machine
- Check that the battery shows present and
- Check that the machine does not show it is plugged in
- Plug in the machine
- Check that the battery shows charging
- Unplug the battery
- See that the battery shows not present
- Reinsert the battery
- Check that the battery shows present and charging again
SYSTEM
- Verify correct poweroff and soft-reboot behaviour, including subsequent power-on.
- 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.
- Verify correct operation temperature sensors, lid switch.
- Observe correct operation of power LED.
- Check manufacturing data in BIOS flash
- OpenFirmware self-update
WIRELESS
- Verify ability to upgrade/downgrade Boot2 code
- Verify association in standard 802.11 mode
- Verify WEP/WPA encryption
- 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
- Verify correct power-up with high USB power draw
- Verify OpenFirmware and Linux correct operation with various hub/storage/ethernet/hid/other devices
- Make sure all three ports are functional!
- 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