All of lore.kernel.org
 help / color / mirror / Atom feed
From: Charles Retailleau <charles.retailleau@axesseurope.com>
To: xenomai@xenomai.org
Subject: [Xenomai] Trying to get Xenomai on P1010RDB
Date: Thu, 16 Aug 2012 16:30:39 +0200	[thread overview]
Message-ID: <502D040F.2010906@axesseurope.com> (raw)

Hi all,
The patching/compilation/installation steps seem fine.
But at the end I cannot have any Xenomai software running on the
P1010RDB (I tried most of the provided test SW).

I focused on latency and tried to debug it. I get that:

Program received signal SIGILL, Illegal instruction.
0x0ffde120 in __xn_rdtsc () from ....xenomai/lib/libnative.so.3

It appears that the 'mftb/mftbu' instructions
are in cause (cf. the small test in attachment, the 1st part works but
not the mftb test).
Furthermore when I check the core e500 ref manual
http://cache.freescale.com/files/32bit/doc/ref_manual/E500CORERM.pdf
MFTB appears has NOT being part of the instruction list.

Yet, Xenomai seems to work on P1020RDB which has the same core, so I'm
confused...
What did I do wrong ?

I'm using
   Xenomai 2.6.1,
   linux 3.2.21 configured with mpc85xx_defconfig (default options for
the rest of it),
   Freescale's SDK 1.1.2 (that's the main difference between me and
Lukasz Zemla's config on P1020RDB, so I'm trying to get the latest 1.2)

Thanks for your help.
Charles,
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: testMFTB.c
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20120816/d22f48c2/attachment.c>

             reply	other threads:[~2012-08-16 14:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-16 14:30 Charles Retailleau [this message]
2012-08-16 14:46 ` [Xenomai] Trying to get Xenomai on P1010RDB Lennart Sorensen
2012-08-16 15:14   ` Wolfgang Grandegger
2012-08-17 14:24   ` Charles Retailleau
2012-08-17 14:41     ` Gilles Chanteperdrix
2012-08-17 15:02       ` Philippe Gerum
2012-08-17 15:11         ` Gilles Chanteperdrix
2012-08-17 15:37           ` Philippe Gerum
2012-08-17 16:09             ` Gilles Chanteperdrix
2012-08-17 18:25     ` 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=502D040F.2010906@axesseurope.com \
    --to=charles.retailleau@axesseurope.com \
    --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.