All of lore.kernel.org
 help / color / mirror / Atom feed
* [Adeos-main] xenomai-runtime package for Ubuntu (can we get 2.6.38 hard real time kernel with it?)
@ 2011-06-14  4:09 AKS
  2011-06-14  9:03 ` Alexey Galakhov
  0 siblings, 1 reply; 4+ messages in thread
From: AKS @ 2011-06-14  4:09 UTC (permalink / raw)
  To: Adeos

Hi

Good day everyone. I have questions about "xenomai-runtime" package
that can be installed in Ubuntu using "apt-get install". xenomai-runtime
relies on libxenomai1. It is recommended to have "linux-patch-xenomai"
too. I can understand why it needs libxenomai1 library but I cannot figure
out how it can patch the Linux kernel to be real time. I assume it is still
needed to patch "adeos I-pipe" into the kernel to make it real time. The
package information states that the "linux-patch-xenomai" package is just
an adeos I-pipe patch, but the Linux source has to be virgin source code
from mainstream kernel.
https://launchpad.net/ubuntu/natty/+package/xenomai-runtime

First will that patch is for new kernel compilation? I think the question I
have is already asked. I guess I am repeating Robinson's question below.

https://mail.gna.org/public/xenomai-help/2010-08/msg00309.html

I assume that package uses Xenomai 2.5.5.2-1. Since it is Ubuntu Natty,
its Kernel is 2.6.35+ or can even be 2.6.38 (but from this forum, I learned
that the latest adeos I-pipe linux kernel patch was 2.6.35. So which is the
latest and greatest xenomai. Am I right?

My other question is that can I compile a 2.6.38 kernel, drivers and rootfile
system with Ubuntu Natty, since that patch and xenomai-runtime do not
limit the kernel number. Can it be possible to build an Ubuntu with 2.6.38
real time kernel based on Xenomai. I will be glad if anyone can kindly share
or point me to documentation for xenomai-runtime. Thanks!


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

* Re: [Adeos-main] xenomai-runtime package for Ubuntu (can we get 2.6.38 hard real time kernel with it?)
  2011-06-14  4:09 [Adeos-main] xenomai-runtime package for Ubuntu (can we get 2.6.38 hard real time kernel with it?) AKS
@ 2011-06-14  9:03 ` Alexey Galakhov
  2011-06-14  9:09   ` Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: Alexey Galakhov @ 2011-06-14  9:03 UTC (permalink / raw)
  To: adeos-main

Hi!

On 06/14/2011 10:09 AM, AKS wrote:
> Hi
> 
> Good day everyone. I have questions about "xenomai-runtime" package
> that can be installed in Ubuntu using "apt-get install". xenomai-runtime
> relies on libxenomai1. It is recommended to have "linux-patch-xenomai"
> too. I can understand why it needs libxenomai1 library but I cannot figure
> out how it can patch the Linux kernel to be real time. I assume it is still
> needed to patch "adeos I-pipe" into the kernel to make it real time. The
> package information states that the "linux-patch-xenomai" package is just
> an adeos I-pipe patch, but the Linux source has to be virgin source code
> from mainstream kernel.
> https://launchpad.net/ubuntu/natty/+package/xenomai-runtime

You have to install one of Ubuntu "linux-source-*" packages. It should
be of the version supported by Xenomai/I-pipe. 2.6.35.9 or 2.6.37 should
be Ok.

After that, install "linux-patch-xenomai" and follow instructions from
its README.Debian. Usually you both apply the patch and recompile the
kernel using make-kpkg utility (install "kernel-package").

Some Ubuntu/Debian versions are broken so that there is no matching
linux-source in the repository at all. If so, use vanilla kernel with
vanilla xenomai patch. Run make-kpkg to build the kernel. You still may
use "xenomai-runtime" from the repository.

> My other question is that can I compile a 2.6.38 kernel, drivers and rootfile
> system with Ubuntu Natty, since that patch and xenomai-runtime do not
> limit the kernel number. Can it be possible to build an Ubuntu with 2.6.38
> real time kernel based on Xenomai. I will be glad if anyone can kindly share
> or point me to documentation for xenomai-runtime. Thanks!

Maybe. You have to have an ipipe patch for this kernel version. If you
don't have one. you may use git version of ipipe and patch the kernel by
hand. It is much more complex but doable.

--
Alex



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

* Re: [Adeos-main] xenomai-runtime package for Ubuntu (can we get 2.6.38 hard real time kernel with it?)
  2011-06-14  9:03 ` Alexey Galakhov
@ 2011-06-14  9:09   ` Jan Kiszka
  2011-06-14 10:19     ` AKS
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Kiszka @ 2011-06-14  9:09 UTC (permalink / raw)
  To: AKS, Alexey Galakhov; +Cc: adeos-main

On 2011-06-14 11:03, Alexey Galakhov wrote:
>> My other question is that can I compile a 2.6.38 kernel, drivers and rootfile
>> system with Ubuntu Natty, since that patch and xenomai-runtime do not
>> limit the kernel number. Can it be possible to build an Ubuntu with 2.6.38
>> real time kernel based on Xenomai. I will be glad if anyone can kindly share
>> or point me to documentation for xenomai-runtime. Thanks!
> 
> Maybe. You have to have an ipipe patch for this kernel version. If you
> don't have one. you may use git version of ipipe and patch the kernel by
> hand. It is much more complex but doable.

No need to patch if you clone the ipipe git:

git://git.denx.de/ipipe-2.6.git ipipe-2.6.38-x86

Some pending x86 fixes are in

git://git.kiszka.org/ipipe.git queues/2.6.38-x86

Just run prepare-kernel against such a checked out tree.

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux


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

* Re: [Adeos-main] xenomai-runtime package for Ubuntu (can we get 2.6.38 hard real time kernel with it?)
  2011-06-14  9:09   ` Jan Kiszka
@ 2011-06-14 10:19     ` AKS
  0 siblings, 0 replies; 4+ messages in thread
From: AKS @ 2011-06-14 10:19 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: adeos-main

Hi Jan and Alex

Thanks for the pointers and appreciated. Cheers!

On 6/14/11, Jan Kiszka <jan.kiszka@domain.hid> wrote:
> On 2011-06-14 11:03, Alexey Galakhov wrote:
>>> My other question is that can I compile a 2.6.38 kernel, drivers and
>>> rootfile
>>> system with Ubuntu Natty, since that patch and xenomai-runtime do not
>>> limit the kernel number. Can it be possible to build an Ubuntu with
>>> 2.6.38
>>> real time kernel based on Xenomai. I will be glad if anyone can kindly
>>> share
>>> or point me to documentation for xenomai-runtime. Thanks!
>>
>> Maybe. You have to have an ipipe patch for this kernel version. If you
>> don't have one. you may use git version of ipipe and patch the kernel by
>> hand. It is much more complex but doable.
>
> No need to patch if you clone the ipipe git:
>
> git://git.denx.de/ipipe-2.6.git ipipe-2.6.38-x86
>
> Some pending x86 fixes are in
>
> git://git.kiszka.org/ipipe.git queues/2.6.38-x86
>
> Just run prepare-kernel against such a checked out tree.
>
> Jan
>
> --
> Siemens AG, Corporate Technology, CT T DE IT 1
> Corporate Competence Center Embedded Linux
>


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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-14  4:09 [Adeos-main] xenomai-runtime package for Ubuntu (can we get 2.6.38 hard real time kernel with it?) AKS
2011-06-14  9:03 ` Alexey Galakhov
2011-06-14  9:09   ` Jan Kiszka
2011-06-14 10:19     ` AKS

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.