Board:asi/mb 5blmp

From coreboot
Revision as of 22:04, 18 May 2007 by Uwe (talk | contribs) (→‎Status: I was wrong, using "irqpoll" I can actually do a full Linux boot.)
Jump to navigation Jump to 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 https://doc.coreboot.org/. Contributions welcome!

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.
Note: This is work in progress! This board does not fully work, yet!

This is the IGEL WinNET III thin client, which uses the mainboard ASI MB-5BLMP. ASI (Aquarius Systems, Inc.) seems to be Bcom now.

There's a small manual (PDF) for the MB-5BLMP.

Hardware

The IGEL WinNET III thin client.
The backpanel.
The PCB.
  • CPU: Cyrix MediaGX™ 233 MHz (a.k.a. Cyrix/NSC/AMD Geode GX1)
  • Chipset: Cyrix CS5530
  • RAM:
    • 1x S0-DIMM socket (144 pins): 32 MB
    • 1x DIMM socket (168 pins): not populated per default
  • 1x DIP32 BIOS chip
  • 1x DIP32 Disk on Chip (DoC)
  • 1x IDE (40 pin connector for ATAPI 3.5" IDE hard drives or CDROM drives)
  • VGA: integrated in the chipset, max. resolution 1280x1024 (8 bpp)
  • Super I/O chip: NSC PC87351
  • Connectors:
    • 1x PS/2 keyboard
    • 1x PS/2 mouse
    • 2x serial port (COM1, COM2)
    • 1x Parallel port
    • 2x USB (OHCI)
    • Audio: Line-in, line-out, Mic
  • Internal expansion slots:
    • 1x ISA
    • 1x PCI (shared)
  • Ethernet: Realtek RTL8138B (10/100 Mbit), might support Boot ROM and Wake-on-LAN
  • Internal power supply (25 W or 60 W, 100~240 VAC, 50/60 Hz)

Status

LinuxBIOS + FILO can boot a Linux kernel (e.g. 2.6.20) just fine.

However, as the PIRQ table in LinuxBIOS is not yet fixed (this is on my TODO list), you have to use the Linux kernel parameter irqpoll at the moment.

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