From: Jan Kiszka <jan.kiszka@domain.hid>
To: Jeff Webb <jeff.webb@domain.hid>
Cc: Xenomai help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] xeno_16550A and 8250.nr_uarts=0
Date: Fri, 12 Jan 2007 00:42:56 +0100 [thread overview]
Message-ID: <45A6CB80.9060306@domain.hid> (raw)
In-Reply-To: <45A68383.3070203@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 1583 bytes --]
Jeff Webb wrote:
> I have been successfully using the xeno_16550A rtdm serial driver for
> some time. Up until now, I have always compiled xeno_16550A as a kernel
> module, and then followed this procedure:
>
> Boot using the following kernel options:
> kernel /boot/vmlinuz-2.6.19.1xenomai2.3.0 ro root=/dev/sda1 noapic
> pci=routeirq
> # setserial /dev/ttyS0 uart none
> # /sbin/modprobe xeno_16550A ioaddr=0x3f8 irq=4
> # ./sertest
>
> My serial test program works fine in the above scenario. However, if I
> try to disable the linux serial support at boot time by adding
> "8250.nr_uarts=0" to the kernel boot options, my serial test program
> does not work. There are no errors opening, configuring, or reading
> from the rtdm device, but no data is received from the driver. I assume
> that my test program is not initializing something properly, so it works
> when linux initializes the serial port. I can't seem to find what I'm
> doing wrong. Any help would be appreciated.
Hmm, maybe a PnP issue. If there is no driver registered for the on-chip
PnP UARTS, power might be switched off (or kept off) for them. As
xeno_16550A doesn't perform any validation of the underlying hardware
(dunno right now if there is a pattern to test at all), it may just
operate on dead addresses.
I faced the same issue with irqbench and parallel ports. They get
switched off once the related Linux driver is removed. One solution
there was to register irqbench with the PnP subsystem. I need to check
if this is required here as well.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
next prev parent reply other threads:[~2007-01-11 23:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-11 18:35 [Xenomai-help] xeno_16550A and 8250.nr_uarts=0 Jeff Webb
2007-01-11 23:42 ` Jan Kiszka [this message]
2007-01-12 21:51 ` Jeff Webb
2007-01-12 23:47 ` Jeff Webb
2007-01-14 14:24 ` Jan Kiszka
2007-01-15 14:16 ` Jan Kiszka
2007-01-16 21:19 ` Jeff Webb
2007-01-17 18:15 ` Jan Kiszka
2007-01-17 18:47 ` Jeff Webb
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45A6CB80.9060306@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=jeff.webb@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.