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: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to