7i80 and 7i77

More
22 Sep 2014 16:18 #51426 by micges
Replied by micges on topic 7i80 and 7i77
To run hm2_eth:
Get rt-preempt kernel from packages.
Get latest linuxcnc sources.
Then compile master branch:
./autogen.sh
./configure --with-realtime=uspace
make
sudo make setuid
to load driver:
loadrt hostmot2
loadrt hm2_eth config="config string" board_ip=nn.nn.nn.nn
addf hm2_7i80.0.read servo-thread
addf hm2_7i80.0.write servo-thread

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

More
22 Sep 2014 17:44 #51428 by uli12us
Replied by uli12us on topic 7i80 and 7i77
It answers "Cannot create autom4te.cache No such file or directory" . Strangely in the autogen.sh the file is called auto4mte.cache

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

More
23 Sep 2014 03:03 #51455 by micges
Replied by micges on topic 7i80 and 7i77
what 'uname -a' returns?

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

More
23 Sep 2014 04:24 #51458 by uli12us
Replied by uli12us on topic 7i80 and 7i77
Always the same 2.6.32-122-rtai ..... 27. Juli 2012. Its strange that I can install nearly half a GiB of software without an error message and after a newstart it happens nothing.

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

More
23 Sep 2014 10:02 #51470 by PCW
Replied by PCW on topic 7i80 and 7i77
The first step is to download and install an appropriate preemt-rt kernel (and boot from same)
you will not have much luck running the uspace version of linuxcnc without it

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

More
23 Sep 2014 14:53 - 23 Sep 2014 14:54 #51478 by uli12us
Replied by uli12us on topic 7i80 and 7i77
I have tried to install the RT preempt from the first page. Without any success. Maybe I must start it with any special inputs, but if you have no start-up-message, how can I run the new compiled version.
I tried the download here from the download section, first the 2nd latest, then the latest, but each version don't can be updated with RT preempt. But the RTAI is as well a RT system. Why can't I use this, what I have read, the System should be as least as good as the RT preemp. Eventually I should try to use an outdated version.

I know nothing about linux special commands, maybe if i type ctrl-S or similiar at start-up I get a startscreen. But If I don't know the command, its nearly impossible to type in that correct.
Last edit: 23 Sep 2014 14:54 by uli12us.

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

More
23 Sep 2014 21:25 #51487 by PCW
Replied by PCW on topic 7i80 and 7i77
What OS version and distribution are you running?

You will need to setup grub to boot the preemt-rt kernel

Holding the shift key when booting will invoke the grub boot menu (not sure if this is universal)

The uspace version of linuxcnc that hm2_eth uses requires a Preemt-RT kernel

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

More
24 Sep 2014 14:55 #51514 by uli12us
Replied by uli12us on topic 7i80 and 7i77
Now I have installed the 5th different Ubuntu version. In each case I can't install the RT Preempt. I fear, I use a board that I can't use with this. Today I will try an old s775 Board that I have sent to retirement. I hope I can install the supplement on this board. If yes, I will try to run it on the newer board, that is (I hope) a good part faster.

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

More
24 Sep 2014 16:52 #51523 by micges
Replied by micges on topic 7i80 and 7i77
here I think are easiest steps to run 7i80:

1. Install debian www.linuxcnc.org/binary.hybrid.iso
2. install packages
http://static.mah.priv.at/public/rt-preempt/linux-libc-dev_3.12.5-rt7mah-1_i386.deb
http://static.mah.priv.at/public/rt-preempt/linux-headers-3.12.5-rt7mah_3.12.5-rt7mah-1_i386.deb
http://static.mah.priv.at/public/rt-preempt/linux-image-3.12.5-rt7mah_3.12.5-rt7mah-1_i386.deb
http://static.mah.priv.at/public/rt-preempt/linux-firmware-image-3.12.5-rt7mah_3.12.5-rt7mah-1_i386.deb
3. Install linuxcnc sources from git: linuxcnc.org/docs/2.5/html/code/Contribu...nc_official_git_repo
4. build it and run it using my instructions few messages ago.

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

More
24 Sep 2014 22:01 - 24 Sep 2014 23:25 #51532 by PCW
Replied by PCW on topic 7i80 and 7i77
Also if you use the latest LinuxCNC ISO (Debian Wheezy)

www.linuxcnc.org/index.php/english/download

There's a pre-built Debian Preemt-RT kernel package available:

sudo apt-get install linux-image-3.2.0-4-rt-amd64

You still need to install/run linuxcnc master (2.7)

If you use Wheezy, there's a pre-built linuxcnc master (2.7) binary for Preemt-RT here:

buildbot.linuxcnc.org/

(master-rtpreempt)
Last edit: 24 Sep 2014 23:25 by PCW.

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

Moderators: PCWjmelson
Time to create page: 0.100 seconds
Powered by Kunena Forum