[Xenomai] RTDM driver for Xilinx Zynq PS UART

Gilles Chanteperdrix gilles.chanteperdrix at xenomai.org
Fri Jun 13 11:42:34 CEST 2014


On 06/04/2014 06:05 PM, Jeff Webb wrote:
> On 05/21/2014 06:24 PM, Jeff Webb wrote:
> 
>> Has anyone written an RTDM driver for the Xilinx Zynq PS UART?
> 
> From the lack of response, I assume the answer to this question is
> 'no'.  Given that, can someone please comment on what I have written
> below regarding the process of porting a linux serial driver to
> RDTM?
> 
>> If not, I assume the best way to obtain one would be to start with
>> the Xilinx-provided linux driver (xilinx_uartps.c) and port it to
>> RTDM. Is there a "HOWTO" or other documentation for the porting
>> process? Without further direction, I was going to compare an
>> existing pair of RTDM drivers (e.g. mpc52xx_uart.c and
>> rt_mpc52xx_uart.c) to see what changes were made and try to do
>> something similar for the Xilinx driver.  In the end, I would like
>> to have a driver that is as compatible with the RTDM 16550 driver
>> as much as possible.

I would rather use the existing drivers to see what ioctls need to be
implemented and implement them in the new driver, using the linux code
to know how to implement these ioctls.

-- 
                                                                Gilles.




More information about the Xenomai mailing list