With some help from Michael I have now got this installed & running.
If anyone else is interested, here is a steb-by-step description of what I
did, roughly:

Download ubuntu-12.04.1-desktop-i386.iso and write to USB-stick. Note that
the 64-bit version causes problems later, and the default
startup-disk-creator did not work for me (I used unetbootin)

Download debs from Michael:
http://static.mah.priv.at/public/xenomai-debs<http://static.mah.priv.at/public/xenomai-debs/libxenomai-dev_2.6.1_i386.deb>

first install the xenomai kernel
sudo dpkg -i linux-headers-3.2.21-xenomai+_0.1_i386.deb
sudo dpkg -i linux-image-3.2.21-xenomai+_0.1_i386.deb
sudo update-initramfs -c -k 3.2.21-xenomai+   (I am not sure this is
required or done by dpkg)
sudo update-grub

reboot. uname -r now says "3.2.21-xenomai+"

Now install the rest of xenomai:
sudo dpkg -i libxenomai1_2.6.1_i386.deb
sudo dpkg -i libxenomai-dev_2.6.1_i386.deb
sudo dpkg -i xenomai-runtime_2.6.1_i386.deb

Now we need to get git and other dependencies:
sudo apt-get install synaptic
sudo apt-get install git

By looking at the output of ./configure I installed the following packages.
I don't know if this set is minimal or optimal, but at least configure and
the build seems to complete. Packages: build-essential autoconf libpth-dev
libglib2.0-dev libgtk2.0-dev tcl-dev tk-dev bwidget libreadline-dev
python-tk python-dev libgl1-mesa-dev libglu1-mesa-dev libxmu-dev

get Michaels rtos version of linuxcnc and checkout the rtos-integration
branch
git clone git://git.mah.priv.at/emc2-dev emc2-dev
cd emc2-dev
git branch --track rtos origin/rtos-integration-preview1
git checkout rtos

configure for xenomai and run-in-place
cd src
./autogen.sh
./configure --with-threads=xenomai-user --enable-run-in-place
make
sudo make setuid
cd..
. ./scripts/rip-environment
latency-test
yay! it works. I get a little high numbers (30us) without any tweaking.
With HT disabled and isolcpus (exists on xenomai?) I hope things will
improve.

This is as far as I got today. Any comments or improvements on the workflow?
FWIW I would consider this rtos work more important for a linuxcnc 2.6
release than the redis work that just seems to break the build and cause
problems on 12.04/12.10.

Next I hope to work on some stand-alone HAL logic together with gscreen/GTK
gui's. I understand the PCI drivers for mesa cards etc are still missing
but are being worked on?

Anders
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
DESIGN Expert tips on starting your parallel project right.
http://goparallel.sourceforge.net/
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to