Thread (5 messages) 5 messages, 2 authors, 2012-07-09

Re: can't detect 16550A at port 0x010 on Vortex86dx board

From: Aras Vaichas <hidden>
Date: 2012-07-09 15:16:41

# cat .config
<snip>
#
# Serial drivers
#
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_FIX_EARLYCON_MEM=y
CONFIG_SERIAL_8250_NR_UARTS=5
CONFIG_SERIAL_8250_RUNTIME_UARTS=5
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_MANY_PORTS=y
CONFIG_SERIAL_8250_VORTEX=y
</snip>
CONFIG_SERIAL_8250_SHARE_IRQ=y

It needed IRQ sharing to make it work.

COM9 on a Vortex86DX is now working in Linux 3.3.8 but it requires
more than a simple serial driver patch.

I'm not entirely sure how to go about creating a proper patch for the
changes I have made. My serial driver writes to the South Bridge, but
it's a quick hack using outl() calls to the right addresses. Should I
use a proper PCI function call?

I also modified the x86 io port mappings in /arch/x86/kernel/setup.c.

Do I either add #ifdef-ery to setup.c, or create a new entry in
arch/x86/kernel/cpu/ and do my different io mappings there?

Aras
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help