RTAI_SERIAL

More
12 Aug 2014 21:15 #49763 by H18
Replied by H18 on topic RTAI_SERIAL
OK - 3.8

I am sorry but it is not clear to me which link has the .config to use...

E

Please Log in or Create an account to join the conversation.

More
12 Aug 2014 22:39 #49764 by ArcEye
Replied by ArcEye on topic RTAI_SERIAL
code.google.com/p/neo-technical/wiki/emc2ubuntu

Section 5a is a good base to start from

I think this is the one I used for a x86 version of 3.8.13, there may be a bit too much turned off for you, no power management at all, have to switch off manually

File Attachment:

File Name: rtai.kerne...8-12.txt
File Size:109 KB


regards
Attachments:

Please Log in or Create an account to join the conversation.

More
13 Aug 2014 00:21 - 13 Aug 2014 00:25 #49773 by H18
Replied by H18 on topic RTAI_SERIAL
OK thanks. The manual poweroff is a good thing as my target has a manual rocker power switch.

The comments in the config you attached have the date of march 2011 and the kernel version is noted as 2.6?

I have been thinking ... what compiler did you use. I am playing with xubuntu 12.04.5lts with gcc 4.6.3
Last edit: 13 Aug 2014 00:25 by H18. Reason: info

Please Log in or Create an account to join the conversation.

More
13 Aug 2014 00:52 #49774 by ArcEye
Replied by ArcEye on topic RTAI_SERIAL
I have been using that config and variations of it for a long time :laugh:

Use gcc 4.6.x

There is still something badly wrong with gcc 4.7, I have had all sorts of problems with it that just don't occur with 4.6

regards

Please Log in or Create an account to join the conversation.

More
13 Aug 2014 04:43 #49782 by H18
Replied by H18 on topic RTAI_SERIAL
OK using you config I have a kernel I can boot into. Yeah!

I notice an execution pause every so often. typing, mouse... am i being effected by SMI?


I am having trouble with the RTAI userspace build:
i nedded to install autoconf and dh-autoreconf to perform ./autogen in the ~/devel/RTAI dir

OK so what...

I go to make menuconfig and it complains as follows:
/bin/bash: 0:can't open /base/config/kconfig/lxdialog/check-lsdialog.sh
/bin/bash: 0:can't open /base/config/kconfig/check.sh
etc

ideas? I tried performing a frodos on the files bash is complaing about with no change.


Thanks,
Eric

Please Log in or Create an account to join the conversation.

More
13 Aug 2014 16:03 #49797 by ArcEye
Replied by ArcEye on topic RTAI_SERIAL

OK using you config I have a kernel I can boot into. Yeah!

I notice an execution pause every so often. typing, mouse... am i being effected by SMI?


Not likely, there is something wrong with the kernel build, it has happened to me before, it probably does not like all the PM being turned off

I am having trouble with the RTAI userspace build:
i nedded to install autoconf and dh-autoreconf to perform ./autogen in the ~/devel/RTAI dir

OK so what...

I go to make menuconfig and it complains as follows:
/bin/bash: 0:can't open /base/config/kconfig/lxdialog/check-lsdialog.sh
/bin/bash: 0:can't open /base/config/kconfig/check.sh
etc


You can't bypass the autogen step, Shabby used the new version of autoconf tools, which may not be available in 12.04

You need to ensure you have all the build tools and libs required or it will not build

I am trying to find the location of the RTAI-3.9.296 sources used with the recently released distro.

If I can, that will greatly simplify everyting, bear with me

regards

Please Log in or Create an account to join the conversation.

More
13 Aug 2014 22:49 #49822 by H18
Replied by H18 on topic RTAI_SERIAL
OK I'll hang in there.

Thanks,
E

Please Log in or Create an account to join the conversation.

More
14 Aug 2014 15:53 - 14 Aug 2014 15:53 #49845 by ArcEye
Replied by ArcEye on topic RTAI_SERIAL
OK

I have spoken to Seb and have got a copy of the original git repo.
But in the interim he has already enabled some of the extra modules and has produced a deb package which includes them.

So I have what you wanted, but you are going to have to install the Wheezy distro from linuxcnc.org/binary.hybrid.iso
It makes sense anyway, this is the latest rtai kernel and I think support for Ubuntu is going to tail off. This looks like being the next 'official' bundled distro.

Once installed, do apt-get update and apt-get dist-upgrade.

Then run this script, or the contents of it, to get all the build tools and libs, which you will need anyway. It takes a while depending on your connection.
(I can't be bothered to weed out the ones which are only req for MachineKit, so you will be set up for that as well!)

File Attachment:

File Name: build-deps...8-14.txt
File Size:1 KB


Now download and unzip this deb. To save more explanations, I have added all the required Linuxcnc modules to it too

www.mgware.co.uk/temp/realtime-3.4.9-rtai-686-pae.deb

Move your existing /usr/realtime-3.4.9-rtai-686-pae directory somewhere out of the way and do dpkg -i realtime-3.4.9-rtai-686-pae.deb

You now have rtai_serial and rtai_16550A, I think seb will add rtai_fifos later, I will advise when you can do an update on the main repo and pull it from there.

Now want to know what you do with it, so keep us advised of progress

regards
Attachments:
Last edit: 14 Aug 2014 15:53 by ArcEye.

Please Log in or Create an account to join the conversation.

More
14 Aug 2014 19:37 #49859 by H18
Replied by H18 on topic RTAI_SERIAL
OK great.

So If i read this right...

This is a Debian OS, not Ubuntu.
This is not a kernel build.
This is not a build of the rtai modules, they are provided.
The rtai fifo module is not present.

True?

Can I build the RTAI modules from this and get the fifo module?

Thanks,
E

Please Log in or Create an account to join the conversation.

More
14 Aug 2014 20:10 #49861 by ArcEye
Replied by ArcEye on topic RTAI_SERIAL

OK great.

So If i read this right...

This is a Debian OS, not Ubuntu.
This is not a kernel build.
This is not a build of the rtai modules, they are provided.
The rtai fifo module is not present.

True?


Correct

Can I build the RTAI modules from this and get the fifo module?


Hopefully you won't need to, I have tried to convince him to include that too, on the basis of if most people don't use it - it doesn't eat anything. Await an update from him due to time differences.

In the meanwhile I am looking to see if the rtai used will build against the kerrnel headers and produce loadable modules.
That will be the other route

Plenty to be getting on with, installing and fetching build deps :laugh:

regards

Please Log in or Create an account to join the conversation.

Time to create page: 0.081 seconds
Powered by Kunena Forum