Xenomai 3.0.1?
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>
Hello Jerry,
Quoted 5 lines · jerry at chordia.co.uk
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
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Hello Thomas,
Quoted 6 lines
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
Quoted 3 lines
modification that you can imagine. Xenomai 3 can run on top of
PREEMPT_RTkernels, without the Xenomai co-kernel and Adeos interrupt pipeline. This probably requires some fairly significant changes in the Xenomai
packaging.
Quoted 2 lines
In addition, since Xenomai 3 is rather new and so different from Xenomai
2,
Quoted 2 lines
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 :)
Quoted 1 line
In fact, I didn't notice that Xenomai 3 was officially released, last time
I looked
Quoted 3 lines
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.
Quoted 20 lines · Thomas Petazzoni
Hello Jerry,
Quoted 5 lines · jerry at chordia.co.uk
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_RTkernels, without the Xenomai co-kernel and Adeos interrupt pipeline. This probably requires some fairly significant changes in the Xenomai packaging.
Quoted 3 lines
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
Quoted 11 lines
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
Signature · 6 lines
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