From coreboot
Revision as of 05:39, 6 February 2009 by Juri (talk | contribs) (remove video references, use the closest memoy socket...)
Jump to: navigation, search

The wiki is being retired!

Documentation is now handled by the same processes we use for code: Add something to the Documentation/ directory in the coreboot repo, and it will be rendered to Contributions welcome!

The ASUS P2B-F, revision 1.00


Device/functionality Status Comments
CPU works OK
L1 cache enabled OK CPU: L1 I cache: 16K, L1 D cache: 16K
L2 cache enabled WIP L2 cache is not being enabled at the moment. We're working on fixing it.
L3 cache enabled N/A
Multiple CPU support N/A
Multi-core support N/A
Hardware virtualization N/A
SDRAM OK Works, but currently the RAM settings are hardcoded to one 64MB DIMM and certain speed settings. This will be fixed soon, a patch is on the way.
Dual channel support N/A
ECC support WIP Not yet supported by the coreboot 440BX code, but it's on our TODO list.
On-board Hardware
On-board IDE 3.5" Untested
On-board IDE 2.5" N/A
On-board SATA N/A
On-board SCSI N/A
On-board USB OK Tested: USB keyboard in both USB ports.
On-board VGA N/A
On-board Ethernet N/A
On-board Audio N/A
On-board Modem N/A
On-board FireWire N/A
On-board Smartcard reader N/A
On-board CompactFlash N/A
On-board PCMCIA N/A
On-board Wifi N/A
On-board Bluetooth N/A
On-board SD card reader N/A
Add-on slots/cards
ISA add-on cards Untested
Audio/Modem-Riser (AMR/CNR) cards N/A
PCI add-on cards OK Tested: PCI VGA card in all five PCI slots.
Mini-PCI add-on cards N/A
Mini-PCI-Express add-on cards Unknown
PCI-X add-on cards Unknown
AGP graphics cards OK Tested: AGP graphics card (ATI 3D Rage Pro AGP 1X/2X).
PCI Express x1 add-on cards N/A
PCI Express x2 add-on cards N/A
PCI Express x4 add-on cards N/A
PCI Express x8 add-on cards N/A
PCI Express x16 add-on cards N/A
PCI Express x32 add-on cards N/A
HTX add-on cards N/A
Legacy / Super I/O
Floppy Untested
Serial port 1 (COM1) OK
Serial port 2 (COM2) Untested
Parallel port OK Doing modprobe ppdev works fine, but further tests were not performed.
PS/2 keyboard WIP
PS/2 mouse WIP
Game port N/A
Infrared N/A
PC speaker OK
DiskOnChip N/A
Trackpoint N/A
Touchpad N/A
Fn Hotkeys N/A
Fingerprint Reader N/A
Docking VGA N/A
Docking LAN N/A
Docking USB N/A
Docking Audio N/A
Docking Displayport N/A
Thinklight N/A
Webcam N/A
Sensors / fan control OK Works fine, you can use the w83781d, i2c-piix4, and eeprom kernel modules.
Hardware watchdog N/A
SMBus Untested
CAN bus N/A
CPU frequency scaling N/A
Other powersaving features N/A
ACPI No There's no ACPI implementation for this board.
Reboot WIP
Poweroff No
Suspend Unknown
Nonstandard LEDs N/A No special-purpose LEDs available on the board.
High precision event timers (HPET) N/A
Random number generator (RNG) N/A
Wake on modem ring
Wake on LAN
Wake on keyboard
Wake on mouse
TPM Unknown
Flashrom OK Works on both the vendor BIOS as well as on coreboot.

Build tutorial

First, before thinking of using coreboot, make sure you have a backup of your current BIOS image(see Flashrom), and the correct facilities to replace that image, if it becomes corrupt. Assuming you have a backup and restore procedure, continue with the following(which may destroy your board anyways! you have been warned!)

It is recommended that you have a known good PCI video card, a known good single sided PC100 non-ecc dimm, and a known good null modem cable before you proceed, for error recovery. At this point, it is recommended that you have many dimms, as the timings are compiled into the bios, and theres no good way to know your dimm is going to work after flashing.

CoreBoot has multiple Payloads used for the boot process (SeaBIOS, FILO, GRUB2, etc), and you must build a payload first, so that CoreBoot can build it into itsself.

after your payload is compiled(assuming you compiled the FILO payload), copy the resulting file to /tmp/filo.elf, then:

Check out a copy of coreboot-v2

$ svn co svn://

Build the files used to build the bios

$ cd coreboot-v2/targets
$ ./buildtarget asus/p2b-f

Build the bios itsself

$ cd asus/p2b-f/p2b-f
$ make -s

The resulting coreboot.rom is your coreboot ROM image you can flash using flashrom.


So, you installed coreboot, and now your board doesn't board boot?

First, check the serial port, and see what sort of output you're getting.

The following is what the section of coreboot on the P2B-F shows when enabling ram:

RAM Enable 1: Apply NOP
RAM Enable 2: Precharge all
RAM Enable 3: CBR
RAM Enable 4: Mode register set
RAM Enable 5: Normal operation
RAM Enable 6: Enable refresh
    Enabling refresh (DRAMC = 0x09) for DIMM 00

If in your output, you do not see the 'Enabling refresh' line, your ram chip is not being detected, or refreshed. try a different dimm, and make sure you're placing it in slot 1 (the slot closest to the CPU).

If this doesn't solve your problem, remove all the PCI or ISA components. then remove your IDE and floppy devices, and try again. If that still does not give you output on the serial port, you likely have a bad flash or bad cable (you did test it, right?). if you get partial output from the serial, but do not get to the point where you see your payload booting your system, then its time to upload the serial output you're getting after simplifying your hardware configuration to a paste website, and drop by IRC or the mailing list, and ask for help.

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.