EPIA-M + second serial port enabler
linuxbios at xdr.com
Tue Dec 9 13:09:00 CET 2003
In a previous email message
In V1 the file to modify is src/superio/via/vt1211/setup_serial.inc
That code sets up ttyS0 which is the VT1211's logical device 2. You
want to add some similiar code for logical device 3 to get ttyS1 working.
Assuming you want it to be at 2f8 you'd merge in these lines:
/* set the enable in reg. 0x30 */
/* Serial Port 2 Base Address (BEh) */
/* Serial Port 2 IRQ (03h) */
/* Serial Port 2 Control */
...then do the turn off pnp
/* turn off PnP */
...then duplicate the serial setup except the address goes from 3f8 -> 2f8
There is a piece missing. I had to enable the second serial port on the VT1211
and although linux recognized it, there was no serial activity on the lines.
These lines need to be added during the vt1211 configuration:
/* Allow serial port 2 (ldn 3) pins to come out */
This has to be before the $0xaa write to turn off configuration mode.
The default value on powerup for this register on the vt1211 is 0xff.
There are multi purpose pins on the chip and this connects them to the second
More information about the coreboot