Difference between revisions of "Board:asus/p2b-f"

From coreboot
Jump to: navigation, search
(detail the build process)
(Build tutorial)
(13 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 41: Line 39:
 
|Onboard_CF_status = N/A
 
|Onboard_CF_status = N/A
 
|Onboard_PCMCIA_status = N/A
 
|Onboard_PCMCIA_status = N/A
 +
|Onboard_SCSI_status = N/A
  
 
|ISA_cards_status = Untested
 
|ISA_cards_status = Untested
Line 46: Line 45:
 
|AGP_cards_status = OK
 
|AGP_cards_status = OK
 
|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
 +
|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 76: 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
 
|Reboot_status = WIP
 
|Reboot_status = WIP
 
|Poweroff_status = No
 
|Poweroff_status = No
Line 93: Line 95:
  
 
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. 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 98: 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
+
 
 +
== 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).
  
Build the files used to build the bios
+
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.
$ cd coreboot-v2/targets
+
$ ./buildtarget asus/p2b-f
+
  
Build the bios itsself
+
= Known Working Revisions =
$ cd asus/p2b-f/p2b-f
+
$ make -s
+
  
The resulting '''coreboot.rom''' is your coreboot ROM image you can flash using [[flashrom]].
+
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}}

Revision as of 08:11, 5 May 2010

The ASUS P2B-F, revision 1.00

Status

Device/functionality Status Comments
CPU
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
RAM
EDO WIP
SDRAM OK
SO-DIMM N/A
DDR N/A
DDR2 N/A
DDR3 N/A
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
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
PCI-X add-on cards N/A
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
Miscellaneous
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
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:

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.