From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <737283.11182.qm@domain.hid> References: Date: Tue, 7 Jun 2011 19:22:55 -0700 (PDT) From: sanjay anvekar MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-780321907-1307499775=:11182" Subject: [Xenomai-help] Xenomai-Driver Reply-To: sanjay anvekar List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "xenomai@xenomai.org" --0-780321907-1307499775=:11182 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi,=0A=A0=A0=A0=A0 I am facing little problem with Xenomai tasks. Please he= lp me.=0AI am using Xenomai 2.5.6 patched to Kernel 2.6.37 on Intel Atom bo= ard with display and touch=0Ainterface. I have created an application which= uses various Linux Drivers such as=0ASerial Driver - Configured and used u= sing tty layer.=0ADisplay driver - Intel Frame buffer interface (mmap and i= octl).=0ASocket Programming and file system handling.=0AWhen I run this app= lication without having any Xenomai tasks then application works fine,=0Abu= t when I create different tasks then application does not work correctly. E= specially Serial=0Ainterface and display. Serial data seems to be loosing d= ata and display update is not happening instantly.=0AI am sure I am missing= something. Please help me to=0A resolve this issue.=0AI am using following= functions to create and maintain Xenomai tasks and tasks are successfully = created.=0A=A0=A0=A0=A0 =0A=A0=A0=A0=A0 mlockall(MCL_CURRENT | MCL_FUTURE);= =0A=A0=A0=A0=A0 rt_task_set_mode(0, T_WARNSW , NULL);=0A=A0=A0=A0=A0 rt_tas= k_create();=0A=A0=A0=A0=A0 rt_task_start()=0A=A0=A0=A0=A0 rt_task_yield() -= To allow execution of other tasks.=0A=0AThanks & Best Regards,=0ASanjay --0-780321907-1307499775=:11182 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,
     I am facing little probl= em with Xenomai tasks. Please help me.
I am using Xe= nomai 2.5.6 patched to Kernel 2.6.37 on Intel Atom board with display and t= ouch
interface. I have created an application which uses various Linux D= rivers such as
Serial Driver - Configured and used using tty layer.
D= isplay driver - Intel Frame buffer interface (mmap and ioctl).
Socket Pr= ogramming and file system handling.
When I run this application without having any Xenomai tasks then application works fine,
but when I create= different tasks then application does not work correctly. Especially Seria= l
interface and display. Serial data seems to be loosing data and displ= ay update is not happening instantly.
I am sure I am missing something. = Please help me to=0A resolve this issue.
I am using following functions = to create and maintain Xenomai tasks and tasks are successfully created.
    
   &= nbsp; mlockall(MCL_CURRENT | MCL_FUTURE);
&nbs= p;    rt_task_set_mode(0, T_WARNSW , NULL);
=
     rt_task_create();
&nb= sp;    rt_task_start()
   &nb= sp; rt_task_yield() - To allow execution of other tasks.

Thanks & Best Regards,
Sanjay


=

--0-780321907-1307499775=:11182--