Board Testing HOWTO: Difference between revisions

From coreboot
Jump to navigation Jump to search
(→‎On-board hardware: On-board USB.)
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This page gives you hints on how to test the LinuxBIOS support for your mainboard and all components present on the board.
This page gives you hints on how to test the coreboot support for your mainboard and all components present on the board.


We try to maintain one build tutorial / status page for every supported LinuxBIOS mainboard. The status table is always implemented using the [[Template:Status|status template]] in this wiki. A [[Template:Status#Usage_Example|usage example]] is available, but you can also look at existing status pages.
We try to maintain one build tutorial / status page for every supported coreboot mainboard. The status table is always implemented using the [[Template:Status|status template]] in this wiki. A [[Template:Status#Usage_Example|usage example]] is available, but you can also look at existing status pages.


For each item in the status table, this page describes how you can test the respective hardware part.
For each item in the status table, this page describes how you can test the respective hardware part.
Line 40: Line 40:
* If that doesn't work, check that you actually have a speaker correctly attached and also try '''modprobe pcspkr'''.
* If that doesn't work, check that you actually have a speaker correctly attached and also try '''modprobe pcspkr'''.


== Miscellaneous ==
== Flashrom ==
 
=== Flashrom ===
 
* <div style="color:red">DO NOT ATTEMPT TO FOLLOW THESE INSTRUCTIONS UNLESS YOU KNOW WHAT YOU ARE DOING! THIS CAN RENDER YOUR MAINBOARD TOTALLY UNUSABLE! YOU HAVE BEEN WARNED!</div>
* To check whether [[flashrom]] knows about your chipset and ROM chip, run '''flashrom'''.
* If it says "Found chipset CHIPSETNAME..." and "CHIPNAME found at..." that's a good first sign.
* To check if you can read the existing BIOS image from the chip, run '''flashrom -r backup.bin'''.
* Now the really important part, checking if ''writing'' an image on the chip works:
** First make sure you have a backup chip containing the original BIOS. Also, you should have verified that it actually boots your system successfully. Put away that backup chip somewhere safe.
** Try inserting a ROM chip which you can safely overwrite (e.g. an empty one you bought). Then write an image onto the chip, which is ''different'' from what's on the chip right now: '''flashrom -wv new.bin'''. If this works and flashrom reports "VERIFIED" your board is supported by flashrom.
** If not, you might try to enable the "Enable BIOS Update" or "Write-protect BIOS" or similar options in your BIOS CMOS menu first, or set a jumper on your board (this is highly board-dependent). Also, you might have to use the flashrom <tt>--mainboard</tt> switch for some boards.
** If none of the above helps (but flashrom still ''does'' detect your chipset and ROM chip), there's quite likely a board-specific initialization required in flashrom, which is non-trivial to add (e.g. toggling certain custom GPIO lines etc).
* Please check/update the [[Flashrom#Supported_mainboards|list of boards supported by flashrom]] accordingly (whether it works or does not work on your board).


See http://flashrom.org/Board_Testing_HOWTO.


{{GPL}}
{{GPL}}

Latest revision as of 14:05, 2 April 2013

This page gives you hints on how to test the coreboot support for your mainboard and all components present on the board.

We try to maintain one build tutorial / status page for every supported coreboot mainboard. The status table is always implemented using the status template in this wiki. A usage example is available, but you can also look at existing status pages.

For each item in the status table, this page describes how you can test the respective hardware part.


RAM

CPU

On-board hardware

IDE

IDE 3.5"

IDE 2.5"

IDE-to-CF

On-board USB

  • Test at least one "full-speed" (USB 1.1) device (e.g. USB keyboard) and one "hi-speed" (USB 2.0) device (e.g. DVB-T adapter).
  • Test both of the above devices on all available USB connectors. This includes the usual on-board connectors, but there may also be pin headers on the board where you can add further USB connectors.

Add-on slots/cards

Legacy / Super I/O

Parallel port

  • Try loading the ppdev and parport_pc kernel modules: modprobe ppdev; modprobe parport_pc. Check if there were errors using dmesg.
  • Try to actually use a parallel port device (e.g. a printer).
  • If there are errors/problems, please post the superiotool -dV output on the mailing list and ask the developers for help.

PC speaker

  • Try to create a beep on the PC speaker. There are various ways to do that, e.g. you can use the Debian package beep (apt-get install beep).
  • If that doesn't work, check that you actually have a speaker correctly attached and also try modprobe pcspkr.

Flashrom

See http://flashrom.org/Board_Testing_HOWTO.

GNU head This work is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version. This work is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.