From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4F8E871D.8030207@domain.hid> Date: Wed, 18 Apr 2012 11:19:25 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <4F50A422.50208@domain.hid> <4F562B53.7070400@domain.hid> <4F562EC2.6040604@domain.hid> <4F56387B.40702@domain.hid> <4F575BA3.7060404@domain.hid> <4F576622.1030509@domain.hid> <4F57A567.7030008@domain.hid> <4F7C127D.2010400@domain.hid> <4F7C1484.5090406@domain.hid> <4F7C183F.5040009@domain.hid> <4F7F0D4E.8080906@domain.hid> <4F7F0E8A.70702@domain.hid> <4F7F20F0.9070007@domain.hid> <4F80BD10.2060200@domain.hid> <4F83F2C3.50704@domain.hid> <4F83F321.2030300@domain.hid> <4F83F645.7040402@domain.hid> <4F83F828.4000508@domain.hid> <4F83F929.5000300@domain.hid> <4F83FBAB.7040301@domain.hid> <4F83FF49.90608@domain.hid> <4F840DD8.2030407@domain.hid> <4F841E32.50101@domain.hid> <4F8428AA.1040404@domain.hid> <4F842A4B.8040106@domain.hid> <4F852BBB.5050400@domain.hid> <4F85749C.808@domain.hid> <4F86AA98.6010805@domain.hid> <4F87099F.2020707@domain.hid> <4F87139E.6050805@domain.hid> <4F87E781.8020801@domain.hid> <4F882E7B.7010909@domain.hid> <4F8E7EF1.4070205@domain.hid> In-Reply-To: <4F8E7EF1.4070205@domain.hid> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-core] porting xenomai on imx25 List-Id: Xenomai life and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Roberto Bielli Cc: xenomai@xenomai.org On 04/18/2012 10:44 AM, Roberto Bielli wrote: > Hi Gilles, > > here find the answers. > sorry for the delay. > > Il 13/04/2012 15:47, Gilles Chanteperdrix ha scritto: >> On 04/13/2012 10:44 AM, Roberto Bielli wrote: >>> Hi Gilles, >>> >>> you don't feel like to repeat. >>> I'm trying all the things that you told me and i will do all the missing >>> test that you told me. >> So, what is the result of running your test with unpatched Linux, but >> with CONFIG_HIGH_RES_TIMERS enabled? > the result is the same. > With the base linux application and CONFIG_HIGH_RES_TIMERS all it's ok, > instead with xenomai application the task with less priority halt the > task with higher priority until it sleeps. > I send you my .config file and the test with pthread base. You know as well as me that this description of the problem is inaccurate, what really happens is that the timer is programmed but does not tick. What you have to do now is try and understand what is the difference between the way xenomai and linux handle the timer to understand what cause it not to work in xenomai case. If I were you, to understand this difference, I would start by dumping all timer registers values at the time when the problem is detected, that is, before the timer is programmed again. But I am afraid I can not give you more help, ultimately you are the one which is doing the port to imx25, so you are on your own. -- Gilles.