From coreboot
Revision as of 22:04, 8 November 2007 by Uwe (talk | contribs) (Building LinuxBIOS)
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!

This page describes how to use LinuxBIOS on the AZZA PT-6IBD.

After noticing that my motherboard is not fully supported I found much appreciated help on IRC. I submited some of my data to the guys there and with some patching things finally booted. ;)

Manual: UM-IBD-E5.PDF


Device/functionality Status Comments
CPU works OK
L1 cache enabled OK
L2 cache enabled WIP
L3 cache enabled Unknown
Multiple CPU support N/A
Multi-core support N/A
Hardware virtualization N/A
SDRAM WIP Currently the RAM init is hard-coded to a single 64MB DIMM with certain settings. This will be fixed soon.
DDR3 Unknown
Dual channel support N/A
ECC support WIP Not yet supported by the LinuxBIOS 440BX code. This board supports ECC according to the manual.
On-board Hardware
On-board IDE 3.5" OK
On-board IDE 2.5" N/A
On-board SATA N/A
On-board SCSI Unknown
On-board USB OK Tested: USB keyboard.
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 Unknown
PCI add-on cards OK
Mini-PCI add-on cards Unknown
Mini-PCI-Express add-on cards Unknown
PCI-X add-on cards Unknown
AGP graphics cards OK Tested: 3DFX Voodoo3.
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) Untested
Serial port 2 (COM2) OK
Parallel port OK Doing modprobe ppdev works, but further tests were not performed.
PS/2 keyboard Untested
PS/2 mouse Untested
Game port N/A
Infrared Untested
PC speaker WIP Doing modprobe pcspkr works and device shows in /dev — I hear no sound, though (probably my configuration).
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 Untested
Hardware watchdog Untested
SMBus Unknown
CAN bus N/A
CPU frequency scaling N/A
Other powersaving features Untested
Reboot OK
Poweroff No Probably needs ACPI to work.
Suspend Unknown
Nonstandard LEDs N/A
High precision event timers (HPET) N/A
Random number generator (RNG) Unknown
Wake on modem ring Untested
Wake on LAN Untested
Wake on keyboard Untested
Wake on mouse Untested
TPM Unknown
Flashrom OK


  • Northbridge: Intel 440BX
  • Southbridge: Intel 82371EB
  • Super I/O: Winbond W83977EF

To check the hardware the way LinuxBIOS sees it, I used already made programs that LinuxBIOS offers. As I use Gentoo, I hacked up a few ebuilds that install the latest svn versions of these programs. You can find them on this Gentoo Forums thread.

# superiotool -dV

Superiotool showed me which (if any) Super I/O chip is on the motherboard.

# flashrom -V

This tool showed me which ROM chip is used in the mainboard, and whether Flashrom supports it.

Build process

Checkout and Patching

After you get all the data from your computer by looking with eyes on the motherboard and checking the same things with the above programs, you need to do the following.

Make yourself a directory and checkout the svn repository for LinuxBIOSv2:

# svn co svn://

If you want to use the patch with Gentoo ebuilds, add it as specified here.


Then get FILO from svn:

# cd ..
# svn co svn://


# cd filo-0.5
# make

Now edit the Config file with your favorite editor as you wish.

# nano Config

Here is what I ended up with:

MENULST_FILE = "hda1:/boot/grub/menu.lst"

After you're satisfied do make again and copy filo.elf to /tmp:

# make
# cp filo.elf /tmp

Building LinuxBIOS

Lets create the linuxbios.rom file for the motherboard:

# cd ../LinuxBIOSv2/targets
# ./buildtarget azza/pt-6ibd && cd azza/pt-6ibd/pt-6ibd && make

We ended in the motherboard's directory, where the linuxbios.rom file resides now.

Flashing LinuxBIOS

Let's put the newly made linuxbios.rom file on the ROM chip. Be sure you have the right ROM chip in the board, so you don't accidentaly ruin your original chip.

Then do

# flashrom -wv linuxbios.rom


Now reboot the machine and see if it boots ok.

When I did the above procedure my LinuxBIOS made use of only 64 MB of RAM. Some additional patches are still needed (this is being worked on).

But the result is fantastic anyway. Usual time for boot was long, 10-15s at least, now its close to 0s.

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.