From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Bertold Van den Bergh <vandenbergh@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] Port to stmp3xxx (arm based)
Date: Sun, 18 Sep 2011 15:09:50 +0200 [thread overview]
Message-ID: <4E75ED9E.9000708@domain.hid> (raw)
In-Reply-To: <CABm7fFPcAjLu3_xVi+t8fCYy_VYKR6A7pgTF-WeHv4ifw9V5qA@mail.gmail.com>
On 09/17/2011 05:15 PM, Bertold Van den Bergh wrote:
> Hello,
>
> I am trying to port Xenomai to the freescale stmp3xxx cpu (I.MX233).
>
> I added TSC code from plat-s3c24xx as this processor also uses a 16
> bit downcounter based timer. I run the system tick counter and the TSC
> freerunning counter at 32KHz (I plan to speed it up to increase
> precision but I have a question about that). I have monitored the TSC
> output and it is a monotonic count without jumps forward or backward.
> Xenomai and linux boots fine. I can also start xenomai tasks, and they
> even appear to work to some extent.
The mask member filled by __ipipe_mach_get_tscinfo is wrong, the right
mask for a 16 bits counter is 0x0000ffff
--
Gilles.
next prev parent reply other threads:[~2011-09-18 13:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-17 15:15 [Xenomai-core] Port to stmp3xxx (arm based) Bertold Van den Bergh
2011-09-18 13:09 ` Gilles Chanteperdrix [this message]
2011-09-18 14:43 ` Bertold Van den Bergh
2011-09-18 14:51 ` Gilles Chanteperdrix
2011-09-18 17:33 ` Gilles Chanteperdrix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E75ED9E.9000708@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=vandenbergh@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.