From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Lyons, Brendon N" Date: Fri, 4 Nov 2011 18:15:40 +0000 Message-ID: <768BACF5E8359A48BAF0059F2E3E1A430A86C3C7@domain.hid> Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_768BACF5E8359A48BAF0059F2E3E1A430A86C3C7SN2PRD0202MB152_" MIME-Version: 1.0 Subject: [Xenomai-help] Xenomai, Beagleboard and RTAI List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "xenomai@xenomai.org" --_000_768BACF5E8359A48BAF0059F2E3E1A430A86C3C7SN2PRD0202MB152_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am sorry for the previous message with no subject. I am resending this so= that it can be properly tagged. ______________________________________ Hello, I am currently working on a project which requires realtime use of a beagle= board. I know that Xenomai is a realtime kernel however, our setup calls fo= r the use of Mathworks' Simulink support for RTAI. I have been doing some r= esearch and have found that Xenomai incorporates RTAI as a skin? I am not e= ntirely sure what that means but it sounds like I can simply copy and paste= RTAI headers in the designated ../rtai folder within Xenomai and have my r= tai programs compile and run on Xenomai. Here is an outline of the goals I would like to achieve: * Have Xenomai running on a beagleboard with an RTAI skin * Generate realtime programs with the Simulink support for RTAI * Upload the program and run it on the beagleboard I have a few questions regarding this approach: First of all is this even feasible? Secondly if it is, what would be the consequences of running an RTAI execut= able built on say on (this is the closest kernel match I could find) Or if I wanted to run a later Xenomai such as Which leads me to my next question, what is the earliest kernel + Xenomai c= ombination supported on the beagleboard? I hope my questions were clear and made sense, I am new to Xenomai. Regards, -- Brendon Lyons B.Sc Aerospace Engineering Graduate Research Assistant Eagle Flight Research Center Embry-Riddle Aeronautical University --_000_768BACF5E8359A48BAF0059F2E3E1A430A86C3C7SN2PRD0202MB152_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am sorry for the previous message with no sub= ject. I am resending this so that it can be properly tagged.

______________________________________

Hello,

I am currently working on a project which requires realtime use of a be= agleboard. I know that Xenomai is a realtime kernel however, our setup call= s for the use of Mathworks' Simulink support for RTAI. I have been doing some research and have found that Xeno= mai incorporates RTAI as a skin? I am not entirely sure what that means but= it sounds like I can simply copy and paste RTAI headers in the designated = ../rtai folder within Xenomai and have my rtai programs compile and run on Xenomai.

Here is an outline of the goals I would like to achieve:

  • Have Xenomai running on a beagleboard with a= n RTAI skin
  • Generate realtime programs w= ith the Simulink support for RTAI
  • Upload= the program and run it on the beagleboard
I have a few questions regarding this approach:

First of all is this even feasible?
Secondly if it is, what would be the consequences of running an RTAI e= xecutable built on say <ubuntu 9.04 kernel 2.6.28.7 with gcc 4.3.3&= gt; on <Xenomai 2.5.2 Kernel 2.6.28.10 (adeos-ipipe-2.6.28.10-arm-1.12-07) patch  with gcc 4.3.3> (this is the closest kernel match I could find)

Or if I wanted to run a later Xenomai such as <Xenomai 2.5.6 Kernel= 2.6.33 (adeos-ipipe-2.6.33-arm-1.18-02) patch with gcc 4.3.3>=

Which leads me to my next question, what is the earliest kernel + = Xenomai combination supported on the beagleboard?

I hope my questions were clear and made sense, I am new to Xenomai.


Regards,
-- 
Brendon Lyons
B.Sc Aerospace Engineering
Graduate Research Assistant
Eagle Flight Research Center
Embry-Riddle Aeronautical University
--_000_768BACF5E8359A48BAF0059F2E3E1A430A86C3C7SN2PRD0202MB152_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4EB437BA.5070104@domain.hid> Date: Fri, 04 Nov 2011 20:06:34 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <768BACF5E8359A48BAF0059F2E3E1A430A86C3C7@domain.hid> In-Reply-To: <768BACF5E8359A48BAF0059F2E3E1A430A86C3C7@domain.hid> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] Xenomai, Beagleboard and RTAI List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Lyons, Brendon N" Cc: "xenomai@xenomai.org" On 11/04/2011 07:15 PM, Lyons, Brendon N wrote: > I am sorry for the previous message with no subject. I am resending > this so that it can be properly tagged. > > ______________________________________ > > Hello, > > I am currently working on a project which requires realtime use of a > beagleboard. I know that Xenomai is a realtime kernel however, our > setup calls for the use of Mathworks' Simulink support for RTAI. I > have been doing some research and have found that Xenomai > incorporates RTAI as a skin? I am not entirely sure what that means > but it sounds like I can simply copy and paste RTAI headers in the > designated ../rtai folder within Xenomai and have my rtai programs > compile and run on Xenomai. > > Here is an outline of the goals I would like to achieve: > > > * Have Xenomai running on a beagleboard with an RTAI skin * > Generate realtime programs with the Simulink support for RTAI * > Upload the program and run it on the beagleboard > > I have a few questions regarding this approach: > > First of all is this even feasible? I do not think so. Xenomai RTAI skin was a kernel-only skin, and chances are that the code generated by simulink is for LXRT, that is, RTAI user-space support. However, there exist equivalent solutions to RTAI-lab for Xenomai. We have seen a post recently about such a solution: https://mail.gna.org/public/xenomai-core/2011-10/msg00019.html A user of Xenomai, "Michel He" seems also to have worked on that too. Secondly if it is, what would be > the consequences of running an RTAI executable built on say 9.04 kernel 2.6.28.7 with gcc 4.3.3> on 2.6.28.10 (adeos-ipipe-2.6.28.10-arm-1.12-07) patch with gcc 4.3.3> > (this is the closest kernel match I could find) > > Or if I wanted to run a later Xenomai such as 2.6.33 (adeos-ipipe-2.6.33-arm-1.18-02) patch with gcc 4.3.3> > > Which leads me to my next question, what is the earliest kernel + > Xenomai combination supported on the beagleboard? Note that it does not make sense to pick a release in a branch which is not the latest, for instance, if you pick a release in the 2.5 branch, it should be the latest, that is 2.5.6, previous adeos patches work with latest releases anyway. What is the reason for picking an old version of the Adeos patch? When starting a new project people usually pick the latest kernel. Anyway, the oldest version of the Adeos patch supporting omap3 should be 2.6.31. -- Gilles.