All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: pwaechtler@domain.hid
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] use case: possible to boot Posix subsystem in <50ms and then Linux?
Date: Fri, 27 Mar 2009 16:59:43 +0100	[thread overview]
Message-ID: <1238169583.6815.241.camel@domain.hid> (raw)
In-Reply-To: <200903271641.09389.pwaechtler@domain.hid>

On Fri, 2009-03-27 at 16:41 +0100, Peter Wächtler wrote:
> Am Friday 27 March 2009 15:53:02 schrieb Gilles Chanteperdrix:
> >
> > Xenomai kernel-space support is started somewhere in the middle of the
> > boot process, so, you can probably start kernel-space applications at
> > that time. User-space only works when init has been started, which
> > happens a bit later during the boot process. But you can start Xenomai
> > applications before all the system services have been started.
> >
> 
> I think the fundamental question is: does Adeos provide a scheduler? 
> 

No it does not. Not the kind of scheduler you seem to be thinking of
actually; it only "schedules" interrupt and trap events. Not tasks.

> And I guess the answer is yes, at least "Life-with-Adeos" doc mentions
> primary and secondary execution modes/domains.
> 

This is dealt with by the Xenomai nucleus. Adeos provides the simplistic
"domain" abstraction, and Xenomai derives the primary/secondary mode
abstractions on top of those.

> In the use case it would be necessary that OSEK subsystem is able to schedule 
> between a static number of preconfigured threads WITHOUT the precondition 
> that Linux is up and running.
> 

The way to do this would be to port the Xenomai nucleus and portions of
the POSIX skin over bare metal. I did exactly that once over an ARM ISS,
so this is indeed doable to bypass Linux. The point is: this needs a
full-fledge Xenomai port, a bit like the Xenomai event-driven simulator
interfaces to our RTOS core.

> >
> > As a side note, I have a question for the automotive industry people.
> > Would there be an interest in developing an OSEK skin for Xenomai? I
> > have been thinking about that for some time, but still have not found
> > time to start the job. I have read the OSEK spec, and found the
> > interface pretty simple (though some part of the job has to be done
> > offline, and annoyingly need to read XML files). The OSEK com spec, on
> > the other hand, looks rather scary.
> 
> There are open source OSEK implementations. AFAIK, all far from completeness.
> 
> You can start with
> http://opensek.sourceforge.net/
> 
> or have a look at the list at 
> http://en.wikipedia.org/wiki/OSEK
> 
> 	Peter
> 
> _______________________________________________
> Xenomai-core mailing list
> Xenomai-core@domain.hid
> https://mail.gna.org/listinfo/xenomai-core
-- 
Philippe.




      parent reply	other threads:[~2009-03-27 15:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-27 14:38 [Xenomai-core] use case: possible to boot Posix subsystem in <50ms and then Linux? Peter Wächtler
2009-03-27 14:41 ` Steven Seeger
2009-03-27 15:17   ` Peter Wächtler
2009-03-27 15:31     ` Steven Seeger
2009-03-27 14:53 ` Gilles Chanteperdrix
2009-03-27 15:41   ` Peter Wächtler
2009-03-27 15:46     ` Gilles Chanteperdrix
2009-03-27 16:17       ` Peter Wächtler
2009-03-27 16:23         ` Gilles Chanteperdrix
2009-03-27 16:31         ` Philippe Gerum
2009-03-27 15:55     ` Gilles Chanteperdrix
2009-03-27 15:59     ` Philippe Gerum [this message]

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=1238169583.6815.241.camel@domain.hid \
    --to=rpm@xenomai.org \
    --cc=pwaechtler@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.