7i97 newbie questions

More
19 Oct 2019 21:00 #148365 by Samuelx
7i97 newbie questions was created by Samuelx
I bought a 7i97 board for my cnc project.
I found a manual online, but that's not helpful for total newbie.
I didn't find good start instructions for that board. How generic mesa board instructions are?
Where to start
I know how to wire up the board but everything els mystery

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

More
20 Oct 2019 01:14 #148381 by PCW
Replied by PCW on topic 7i97 newbie questions
The 7I97 is very new so needs LinuxCNC builld from source with some
Mesa patches added currently

The hal file for a 7I97 would be close to a hal file for a 5I2X/7I33 with some minor changes

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

More
20 Oct 2019 09:01 - 20 Oct 2019 09:55 #148391 by Samuelx
Replied by Samuelx on topic 7i97 newbie questions
Found a youtube video that explains build from source.

So I have now some basic information
Just don't know what to build :D

How can I know what mesa patches to add and how I add them?

At this moment, I am running the machine whit mach 3 and step dir.
I clean a PC and installed newest linux cnc to it.

It seems that LinuxCNC and mesa boards are not so easy to use then mach 3 and uc100.
I got few linux specialist friend that I can ask help. If you can just help me to right direction
Last edit: 20 Oct 2019 09:55 by Samuelx.

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
20 Oct 2019 10:18 #148397 by tommylight

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

More
20 Oct 2019 11:59 - 20 Oct 2019 12:05 #148404 by Samuelx
Replied by Samuelx on topic 7i97 newbie questions
Thank you for the link.
I earlier manage to download and instal
linuxcnc-2.7.14-wheezy.iso to my old Dell T3500
So something is already installed and working

On that link there is a 4 different method to install.
What instructions I should follow?
1. is RIP version so not that?
2. includes LinuxCNC building that I already got in my linuxcnc-2.7.14-wheezy.iso install so not that ?
3. seems the right one?

I try to do as much as possible my self. My friend is coming next week some evening to help me (he work with linux every day)
Last edit: 20 Oct 2019 12:05 by Samuelx.

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

More
22 Oct 2019 20:54 #148557 by Samuelx
Replied by Samuelx on topic 7i97 newbie questions
Tomorow I am going to clean my Dell and install LinuxCNC from source whit my friend who know linux.
Where can I find those mesa patches that are just added?
How can I know what changes to do for the Hal file?

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

More
23 Oct 2019 04:17 #148581 by PCW
Replied by PCW on topic 7i97 newbie questions
Changed source files:

File Attachment:

File Name: 7i97hm2_20...0-23.zip
File Size:60 KB



(unzip in linuxcnc source tree/ src/hal/drivers/mesa-hostmot2 and move Makefile to /src)

Very basic example hal/ini file for 7I97:

File Attachment:

File Name: 7i97hal_20...0-23.zip
File Size:4 KB
Attachments:

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

More
23 Oct 2019 18:33 #148615 by Samuelx
Replied by Samuelx on topic 7i97 newbie questions
First we changed source files and run in to problem

the build failed with this error message
cannot stat '../lib/python/qtvcp/widgets/*.ui': No such file or directory
Line 678

After that we managed to install linuxcnc with unmodified files.

on both installation we get this error
./configure -r

your kernel '4.1.0-1-rtai-amd64' is not known. There might be needed dependencies which won't get set automatically.
successfully configured for 'LinuxMint-18'-'4.1.0-1-rtai-amd

should we use some different version of linuxcnc with these modified files?
We used the latest master

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

More
23 Oct 2019 18:44 - 23 Oct 2019 18:44 #148616 by PCW
Replied by PCW on topic 7i97 newbie questions
Your errors are not related to the new files, but a basic issue is that you
need to build the userspace version of LinuxCNC on a system with a Preempt-RT kernel.

Probably the easiest way to do this is to download the LinuxCNC/uspace
stretch ISO, install the LinuxCNC source, update the driver source, and build
a uspace version of LinuxCNC

www.linuxcnc.org/testing-stretch-rtpreempt/

linuxcnc.org/docs/master/html/code/building-linuxcnc.html
Last edit: 23 Oct 2019 18:44 by PCW.

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

More
23 Oct 2019 19:19 - 23 Oct 2019 19:19 #148617 by Samuelx
Replied by Samuelx on topic 7i97 newbie questions
Thank you fro your quick answer.
We where using the method 3
(Installing pre-compiled RTAI Kernel from apt using .debs )
Was this a wrong solution?
forum.linuxcnc.org/9-installing-linuxcnc...install-or-deb#86438
Last edit: 23 Oct 2019 19:19 by Samuelx.

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

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