Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C636D5.8B72504B" Date: Tue, 21 Feb 2006 11:57:02 +0100 Message-ID: From: "ROSSIER Daniel" Subject: [Xenomai-core] Timer and calibration List-Id: "Xenomai life and development \(bug reports, patches, discussions\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C636D5.8B72504B Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, =20 We are currently porting Adeos/Xenomai with Linux 2.6.14 on a ARM9-based Freescale i.mx21 (litekit) development board. We started from the available patch for the ARM-based Integrator board. =20 We are now facing some interesting problems regarding clock/timer frequencies with this board, but they are about to be solved :-) =20 However, we have a question of understanding; as far as we know, ipipe starts with an aperiodic (one-shot) timer at the initialization time, and that before the calibrate function has been called. So, we get one interrupt only since the xenomai scheduler has not been registered (we understand that the xenomai scheduler should give the next timer shot, but since it is not registered yet, no timer reprogramming is achieved). =20 So, how can the calibrate function can be invoked safely if no timer IRQ is received since this kind of calibration comes before the xenomai registration (the calibrate function needs IRQ timers to calibrate the number of busy loops between two jiffies) ? =20 How is it realized with a x86 architecture (another timer source?) =20 Is there any documentation - or discussion threads - which gives some information about the use of timers/RTC/TSC with Xenomai?=20 =20 Thanks so much for your help =20 Kind regards =20 Daniel Rossier ------_=_NextPart_001_01C636D5.8B72504B Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,

 

We are currently porting Adeos/Xenomai with = Linux 2.6.14 on a ARM9-based Freescale i.mx21 (litekit) development = board.

We started from the available patch for the = ARM-based Integrator board.

 

We are now facing some interesting problems = regarding clock/timer frequencies with this board, but they are about to be solved = J

 

However, we have a question of understanding; = as far as we know, ipipe starts with an aperiodic (one-shot) timer at the initialization time, and that before

the calibrate function has been called. So, we = get one interrupt only since the xenomai scheduler has not been registered = (we understand

that the xenomai scheduler should give the = next timer shot, but since it is not registered yet, no timer reprogramming is = achieved).

 

So, how can the calibrate function can be = invoked safely if no timer IRQ is received since this kind of calibration comes = before the xenomai registration

(the calibrate function needs IRQ timers to = calibrate the number of busy loops between two jiffies) = ?

 

How is it realized with a x86 architecture = (another timer source?)

 

Is there any documentation – or = discussion threads - which gives some information about the use of timers/RTC/TSC = with Xenomai?

 

Thanks so much for your = help

 

Kind regards

 

Daniel Rossier

------_=_NextPart_001_01C636D5.8B72504B--