epia-m (600mhz) -- /dev/ttyS1

Niki Waibel niki.waibel at newlogic.com
Mon Nov 17 10:31:01 CET 2003


>> any chance to get /dev/ttyS1 (/dev/tts/1) working with freebios
>> on the emia-m?
>> 
>> (i need it for the smartcardreader ...)
> 
> as soon as we get epia-m up under v2.

seems that that v2 will take some time.
i'd like to hack v1 to get it running.
is
        src/lib/serial_subr.c:
        void ttys0_init(void) {}
the right place to look at?

setserial seems to be fine:
===
~ # setserial /dev/tts/0 -a
/dev/tts/0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4
        Baud_base: 115200, close_delay: 500, divisor: 0
        closing_wait: 30000
        Flags: spd_normal skip_test

~ # setserial /dev/tts/1 -a
/dev/tts/1, Line 1, UART: unknown, Port: 0x02f8, IRQ: 3
        Baud_base: 115200, close_delay: 500, divisor: 0
        closing_wait: 30000
        Flags: spd_normal skip_test
===

but the kernel has not recogn the serial ports:
===
~ # dmesg | grep tty
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
===

ttyS0 (tts/0) is where i run the console...

niki



More information about the coreboot mailing list