Board:asus/p2b-f: Difference between revisions

From coreboot
Jump to navigation Jump to search
(SMBus is really untested.)
m (Phcoder moved page ASUS P2B-F to Board:asus/p2b-f)
 
(8 intermediate revisions by 4 users not shown)
Line 15: Line 15:
|CPU_virt_status = N/A
|CPU_virt_status = N/A


|RAM_EDO_status = N/A
|RAM_EDO_status = WIP
|RAM_SDRAM_status = OK
|RAM_SDRAM_status = OK
|RAM_SDRAM_comments = 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.
|RAM_SODIMM_status = N/A
|RAM_SODIMM_status = N/A
|RAM_DDR_status = N/A
|RAM_DDR_status = N/A
Line 27: Line 26:


|IDE_status = Untested
|IDE_status = Untested
|IDE_CF_status = OK
|IDE_25_status = N/A
|IDE_25_status = N/A
|CDROM_DVD_status = Untested
|CDROM_DVD_status = Untested
Line 48: Line 46:
|AGP_cards_comments = Tested: AGP graphics card (ATI 3D Rage Pro AGP 1X/2X).
|AGP_cards_comments = Tested: AGP graphics card (ATI 3D Rage Pro AGP 1X/2X).
|Mini_PCI_cards_status = N/A
|Mini_PCI_cards_status = N/A
|PCIX_cards_status = N/A
|PCI_cards_status = OK
|PCI_cards_status = OK
|PCI_cards_comments = Tested: PCI VGA card in all five PCI slots.
|PCI_cards_comments = Tested: PCI VGA card in all five PCI slots.
Line 78: Line 77:
|ACPI_status = No
|ACPI_status = No
|ACPI_comments = There's no ACPI implementation for this board.
|ACPI_comments = There's no ACPI implementation for this board.
SMBus_status = Untested
|SMBus_status = Untested
|Reboot_status = WIP
|Reboot_status = WIP
|Poweroff_status = No
|Poweroff_status = No
Line 97: Line 96:
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!)
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.
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.
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.
Line 103: Line 102:
after your payload is compiled(assuming you compiled the [[FILO]] payload), copy the resulting file to /tmp/filo.elf, then:
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
See the [[Build HOWTO]] for information on how to build coreboot for this board.
$ svn co svn://coreboot.org/repos/trunk/coreboot-v2
 
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]].


== Troubleshooting ==
== Troubleshooting ==


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


First, check the serial port, and see what sort of output you're getting.  
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 for memory setup:
The following is what the section of coreboot on the P2B-F shows when enabling ram:


  RAM Enable 1: Apply NOP
  RAM Enable 1: Apply NOP
Line 132: Line 120:
     Enabling refresh (DRAMC = 0x09) for DIMM 00
     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 ram dimm, or a different dimm socket.
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.
 
= Known Working Revisions =


If this doesn't solve your problem, remove all the PCI or ISA components other than your PCI video card (you do have one of those, right?). then remove your IDE and floppy devices, and try again. If that still does not give you output ,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.
Coreboot revision 3949 + filo 0.5.6 version 85 (keyboard does not work! builds a 128K image, make sure to slim filo down!)


{{GPL}}
{{GPL}}

Latest revision as of 23:21, 18 January 2014

The ASUS P2B-F, revision 1.00

Status

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

See the Build HOWTO for information on how to build coreboot for this board.

Troubleshooting

So, you installed coreboot, and now your board doesn't 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.

Known Working Revisions

Coreboot revision 3949 + filo 0.5.6 version 85 (keyboard does not work! builds a 128K image, make sure to slim filo down!)

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.