All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Need help to use Xenomai on Debian (even after reading the wesite tutorial)
@ 2011-06-10  1:45 Luis Rossi
  2011-06-10  4:46 ` Uwe Fechner
  2011-06-10  7:10 ` Gilles Chanteperdrix
  0 siblings, 2 replies; 3+ messages in thread
From: Luis Rossi @ 2011-06-10  1:45 UTC (permalink / raw)
  To: xenomai

[-- Attachment #1: Type: text/plain, Size: 1217 bytes --]

Hi,

I am trying to use Xenomai with Debian, but i am kind lost here. Even after
reading this: http://www.xenomai.org/index.php/Building_Debian_packages, i
could not figure out how to use Xenomai on a Debian with a x86. I am really
not experienced with linux kernel.

First of all i have a few questions. If Xenomais is a patch, why should i
build a patched kernel? Is it no suposed to patch an already built kernel?

Why there isnt available already built kernels for every architecture?

On a final stage i need to use xenomai on a PC104 with an Atom, with no
keyboard, Mouse or display, and a debian system with just the baisc
packages, a ssh server and Xenomai. What wouldbe the most portable way to
use Xenomai so i can replicate that system easily?


On the Web page is said "For development, linux-patch-xenomai and
libxenomai-dev are needed, for "production" systems, you should just need
xenomai-runtime und libxenomai1 (together with the self built kernel as
described in the next section)." What development means? Development of
Xenomai itself?

Can any one provide me an explanations for dummies on how to build a debian
with xenomai, with a simple explanation on what is being made and why?

Thank you!

[-- Attachment #2: Type: text/html, Size: 2091 bytes --]

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

* Re: [Xenomai-help] Need help to use Xenomai on Debian (even after reading the wesite tutorial)
  2011-06-10  1:45 [Xenomai-help] Need help to use Xenomai on Debian (even after reading the wesite tutorial) Luis Rossi
@ 2011-06-10  4:46 ` Uwe Fechner
  2011-06-10  7:10 ` Gilles Chanteperdrix
  1 sibling, 0 replies; 3+ messages in thread
From: Uwe Fechner @ 2011-06-10  4:46 UTC (permalink / raw)
  To: Luis Rossi; +Cc: xenomai

[-- Attachment #1: Type: text/plain, Size: 2769 bytes --]

 Hello,

you could try to follow my way of doing it:
http://www.kieltech.de/uweswiki/Xenomai

I did it on Ubuntu, but it should work with Debian, too (the only thing
that I don't know
is, whether you need an additional step to update the initial ramdisk
after installing
the packages.
Please give feedback, if it works with Debian (and with which version of
Debian and
with which additional steps, if any), so that I can add this information
to my wiki-page.

I try to answer some of your other questions inline:

On 10.06.2011 03:45, Luis Rossi wrote:
> Hi, 
>
> I am trying to use Xenomai with Debian, but i am kind lost here. Even
> after reading
> this: http://www.xenomai.org/index.php/Building_Debian_packages, i
> could not figure out how to use Xenomai on a Debian with a x86. I am
> really not experienced with linux kernel. 
>
> First of all i have a few questions. If Xenomais is a patch, why
> should i build a patched kernel? Is it no suposed to patch an already
> built kernel?
Two possible reasons:
1. I would not try to patch a debian kernel, because it already has a
lot of other patches, that could cause conflicts.
I would only patch a native kernel from kernel.org.
2. The newest kernels (which are default on Ubunutu 10.10, I don't know
about debian) are not supported by xenomai.
>
> Why there isnt available already built kernels for every architecture?
>
Building a kernel for xenomai really depends on your hardware. You
really have to tweak the .config options, to make it work. A kernel,
that works well on one computer might not work well (with a low latency)
on another computer. Building generic kernels is hardly possible.
> On a final stage i need to use xenomai on a PC104 with an Atom, with
> no keyboard, Mouse or display, and a debian system with just the baisc
> packages, a ssh server and Xenomai. What wouldbe the most portable way
> to use Xenomai so i can replicate that system easily?
>
>
> On the Web page is said "For development, linux-patch-xenomai and
> libxenomai-dev are needed, for "production" systems, you should just
> need xenomai-runtime und libxenomai1 (together with the self built
> kernel as described in the next section)." What development means?
> Development of Xenomai itself?
>
> Can any one provide me an explanations for dummies on how to build a
> debian with xenomai, with a simple explanation on what is being made
> and why?
>
> Thank you!
>
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help


-- 
----------------------------------------
Uwe Fechner, M.Sc.
Delft University of Technology
Faculty of Aerospace Engineering/ASSET
Kluyverweg 1,
2629 HS Delft, The Netherlands
Phone: +31-15-27-88902


[-- Attachment #2: Type: text/html, Size: 5292 bytes --]

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

* Re: [Xenomai-help] Need help to use Xenomai on Debian (even after reading the wesite tutorial)
  2011-06-10  1:45 [Xenomai-help] Need help to use Xenomai on Debian (even after reading the wesite tutorial) Luis Rossi
  2011-06-10  4:46 ` Uwe Fechner
@ 2011-06-10  7:10 ` Gilles Chanteperdrix
  1 sibling, 0 replies; 3+ messages in thread
From: Gilles Chanteperdrix @ 2011-06-10  7:10 UTC (permalink / raw)
  To: Luis Rossi; +Cc: xenomai

On 06/10/2011 03:45 AM, Luis Rossi wrote:
> Hi,
> 
> I am trying to use Xenomai with Debian, but i am kind lost here. Even after
> reading this: http://www.xenomai.org/index.php/Building_Debian_packages, i
> could not figure out how to use Xenomai on a Debian with a x86. I am really
> not experienced with linux kernel.
> 
> First of all i have a few questions. If Xenomais is a patch, why should i
> build a patched kernel? Is it no suposed to patch an already built kernel?

Xenomai is not really a patch, Xenomai relies on a patch, the Adeos
I-pipe patch. And this patch is a patch for the kernel sources, not a
binary patch, so, yes, the patched kernel needs to be compiled. For more
details about Adeos, see:

http://www.xenomai.org/documentation/branches/v2.3.x/pdf/Life-with-Adeos-rev-B.pdf

> 
> Why there isnt available already built kernels for every architecture?

Because, currently, a Linux kernel needs to be well tuned for your
particular machine. See:
http://www.xenomai.org/index.php/Configuring_x86_kernels

> 
> On a final stage i need to use xenomai on a PC104 with an Atom, with no
> keyboard, Mouse or display, and a debian system with just the baisc
> packages, a ssh server and Xenomai. What wouldbe the most portable way to
> use Xenomai so i can replicate that system easily?
> 
> 
> On the Web page is said "For development, linux-patch-xenomai and
> libxenomai-dev are needed, for "production" systems, you should just need
> xenomai-runtime und libxenomai1 (together with the self built kernel as
> described in the next section)." What development means? Development of
> Xenomai itself?

Xenomai is a library, not really different from say, the C library. The
programs you write need the library to run, the library being provided
by the xenomai-runtime and libxenomai packages, but in order to develop
these programs, you need the interface definitions for this library, the
header files, these ones are provided by the libxenomai-dev package.

> 
> Can any one provide me an explanations for dummies on how to build a debian
> with xenomai, with a simple explanation on what is being made and why?

The debian instructions are relatively clear. For more details, look at
other documents on Xenomai website which are not specific to Debian. The
installation instructions are found here:
http://www.xenomai.org/documentation/xenomai-2.5/README.INSTALL

For a page pointing to most of the Xenomai project documentation, start
here:
http://www.xenomai.org/index.php/Included_documentation_summary

-- 
					    Gilles.


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

end of thread, other threads:[~2011-06-10  7:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-10  1:45 [Xenomai-help] Need help to use Xenomai on Debian (even after reading the wesite tutorial) Luis Rossi
2011-06-10  4:46 ` Uwe Fechner
2011-06-10  7:10 ` Gilles Chanteperdrix

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.