From: "C Robinson" <starknight__@domain.hid>
To: rpm@xenomai.org
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Xenomai-help Digest, Vol 60, Issue 2
Date: Mon, 06 Sep 2010 08:03:53 -0400 [thread overview]
Message-ID: <20100906080353.574@domain.hid> (raw)
Thanks Philippe for the detailed response, that clears up several things. However, some things are a bit more confusing. I've divided my reply into three section, my aim, the current state of affairs and what I will try next. (Thanks for your patience with me).
===========Section 1 ----My goal
Can I say that I'm looking for the most straight-forward method of getting Xenomai up and running on my Ubuntu system. I have software that requires the Xenomai OS.
>From Philippe's comment, "If you plan to rebuild your own kernel with Xenomai support instead of picking the one shipped with the distro" I get the impression that I have taken the long way?
Bear in mind that my first question to the mailing list was asking if the Xenomai packages available from the repository (i.e. installing xenomai-runtime, linux-patch-xenomai, libxenomai1 ) were sufficient to turn a Ubuntu installation into a Xenomai OS. I was directed to the Debian installation guide. This indicated to me that it was necessary to build and install the Debian packages, but in addition it was still necessary to compile a new kernel patched during the process (so I wonder what is the purpose of the linux-patch-xenomai).
The requirement to compile the kernel I took from the mentioned guide:
"for "production" systems, you should just need xenomai-runtime und libxenomai1 (together with the self built kernel as described in the next section)"
===========Section 2 ----My situation before Philippe's last email
I found another testsuite located in the install directory of /home/<user>/xenomai-2.5.4/src/testsuite, from which I was able to build the examples. However, I still got the following:
> clocktest man
> The program 'clocktest' is currently not installed. You can install it by typing:
> sudo apt-get install xenomai-runtime
(despite synaptic showing it as installed and v2.5.4)
The following steps were done while following the guide:
-----------------------------------------------------------------------------------------------------------------------------
fakeroot make-kpkg --initrd --append-to-version -xenomai-2.5.4 --revision 1.0 binary-arch
dpkg -i linux-image*.deb
update-initramfs -c -k 2.6.32.15-xenomai-2.5.4 && update-grub
-----------------------------------------------------------------------------------------------------------------------------
and with xenomai-runtime still undetected, I found another guide with some additional steps (so I believed) :
-----------------------------------------------------------------------------------------------------------------------------
User Part
cd /usr/xenomai
./configure
make
make install
Test Xenomai:
cd /usr/xenomai/bin
./latency -p0 -t1
-----------------------------------------------------------------------------------------------------------------------------
No success (the configure did work though), I still received the instruction to install xenomai-runtime
===========Section 3 ----Philippe's last suggestion.
Right, so the following are the packages installed according to a cache search for xenomai:
linux-image-2.6.32.15-xenomai-2.5.4 - Linux kernel binary image for version 2.6.32.15-xenomai-2.5.4
linux-patch-xenomai - Linux kernel patches for Xenomai
xenomai-doc - Xenomai documentation
linux-image-2.6.32.15-xenomai-2.5.4-dbg - Linux kernel debug image for version 2.6.32.15-xenomai-2.5.4
libxenomai1 - Shared libraries for Xenomai
libxenomai-dev - Headers and static libs for Xenomai
xenomai-runtime - Xenomai runtime utilities
Before I follow the steps provided by Philippe, I'm going to try the packages provided in the Ubuntu repository. I realise these are out of date, but if they allow me to finally ave a Xenomai OS on which I can install the software I will be working with, then I can perhaps have another go later when I have some of my project underway.
So I will uninstall the following packages and replace with the ubuntu ones after which, if not working, I will try Philippe's steps
xenomai-doc - Xenomai documentation
libxenomai1 - Shared libraries for Xenomai
libxenomai-dev - Headers and static libs for Xenomai
xenomai-runtime - Xenomai runtime utilities
Cheers,
Charles
next reply other threads:[~2010-09-06 12:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-06 12:03 C Robinson [this message]
2010-09-06 13:18 ` [Xenomai-help] Xenomai-help Digest, Vol 60, Issue 2 Stefan Kisdaroczi
-- strict thread matches above, loose matches on Subject: below --
2010-09-03 12:56 C Robinson
2010-09-03 14:32 ` Philippe Gerum
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=20100906080353.574@domain.hid \
--to=starknight__@domain.hid \
--cc=rpm@xenomai.org \
--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.