All of lore.kernel.org
 help / color / mirror / Atom feed
From: dominikk <dominikk@openmailbox.org>
To: xenomai@xenomai.org
Subject: [Xenomai] Mercury 3.0.2 on Raspberry Pi 3
Date: Thu, 7 Jul 2016 08:02:08 +0200	[thread overview]
Message-ID: <0f27712b-d49f-d36d-53b9-9ef3036add43@openmailbox.org> (raw)

Hi there,

we are trying to run the Mercury core on a Raspberry Pi 3. The code
compiles fine and the latency test (/usr/xenomai/bin/latency) runs
successfully.

However, running a dummy application (i.e. Hello World) results in the
following error:

# sudo ./test
   0"003.571| WARNING: [main] failed to initialize multi-threading
              package
   0"003.791| WARNING: [main] setup call copperplate failed
   0"003.925| BUG in xenomai_init(): [main] initialization failed, 22?

Similarly, when running alatency:

# sudo /usr/xenomai/demo/altency
   0"003.571| WARNING: [main] failed to initialize multi-threading
	      package
   0"003.791| WARNING: [main] setup call copperplate failed
   0"003.925| BUG in xenomai_init(): [main] initialization failed, 22?

Same results for hdb or any other application linked with the Alchemy skin.

We are running (raspberry) Kernel 4.4.13 with RT patches and compiled
xenomai with the following flags:

Build args:
CFLAGS=-march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard
LDFLAGS=-march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard
--with-core=mercury --disable-debug --enable-clock-monotonic-raw
--enable-smp

Any advice would be greatly appreciated.

Regards,
Dominik



             reply	other threads:[~2016-07-07  6:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-07  6:02 dominikk [this message]
2016-07-07  8:16 ` [Xenomai] Mercury 3.0.2 on Raspberry Pi 3 Philippe Gerum
2016-07-07  8:46   ` dominikk
2016-08-02  5:48     ` Pierre FICHEUX
2016-08-02  6:10       ` dominikk
2016-08-02  8:07         ` Pierre FICHEUX

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=0f27712b-d49f-d36d-53b9-9ef3036add43@openmailbox.org \
    --to=dominikk@openmailbox.org \
    --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.