Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Xenomai 3.0.1?
@ 2016-01-28 17:09 jerry at chordia.co.uk
  2016-01-29  8:36 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: jerry at chordia.co.uk @ 2016-01-28 17:09 UTC (permalink / raw)
  To: buildroot

Running the xenomai prepare-kernel script against an externally sourced
3.18.26 kernel. Buildroot builds a bootable kernel and working FS but the
Xenomai userland tools appear to be related to 2.X. 

 

How do I best get BR to install the latest stuff?

 

Do I modify the package to get
https://xenomai.org/downloads/xenomai/stable/latest/ instead of
http://download.gna.org/xenomai/stable/ ?

 

Or should I add as an external package?

 

Thx.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160128/c8304c81/attachment.html>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] Xenomai 3.0.1?
  2016-01-28 17:09 [Buildroot] Xenomai 3.0.1? jerry at chordia.co.uk
@ 2016-01-29  8:36 ` Thomas Petazzoni
  2016-01-29 12:53   ` jerry at chordia.co.uk
  2016-01-30  7:59   ` Arnout Vandecappelle
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2016-01-29  8:36 UTC (permalink / raw)
  To: buildroot

Hello Jerry,

On Thu, 28 Jan 2016 17:09:33 -0000, jerry at chordia.co.uk wrote:
> Running the xenomai prepare-kernel script against an externally sourced
> 3.18.26 kernel. Buildroot builds a bootable kernel and working FS but the
> Xenomai userland tools appear to be related to 2.X. 
> 
> How do I best get BR to install the latest stuff?

You need to adapt the Xenomai package in package/xenomai/ and also
probably the Xenomai Linux extension logic in
linux/linux-ext-xenomai.mk.

Note however that there is a *big* difference between Xenomai 2 and
Xenomai 3, and therefore this update is certainly not the easiest
Buildroot modification that you can imagine. Xenomai 3 can run on top
of PREEMPT_RT kernels, without the Xenomai co-kernel and Adeos
interrupt pipeline. This probably requires some fairly significant
changes in the Xenomai packaging.

In addition, since Xenomai 3 is rather new and so different from
Xenomai 2, we probably want to keep support for Xenomai 2 for a while,
which adds even more challenge to the task.

In fact, I didn't notice that Xenomai 3 was officially released, last
time I looked they were at the 3.0-rc stage, so I didn't bother doing
the Buildroot packaging. I might have a look some day, but that's
pretty far away on my TODO list, so if someone else wants to look at
it, it would definitely be great!

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] Xenomai 3.0.1?
  2016-01-29  8:36 ` Thomas Petazzoni
@ 2016-01-29 12:53   ` jerry at chordia.co.uk
  2016-01-30  7:59   ` Arnout Vandecappelle
  1 sibling, 0 replies; 4+ messages in thread
From: jerry at chordia.co.uk @ 2016-01-29 12:53 UTC (permalink / raw)
  To: buildroot

Hello Thomas,

> 
> You need to adapt the Xenomai package in package/xenomai/ and also
> probably the Xenomai Linux extension logic in linux/linux-ext-xenomai.mk.
> 
> Note however that there is a *big* difference between Xenomai 2 and
> Xenomai 3, and therefore this update is certainly not the easiest
Buildroot
> modification that you can imagine. Xenomai 3 can run on top of PREEMPT_RT
> kernels, without the Xenomai co-kernel and Adeos interrupt pipeline. This
> probably requires some fairly significant changes in the Xenomai
packaging.
> 
> In addition, since Xenomai 3 is rather new and so different from Xenomai
2,
> we probably want to keep support for Xenomai 2 for a while, which adds
> even more challenge to the task.

Somehow this is exactly what I expected :)
 
> In fact, I didn't notice that Xenomai 3 was officially released, last time
I looked
> they were at the 3.0-rc stage, so I didn't bother doing the Buildroot
> packaging. I might have a look some day, but that's pretty far away on my
> TODO list, so if someone else wants to look at it, it would definitely be
great!

I will be taking a look soonish I hope. Let us see how it progresses.

BR.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] Xenomai 3.0.1?
  2016-01-29  8:36 ` Thomas Petazzoni
  2016-01-29 12:53   ` jerry at chordia.co.uk
@ 2016-01-30  7:59   ` Arnout Vandecappelle
  1 sibling, 0 replies; 4+ messages in thread
From: Arnout Vandecappelle @ 2016-01-30  7:59 UTC (permalink / raw)
  To: buildroot

On 29-01-16 09:36, Thomas Petazzoni wrote:
> Hello Jerry,
> 
> On Thu, 28 Jan 2016 17:09:33 -0000, jerry at chordia.co.uk wrote:
>> Running the xenomai prepare-kernel script against an externally sourced
>> 3.18.26 kernel. Buildroot builds a bootable kernel and working FS but the
>> Xenomai userland tools appear to be related to 2.X. 
>>
>> How do I best get BR to install the latest stuff?
> 
> You need to adapt the Xenomai package in package/xenomai/ and also
> probably the Xenomai Linux extension logic in
> linux/linux-ext-xenomai.mk.
> 
> Note however that there is a *big* difference between Xenomai 2 and
> Xenomai 3, and therefore this update is certainly not the easiest
> Buildroot modification that you can imagine. Xenomai 3 can run on top
> of PREEMPT_RT kernels, without the Xenomai co-kernel and Adeos
> interrupt pipeline. This probably requires some fairly significant
> changes in the Xenomai packaging.
> 
> In addition, since Xenomai 3 is rather new and so different from
> Xenomai 2, we probably want to keep support for Xenomai 2 for a while,
> which adds even more challenge to the task.

 Begging to differ here. As far as I know, API-wise, Xenomai 3 is compatible
with Xenomai 2 (except maybe a few deprecated functions that have been removed).
For sure, nothing internal in Buildroot depends on it.

 In addition, running on top of PREEMPT_RT is optional.

 Therefore, I think the bump can be done in the "simple" way first, that there
is no need to offer a Xenomai 2 version, and that a new feature of offering the
single-kernel implementation can be added later.

 Regards,
 Arnout


> 
> In fact, I didn't notice that Xenomai 3 was officially released, last
> time I looked they were at the 3.0-rc stage, so I didn't bother doing
> the Buildroot packaging. I might have a look some day, but that's
> pretty far away on my TODO list, so if someone else wants to look at
> it, it would definitely be great!
> 
> Best regards,
> 
> Thomas
> 


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-01-30  7:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-28 17:09 [Buildroot] Xenomai 3.0.1? jerry at chordia.co.uk
2016-01-29  8:36 ` Thomas Petazzoni
2016-01-29 12:53   ` jerry at chordia.co.uk
2016-01-30  7:59   ` Arnout Vandecappelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox