Board:asi/mb 5blmp: Difference between revisions

From coreboot
Jump to navigation Jump to search
(Start ASI MB-5BLMP build tutorial.)
 
(More info.)
Line 17: Line 17:


== Notes ==
== Notes ==
...
== Serial console ==
...
=== FILO Config file ===
USE_GRUB = 1
MENULST_FILE = "hda1:/boot/grub/menu.lst"
MENULST_TIMEOUT = 0
AUTOBOOT_FILE = "hda1:/vmlinuz initrd=/initrd.img root=/dev/hda1 console=tty0 console=ttyS0,115200"
AUTOBOOT_DELAY = 0
IDE_DISK = 1
USB_DISK = 0
VGA_CONSOLE = 1
PC_KEYBOARD = 1
SERIAL_CONSOLE = 1
SERIAL_IOBASE = 0x3f8
FSYS_EXT2FS = 1
FSYS_FAT = 0
FSYS_REISERFS = 0
FSYS_ISO9660 = 1
ELTORITO = 1
SUPPORT_PCI = 1
PCI_BRUTE_SCAN = 1
LINUX_LOADER = 1
=== /boot/grub/menu.lst ===
kernel /vmlinuz root=/dev/hda1 ro <span style="color: red;">console=tty0 console=ttyS0,115200</span>
=== /etc/inittab ===
T0:23:respawn:/sbin/getty <span style="color: red;">-L ttyS0 115200</span> vt100
== Detailed System Information ==
The following information was gathered on a running Linux system, booted via the proprietary BIOS:
=== lspci -nn ===
00:00.0 Host bridge [0600]: Cyrix Corporation PCI Master [1078:0001]
00:0f.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ [10ec:8139] (rev 10)
00:12.0 ISA bridge [0601]: Cyrix Corporation 5530 Legacy [Kahlua] [1078:0100]
00:12.1 Bridge [0680]: Cyrix Corporation 5530 SMI [Kahlua] [1078:0101]
00:12.2 IDE interface [0101]: Cyrix Corporation 5530 IDE [Kahlua] [1078:0102]
00:12.3 Multimedia audio controller [0401]: Cyrix Corporation 5530 Audio [Kahlua] [1078:0103]
00:12.4 VGA compatible controller [0300]: Cyrix Corporation 5530 Video [Kahlua] [1078:0104]
00:13.0 USB Controller [0c03]: Compaq Computer Corporation ZFMicro Chipset USB [0e11:a0f8] (rev 06)
=== lspci -tv ===
-[0000:00]-+-00.0  Cyrix Corporation PCI Master
            +-0f.0  Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
            +-12.0  Cyrix Corporation 5530 Legacy [Kahlua]
            +-12.1  Cyrix Corporation 5530 SMI [Kahlua]
            +-12.2  Cyrix Corporation 5530 IDE [Kahlua]
            +-12.3  Cyrix Corporation 5530 Audio [Kahlua]
            +-12.4  Cyrix Corporation 5530 Video [Kahlua]
            \-13.0  Compaq Computer Corporation ZFMicro Chipset USB
=== /proc/cpuinfo ===
processor      : 0
vendor_id      : CyrixInstead
cpu family      : 5
model          : 7
model name      : Cyrix MediaGXtm MMXtm Enhanced
stepping        : 4
cpu MHz        : 233.884
cache size      : 16 KB
fdiv_bug        : no
hlt_bug        : no
f00f_bug        : no
coma_bug        : no
fpu            : yes
fpu_exception  : yes
cpuid level    : 2
wp              : yes
flags          : fpu tsc msr cx8 cmov mmx cxmmx up
bogomips        : 476.30
=== lspci -s 0:0.0 -xxx ===
00:00.0 Host bridge: Cyrix Corporation PCI Master
00: 78 10 01 00 07 00 80 02 00 00 00 06 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 1e 14 00 c1 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=== lspnp ===
00:00 PNP0000 AT programmable interrupt controller
00:01 PNP0200 AT DMA controller
00:02 PNP0100 AT system timer
00:03 PNP0b00 AT real-time clock
00:04 PNP0303 IBM enhanced keyboard (101/102-key, PS/2 mouse support)
00:05 PNP0800 AT speaker
00:06 PNP0c04 Math coprocessor
00:07 PNP0c01 System board
00:08 PNP0c02 Motherboard resources
00:09 PNP0a03 PCI bus
00:0c PNP0c02 Motherboard resources
00:0d PNP0c02 Motherboard resources
00:0e PNP0501 16550A-compatible serial port
00:0f PNP0700 PC standard floppy disk controller
00:10 PNP0400 Standard LPT printer port
00:12 PNP0501 16550A-compatible serial port
=== lspnp -v ===
00:00 PNP0000 AT programmable interrupt controller
    state = active
        io 0x20-0x21
        io 0xa0-0xa1
        irq 2
00:01 PNP0200 AT DMA controller
    state = active
        io 0x0-0xf
        io 0x81-0x83
        io 0x87-0x87
        io 0x89-0x8b
        io 0x8f-0x91
        io 0xc0-0xdf
        dma 4
00:02 PNP0100 AT system timer
    state = active
        io 0x40-0x43
        irq 0
00:03 PNP0b00 AT real-time clock
    state = active
        io 0x70-0x71
        irq 8
00:04 PNP0303 IBM enhanced keyboard (101/102-key, PS/2 mouse support)
    state = active
        io 0x60-0x60
        io 0x64-0x64
        irq 1
00:05 PNP0800 AT speaker
    state = active
        io 0x61-0x61
00:06 PNP0c04 Math coprocessor
    state = active
        io 0xf0-0xff
        irq 13
00:07 PNP0c01 System board
    state = active
        mem 0x0-0x9ffff
        mem 0x40010000-0x40010fff
        mem 0x40008000-0x4000ffff
        mem 0x40018000-0x407fffff
00:08 PNP0c02 Motherboard resources
    state = active
        mem 0xf0000-0xf3fff
        mem 0xf4000-0xf7fff
        mem 0xf8000-0xfffff
        mem 0xc8000-0xc9fff
00:09 PNP0a03 PCI bus
    state = active
        io 0x4d0-0x4d1
        io 0xcf8-0xcff
        io 0x480-0x48f
00:0c PNP0c02 Motherboard resources
    state = active
        mem 0xe0000-0xeffff
00:0d PNP0c02 Motherboard resources
    state = active
        io 0x800-0x80f
        io 0x900-0x90f
00:0e PNP0501 16550A-compatible serial port
    state = active
        io 0x3f8-0x3ff
        irq 4
00:0f PNP0700 PC standard floppy disk controller
    state = active
        io 0x3f2-0x3f5
        irq 6
        dma 2
00:10 PNP0400 Standard LPT printer port
    state = active
        io 0x378-0x37f
        irq 7
00:12 PNP0501 16550A-compatible serial port
    state = active
        io 0x2f8-0x2ff
        irq 3

Revision as of 08:26, 11 May 2007

Hardware

Status

Building a payload

Building a LinuxBIOS image

$ cd targets
$ ./buildtarget asi/mb_5blmp
$ cd asi/mb_5blmp/mb_5blmp
$ make

Flashing the image

$ flashrom -vw linuxbios.rom

Notes

...

Serial console

...

FILO Config file

USE_GRUB = 1
MENULST_FILE = "hda1:/boot/grub/menu.lst"
MENULST_TIMEOUT = 0
AUTOBOOT_FILE = "hda1:/vmlinuz initrd=/initrd.img root=/dev/hda1 console=tty0 console=ttyS0,115200"
AUTOBOOT_DELAY = 0
IDE_DISK = 1
USB_DISK = 0
VGA_CONSOLE = 1
PC_KEYBOARD = 1
SERIAL_CONSOLE = 1
SERIAL_IOBASE = 0x3f8
FSYS_EXT2FS = 1
FSYS_FAT = 0
FSYS_REISERFS = 0
FSYS_ISO9660 = 1
ELTORITO = 1
SUPPORT_PCI = 1
PCI_BRUTE_SCAN = 1
LINUX_LOADER = 1

/boot/grub/menu.lst

kernel /vmlinuz root=/dev/hda1 ro console=tty0 console=ttyS0,115200

/etc/inittab

T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100


Detailed System Information

The following information was gathered on a running Linux system, booted via the proprietary BIOS:

lspci -nn

00:00.0 Host bridge [0600]: Cyrix Corporation PCI Master [1078:0001]
00:0f.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ [10ec:8139] (rev 10)
00:12.0 ISA bridge [0601]: Cyrix Corporation 5530 Legacy [Kahlua] [1078:0100]
00:12.1 Bridge [0680]: Cyrix Corporation 5530 SMI [Kahlua] [1078:0101]
00:12.2 IDE interface [0101]: Cyrix Corporation 5530 IDE [Kahlua] [1078:0102]
00:12.3 Multimedia audio controller [0401]: Cyrix Corporation 5530 Audio [Kahlua] [1078:0103]
00:12.4 VGA compatible controller [0300]: Cyrix Corporation 5530 Video [Kahlua] [1078:0104]
00:13.0 USB Controller [0c03]: Compaq Computer Corporation ZFMicro Chipset USB [0e11:a0f8] (rev 06)

lspci -tv

-[0000:00]-+-00.0  Cyrix Corporation PCI Master
           +-0f.0  Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
           +-12.0  Cyrix Corporation 5530 Legacy [Kahlua]
           +-12.1  Cyrix Corporation 5530 SMI [Kahlua]
           +-12.2  Cyrix Corporation 5530 IDE [Kahlua]
           +-12.3  Cyrix Corporation 5530 Audio [Kahlua]
           +-12.4  Cyrix Corporation 5530 Video [Kahlua]
           \-13.0  Compaq Computer Corporation ZFMicro Chipset USB

/proc/cpuinfo

processor       : 0
vendor_id       : CyrixInstead
cpu family      : 5
model           : 7
model name      : Cyrix MediaGXtm MMXtm Enhanced
stepping        : 4
cpu MHz         : 233.884
cache size      : 16 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu tsc msr cx8 cmov mmx cxmmx up
bogomips        : 476.30

lspci -s 0:0.0 -xxx

00:00.0 Host bridge: Cyrix Corporation PCI Master
00: 78 10 01 00 07 00 80 02 00 00 00 06 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 1e 14 00 c1 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

lspnp

00:00 PNP0000 AT programmable interrupt controller
00:01 PNP0200 AT DMA controller
00:02 PNP0100 AT system timer
00:03 PNP0b00 AT real-time clock
00:04 PNP0303 IBM enhanced keyboard (101/102-key, PS/2 mouse support)
00:05 PNP0800 AT speaker
00:06 PNP0c04 Math coprocessor
00:07 PNP0c01 System board
00:08 PNP0c02 Motherboard resources
00:09 PNP0a03 PCI bus
00:0c PNP0c02 Motherboard resources
00:0d PNP0c02 Motherboard resources
00:0e PNP0501 16550A-compatible serial port
00:0f PNP0700 PC standard floppy disk controller
00:10 PNP0400 Standard LPT printer port
00:12 PNP0501 16550A-compatible serial port

lspnp -v

00:00 PNP0000 AT programmable interrupt controller
   state = active
       io 0x20-0x21
       io 0xa0-0xa1
       irq 2
00:01 PNP0200 AT DMA controller
   state = active
       io 0x0-0xf
       io 0x81-0x83
       io 0x87-0x87
       io 0x89-0x8b
       io 0x8f-0x91
       io 0xc0-0xdf
       dma 4
00:02 PNP0100 AT system timer
   state = active
       io 0x40-0x43
       irq 0
00:03 PNP0b00 AT real-time clock
   state = active
       io 0x70-0x71
       irq 8
00:04 PNP0303 IBM enhanced keyboard (101/102-key, PS/2 mouse support)
   state = active
       io 0x60-0x60
       io 0x64-0x64
       irq 1
00:05 PNP0800 AT speaker
   state = active
       io 0x61-0x61
00:06 PNP0c04 Math coprocessor
   state = active
       io 0xf0-0xff
       irq 13
00:07 PNP0c01 System board
   state = active
       mem 0x0-0x9ffff
       mem 0x40010000-0x40010fff
       mem 0x40008000-0x4000ffff
       mem 0x40018000-0x407fffff
00:08 PNP0c02 Motherboard resources
   state = active
       mem 0xf0000-0xf3fff
       mem 0xf4000-0xf7fff
       mem 0xf8000-0xfffff
       mem 0xc8000-0xc9fff
00:09 PNP0a03 PCI bus
   state = active
       io 0x4d0-0x4d1
       io 0xcf8-0xcff
       io 0x480-0x48f
00:0c PNP0c02 Motherboard resources
   state = active
       mem 0xe0000-0xeffff
00:0d PNP0c02 Motherboard resources
   state = active
       io 0x800-0x80f
       io 0x900-0x90f
00:0e PNP0501 16550A-compatible serial port
   state = active
       io 0x3f8-0x3ff
       irq 4
00:0f PNP0700 PC standard floppy disk controller
   state = active
       io 0x3f2-0x3f5
       irq 6
       dma 2
00:10 PNP0400 Standard LPT printer port
   state = active
       io 0x378-0x37f
       irq 7
00:12 PNP0501 16550A-compatible serial port
   state = active
       io 0x2f8-0x2ff
       irq 3