I'm using ec3 mainboard, it just like advantech pcm-5823, except ec3 use winbond 83977f as superio.  the config file of the ec3 mainboard is as follows:

# Copyright (c) 2002 Christer Weinigel <wingel@hack.org>

# This is a config file for the evoc ec3 mainboard

# The board is a National Semiconductor GX1 + CS5530 + winbond 83977f
# design.  It is a fairly complete PC with VGA, two serial port,  one parallel port, two USB ports, a PS/2 Keyboard
# connector (can also be used for a PS/2 Mouse using a splitter
# cable), floppy, IDE and finally one ethernet port using a RTL8139C
# ethernet chip.  Other than that the board has a DiskOnChip socket
# and a PC104 connector for expansion.

arch i386
cpu p5
mainboardinit cpu/i386/entry16.inc
mainboardinit cpu/i386/entry32.inc
ldscript cpu/i386/entry16.lds
ldscript cpu/i386/entry32.lds
mainboardinit cpu/i386/reset16.inc
ldscript cpu/i386/reset16.lds

########################################################################
option SERIAL_SUPERIO_BASEADDRESS=0x3f0
mainboardinit superio/winbond/w83977fa/setup_serial.inc

mainboardinit pc80/serial.inc
mainboardinit arch/i386/lib/console.inc

########################################################################

northbridge nsc/gx1
southbridge nsc/cs5530
nsuperio winbond/w83977ef keyboard=1 com1={1} com2={1} floppy=1

########################################################################
# Lots of constans, you probably don't need to change anything here.
"Config" 66 lines, 2139 characters

# Lots of constans, you probably don't need to change anything here.

# GX_BASE is the address of a configuration memory region for the GX1
# processor.  You probably don't want to change this.
option GX_BASE=0x40000000

########################################################################
# Southbridge configuration

# no need to assign INTA-D, since it is done by pirq table
# option CS5530_INTA=9
# option CS5530_INTB=10
# option CS5530_INTC=11
# option CS5530_INTD=15

option CS5530_PRIMARY_IDE=1
option CS5530_SECONDARY_IDE=1

########################################################################

option NO_KEYBOARD=1
option FINAL_MAINBOARD_FIXUP=1
object mainboard.o
object irq_tables.o
option ZKERNEL_START=0xfffc0000
option HAVE_PIRQ_TABLE=1

# Local variables:
#   compile-command: "make -C /export/bios/voyager2"
# End:

But when entering winbond configuration mode, ec3 halt. part of crt0.s as following:

    ........

        movb    $ 0x88 , %al                            ; outb  %al, $0x80  /*work ok, can see it from pc diagnostic card*/

        movb   $0x87  , %al; movw   0x3f0  , %dx; outb %al, %dx ; outb %al,$0xeb    /* halt*/
        movb    $ 0x89 , %al                            ; outb  %al, $0x80 /*can't see it from pc dianostic card*/

        movb   $0x87  , %al; movw   0x3f0  , %dx; outb %al, %dx ; outb %al,$0xeb
        movb    $ 0x90 , %al                            ; outb  %al, $0x80

        movb   $7  , %al; movw   0x3f0  , %dx; outb %al, %dx ; outb %al,$0xeb
        movb   $2  , %al; movw   0x3f0 +1 , %dx; outb %al, %dx ; outb %al,$0xeb

        movb    $ 0x90 , %al                            ; outb  %al, $0x80


        movb   $0x30  , %al; movw   0x3f0  , %dx; outb %al, %dx ; outb %al,$0xeb
        movb   $1  , %al; movw   0x3f0 +1 , %dx; outb %al, %dx ; outb %al,$0xeb

        movb   $0x24  , %al; movw   0x3f0  , %dx; outb %al, %dx ; outb %al,$0xeb
        movb   $0xa4  , %al; movw   0x3f0 +1 , %dx; outb %al, %dx ; outb %al,$0xeb

        movb   $0x2b  , %al; movw   0x3f0  , %dx; outb %al, %dx ; outb %al,$0xeb
        movb   $0x1  , %al; movw   0x3f0 +1 , %dx; outb %al, %dx ; outb %al,$0xeb

       what's the problem?

      zhu



Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day