Hello,

Il giorno 13/dic/2009, alle ore 15.59, Gilles Chanteperdrix ha scritto:

> Paolo Bernini wrote:
>> Hello all, first of all I introduce myself: I am Paolo Bernini and I
>> am a student of University of Pisa.
>> 
>> While working on my thesis I wrote a real time driver for i.MX
>> special serial devices based on current implementation of 16550A. It
>> is very simple, it has several limitations and it is tested only for
>> i.MX27 processors, but it should support any i.MX processor if
>> supplied of their memory map of the devices.
>> 
>> Actually it allocate only one device and the only way to choose
>> which, is by in code constraints definitions but it can be easily
>> enhanced, I think.
>> 
>> If you are interested I can send it to you as is.
>> 
>> 
>> Thanks.
> 
> Hi,
> 
> I suspect this serial driver would interest many users of the imx
> architecture, so, could you send it as a patch against the head branch?

[cut]

Here it is.

Unfortunately I was unable to include the new source in the patch so I send 
them as separate files.
You should place them in the directory ksrc/drivers/serial/

Note that I experienced problems with data alignment disagreement between 
kernel and user code; problems that I solved with a -fpack-struct=4 in the 
CFLAGS of the kernel.
As far I know, with the new rtdm structures this issue should not be present 
anymore, but tests has to be done.

The driver is very experimental and note that some of the features defined for 
standard serial devices aren't supported by the imx physical device.

Attachment: imx_uart.patch
Description: Binary data

Attachment: imx_io.h
Description: Binary data

Attachment: imx.c
Description: Binary data


Here for comments, and help.
Greetings.

--- 
Paolo Bernini
B.Sc. in Information Technology Engineering

Scuola Superiore di Studi Universitari e Perfezionamento Sant'Anna
ARTS Lab - Advanced Robotics Technology and System Lab
Viale Rinaldo Piaggio, 34 - 56025 Pontedera (Pisa), Italy
Tel.     050 88-3410
e-mail    p.bern...@sssup.it












_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to