<P>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:
<P># Copyright (c) 2002 Christer Weinigel <<A href="mailto:wingel@hack.org">wingel@hack.org</A>>
<P># This is a config file for the evoc ec3 mainboard
<P># The board is a National Semiconductor GX1 + CS5530 + winbond 83977f<BR># design. It is a fairly complete PC with VGA, two serial port, one parallel port, two USB ports, a PS/2 Keyboard<BR># connector (can also be used for a PS/2 Mouse using a splitter<BR># cable), floppy, IDE and finally one ethernet port using a RTL8139C<BR># ethernet chip. Other than that the board has a DiskOnChip socket<BR># and a PC104 connector for expansion.
<P>arch i386<BR>cpu p5<BR>mainboardinit cpu/i386/entry16.inc<BR>mainboardinit cpu/i386/entry32.inc<BR>ldscript cpu/i386/entry16.lds<BR>ldscript cpu/i386/entry32.lds<BR>mainboardinit cpu/i386/reset16.inc<BR>ldscript cpu/i386/reset16.lds
<P>########################################################################<BR>option SERIAL_SUPERIO_BASEADDRESS=0x3f0<BR>mainboardinit superio/winbond/w83977fa/setup_serial.inc</P>
<P>mainboardinit pc80/serial.inc<BR>mainboardinit arch/i386/lib/console.inc</P>
<P>########################################################################
<P>northbridge nsc/gx1<BR>southbridge nsc/cs5530<BR>nsuperio winbond/w83977ef keyboard=1 com1={1} com2={1} floppy=1
<P>########################################################################<BR># Lots of constans, you probably don't need to change anything here.<BR>"Config" 66 lines, 2139 characters
<P># Lots of constans, you probably don't need to change anything here.
<P># GX_BASE is the address of a configuration memory region for the GX1<BR># processor. You probably don't want to change this.<BR>option GX_BASE=0x40000000
<P>########################################################################<BR># Southbridge configuration
<P># no need to assign INTA-D, since it is done by pirq table<BR># option CS5530_INTA=9<BR># option CS5530_INTB=10<BR># option CS5530_INTC=11<BR># option CS5530_INTD=15
<P>option CS5530_PRIMARY_IDE=1<BR>option CS5530_SECONDARY_IDE=1
<P>########################################################################
<P>option NO_KEYBOARD=1<BR>option FINAL_MAINBOARD_FIXUP=1<BR>object mainboard.o<BR>object irq_tables.o<BR>option ZKERNEL_START=0xfffc0000<BR>option HAVE_PIRQ_TABLE=1
<P># Local variables:<BR># compile-command: "make -C /export/bios/voyager2"<BR># End:<BR>
<P>But when entering winbond configuration mode, ec3 halt. part of crt0.s as following:
<P> ........
<P> movb $ 0x88 , %al ; outb %al, $0x80 /*work ok, can see it from pc diagnostic card*/
<P> movb $0x87 , %al; movw 0x3f0 , %dx; outb %al, %dx ; outb %al,$0xeb /* halt*/<BR> movb $ 0x89 , %al ; outb %al, $0x80 /*can't see it from pc dianostic card*/
<P> movb $0x87 , %al; movw 0x3f0 , %dx; outb %al, %dx ; outb %al,$0xeb<BR> movb $ 0x90 , %al ; outb %al, $0x80
<P>
<P> movb $7 , %al; movw 0x3f0 , %dx; outb %al, %dx ; outb %al,$0xeb<BR> movb $2 , %al; movw 0x3f0 +1 , %dx; outb %al, %dx ; outb %al,$0xeb
<P> movb $ 0x90 , %al ; outb %al, $0x80
<P><BR> movb $0x30 , %al; movw 0x3f0 , %dx; outb %al, %dx ; outb %al,$0xeb<BR> movb $1 , %al; movw 0x3f0 +1 , %dx; outb %al, %dx ; outb %al,$0xeb
<P> movb $0x24 , %al; movw 0x3f0 , %dx; outb %al, %dx ; outb %al,$0xeb<BR> movb $0xa4 , %al; movw 0x3f0 +1 , %dx; outb %al, %dx ; outb %al,$0xeb
<P> movb $0x2b , %al; movw 0x3f0 , %dx; outb %al, %dx ; outb %al,$0xeb<BR> movb $0x1 , %al; movw 0x3f0 +1 , %dx; outb %al, %dx ; outb %al,$0xeb
<P>
<P> what's the problem?
<P> zhu</P><p><br><hr size=1>Do you Yahoo!?<br>
<a href="http://rd.yahoo.com/O=1/I=brandr/vday03/text/flow/*http://shopping.yahoo.com
/shop?d=browse&id=20146735">Yahoo! Shopping</a> - Send Flowers for Valentine's Day