All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Nicolas SCHURANDO <schurann@ext.essilor.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] VxWorks API on Xenomai 3.0
Date: Mon, 18 Jan 2016 16:19:23 +0100	[thread overview]
Message-ID: <569D027B.7040800@xenomai.org> (raw)
In-Reply-To: <CA+CJOCw1MVqfB8524L3+MXAtfp=UDHP_=1YnDJorJOYb4zdBSQ@mail.gmail.com>

On 01/18/2016 01:34 PM, Nicolas SCHURANDO wrote:
> Hi Philippe,
> 
> In your previous message you suggested that something might be wrong
> with the way the application is initialized. And my message was an
> attempt at further describing what I had already done.
> 
> Oh, I see. I suppose the tense of my message was misleading. I meant
> that I had already read the documentation prior to reaching out to you,
> and the compiler and linker commands above are the one I had already used.
> 
> Are you confirming that the init seems to happen fine ? And if so, what
> could explain the error I get when trying to spawn the VxWorks task ?
> 

The only reason would be that copperplate_init() did not run, which
means that your application init sequence does not work as expected.

You may want to pick the latest changes from stable-3.0.x, and start
your application with the --trace option. This will trace the init
sequence from xenomai_init() onward. For a VxWorks application based on
the copperplate layer running over Cobalt, you should see something
along these lines:

# /your/application --trace
--  xenomai_init() running
--  cobalt->init()
--  connected to Cobalt
--  memory locked
--  memory heaps mapped
--  boilerplate->init()
--  copperplate->init()
--  alchemy->init()
--  initialization complete

If you don't see such output, then something is wrong.

-- 
Philippe.


  reply	other threads:[~2016-01-18 15:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-14  9:22 [Xenomai] VxWorks API on Xenomai 3.0 Nicolas SCHURANDO
2016-01-14 17:24 ` Philippe Gerum
2016-01-15  9:57   ` Nicolas SCHURANDO
2016-01-18 11:55     ` Philippe Gerum
2016-01-18 12:34       ` Nicolas SCHURANDO
2016-01-18 15:19         ` Philippe Gerum [this message]
2016-01-18 18:15           ` Nicolas SCHURANDO
2016-01-19  8:22             ` Philippe Gerum
2016-01-25 15:37               ` Nicolas SCHURANDO

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=569D027B.7040800@xenomai.org \
    --to=rpm@xenomai.org \
    --cc=schurann@ext.essilor.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.