Difference between revisions of "DFI NF570 Build Tutorial"

From coreboot
Jump to: navigation, search
Line 12: Line 12:
 
|CPU_L2_comments = CPU: L2 1024K (64 bytes/line}
 
|CPU_L2_comments = CPU: L2 1024K (64 bytes/line}
 
|CPU_L3_status = N/A
 
|CPU_L3_status = N/A
|CPU_multiple_status = OK
+
|CPU_multiple_status = N/A
 
|CPU_multicore_status = OK
 
|CPU_multicore_status = OK
 
|CPU_multicore_comments = Build packages that put the machine under a heavy load; gcc, linux and glibc were fine
 
|CPU_multicore_comments = Build packages that put the machine under a heavy load; gcc, linux and glibc were fine
Line 149: Line 149:
 
|CPU_L3_status = N/A
 
|CPU_L3_status = N/A
 
|CPU_multiple_status = N/A
 
|CPU_multiple_status = N/A
|CPU_multicore_status = Untested
+
|CPU_multicore_status = OK
|CPU_multicore_comments = I don't have a multicore CPU to test with.
+
|CPU_multicore_comments = Works fine
 
|CPU_virt_status = Untested
 
|CPU_virt_status = Untested
  
Line 157: Line 157:
 
|RAM_SODIMM_status = N/A
 
|RAM_SODIMM_status = N/A
 
|RAM_DDR_status = OK
 
|RAM_DDR_status = OK
|RAM_DDR_comments = Tested: One 256 MB DIMM in slot DIMM_B1 (see manual).
+
|RAM_DDR_comments = N/A
|RAM_DDR2_status = N/A
+
|RAM_DDR2_status = Test  2 by 2GB 667
 
|RAM_DDR3_status = N/A
 
|RAM_DDR3_status = N/A
 
|RAM_dualchannel_status = Untested
 
|RAM_dualchannel_status = Untested
Line 279: Line 279:
 
== Building coreboot ==
 
== Building coreboot ==
  
Currently there is no special target for the ASUS A8V-E Deluxe in coreboot. Instead, we use the ASUS A8V-E SE target.
 
 
First, place your [[Payloads|payload]] (usually [[FILO]]) into '''/tmp/filo.elf''' and build coreboot as usual:
 
 
$ cd target
 
$ ./buildtarget asus/a8v-e_se
 
$ cd asus/a8v-e_se/asus_a8v-e_se
 
$ make
 
 
The resulting '''coreboot.rom''' (512 KB) can now be [[Flashrom|flashed]] on a ROM chip.
 
 
It's possible to use a 1 MB ROM chip on this board. You'll have to change '''ROM_SIZE''' in '''targets/asus/a8v-e_se/Config.lb''' to make '''coreboot.rom''' bigger for that.
 
 
== Booting coreboot ==
 
 
* Booting from SATA port 1 works using [[FILO]] and this config (I have my root filesystem on '''/dev/sda2''' as viewed from Linux):
 
  kernel=hda2:/vmlinuz initrd=/initrd.img root=/dev/sda2 console=tty0 console=ttyS0,115200
 
* Booting from SATA port 2 doesn't yet work, I'll investigate.
 
* Booting from IDE doesn't yet work, I'll investigate.
 
 
== Comparing boot time ==
 
 
This is an ad-hoc test with pretty much no attempts at optimizing boot-times.
 
 
* BIOS: I disabled the boot logo, SATA RAID blob execution (i.e. I set "IDE mode" in the BIOS menu), floppy detection/usage in order to kill the most obvious delays.
 
* coreboot: Stock svn as of r3198, but with console logging level '''increased to 9''' (i.e. slower bootup is to be expected).
 
  
Both the proprietary BIOS and coreboot do execute the VGA BIOS ROM from the PCI-E x16 graphics card. I'm booting from a SATA drive, using FILO in coreboot and pointing it at the '''menu.lst''' on the SATA drive, and GRUB when booting with the proprietary BIOS. The OS is a standard Debian unstable installation with 2.6.24 Linux kernel.
 
  
 
{| border="0" style="font-size: smaller"
 
{| border="0" style="font-size: smaller"

Revision as of 16:18, 7 November 2008

This page describes how to use coreboot on the [ http://us.dfi.com.tw/Product/xx_product_spec_details_r_us.jsp?PRODUCT_ID=5115&CATEGORY_TYPE=INFINITY&SITE=US DFI Infinity NF570 series] mainboard. It is maintained by Chris Lingard.

Status =

Device/functionality Status Comments
CPU
CPU works OK I'm using: CPU model AMD Athlon(tm) X2 dual core Processor 6000+
L1 cache enabled OK CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
L2 cache enabled OK CPU: L2 Cache: 256K (64 bytes/line)
L3 cache enabled N/A
Multiple CPU support N/A
Multi-core support OK Works fine
Hardware virtualization Untested
RAM
EDO N/A
SDRAM N/A
SO-DIMM N/A
DDR OK N/A
DDR2 Test 2 by 2GB 667
DDR3 N/A
Dual channel support Untested
ECC support Untested
On-board Hardware
On-board IDE 3.5" OK Tested: Mounting an IDE disk in Linux. Booting from IDE is untested.
On-board IDE 2.5" N/A
On-board SATA OK Tested: SATA port 1 (hda in FILO). SATA port 2 doesn't seem to work, yet.
On-board SCSI Unknown
On-board USB OK Tested: USB keyboard on all 8 USB ports.
On-board VGA N/A
On-board Ethernet OK
On-board Audio OK
On-board Modem N/A
On-board FireWire Untested
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 N/A
Audio/Modem-Riser (AMR/CNR) cards N/A
PCI add-on cards OK Tested: PCI VGA card in all 3 PCI slots.
Mini-PCI add-on cards Unknown
Mini-PCI-Express add-on cards Unknown
PCI-X add-on cards Unknown
AGP graphics cards N/A
PCI Express x1 add-on cards OK Tested: PCI Express x1 network card in the first slot (nearer to CPU). Not sure if the other slot works ok.
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 OK Tested: PCI Express x16 VGA card. Works using the ati X11 driver.
PCI Express x32 add-on cards N/A
HTX add-on cards N/A
Legacy / Super I/O
Floppy WIP Doesn't seem to work, yet. Might be a Super I/O problem.
Serial port 1 (COM1) OK
Serial port 2 (COM2) N/A
Parallel port OK Tested: Parallel-port JTAG adapter using openocd, works fine after modprobe ppdev.
PS/2 keyboard OK
PS/2 mouse OK
Game port OK Works fine after modprobe analog and modprobe ns558. Tested using jscalibrator.
Infrared N/A
PC speaker OK
DiskOnChip N/A
Input
Trackpoint N/A
Touchpad N/A
Fn Hotkeys N/A
Fingerprint Reader N/A
Laptop
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
Miscellaneous
Sensors / fan control OK The k8temp module loads fine, the sensors tool outputs the CPU temperature correctly. The w83627ehf module (for various temperatures and fan speeds) works fine. Also, the eeprom and i2c-viapro / i2c-dev modules load fine.
Hardware watchdog Untested The VT8237R seems to have a watchdog timer, but it's untested.
SMBus Unknown
CAN bus N/A
CPU frequency scaling WIP Doesn't work, yet.
Other powersaving features N/A
ACPI Untested Exact status unknown/untested. Originally implemented for ASUS A8V-E SE, might need some changes. Reboot and poweroff do work ok, though.
Reboot OK
Poweroff OK
Suspend Unknown
Nonstandard LEDs OK There's a power-on LED on the board PCB, it lights up when the board is powered up.
High precision event timers (HPET) OK The dmesg output has ACPI: HPET id: 0x102282a0 base: 0xfed00000, and hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, and hpet0: 3 32-bit timers, 14318180 Hz. Powertop reports a very good value of 9 wake-ups-from-idle per second, which indicates that HPET support might work ok.
Random number generator (RNG) N/A
Wake on modem ring Untested
Wake on LAN Untested
Wake on keyboard Untested
Wake on mouse Untested
TPM Unknown
Flashrom OK Works fine with coreboot and with the proprietary BIOS. The board/chipset/flashrom can decode 1MB chips fine.

Hardware

  • AMD K8
  • VIA K8T890
  • VIA VT8237R
  • Winbond W83627EHF

lspci -tvnn

-[0000:00]-+-00.0  VIA Technologies, Inc. K8T890 Host Bridge [1106:0238]
           +-00.1  VIA Technologies, Inc. K8T890 Host Bridge [1106:1238]
           +-00.2  VIA Technologies, Inc. K8T890 Host Bridge [1106:2238]
           +-00.3  VIA Technologies, Inc. K8T890 Host Bridge [1106:3238]
           +-00.4  VIA Technologies, Inc. K8T890 Host Bridge [1106:4238]
           +-00.5  VIA Technologies, Inc. K8T890 I/O APIC Interrupt Controller [1106:5238]
           +-00.7  VIA Technologies, Inc. K8T890 Host Bridge [1106:7238]
           +-01.0-[0000:01]--
           +-02.0-[0000:02]--
           +-03.0-[0000:03]--
           +-03.1-[0000:04]--
           +-03.2-[0000:05]----00.0  Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller [11ab:4362]
           +-03.3-[0000:06]--
           +-07.0 Marvell Technology Group Ltd. 88W8310 and 88W8000G [Libertas] 802.11g client chipset [11ab:1fa7]
           +-08.0 Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link) [104c:8023]
           +-0f.0  VIA Technologies, Inc. VIA VT6420 SATA RAID Controller [1106:3149]
           +-0f.1  VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE [1106:0571]
           +-10.0  VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller [1106:3038]
           +-10.1  VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller [1106:3038]
           +-10.2  VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller [1106:3038]
           +-10.3  VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller [1106:3038]
           +-10.4  VIA Technologies, Inc. USB 2.0 [1106:3104]
           +-11.0  VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South] [1106:3227]
           +-11.5  VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller [1106:3059]
           +-11.6  VIA Technologies, Inc. AC'97 Modem Controller [1106:3068]
           +-18.0  Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration [1022:1100]
           +-18.1  Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map [1022:1101]
           +-18.2  Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller [1022:1102]
           \-18.3  Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control [1022:1103]

Building coreboot

BIOS Power up — OS loader Linux — shell Summary
Vendor BIOS (boot from SATA disk) 24s 24s 48s
coreboot (boot from SATA disk) 9s 24s 33s


Public domain I, the copyright holder of this work, hereby release it into the public domain. This applies worldwide.

In case this is not legally possible:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.