Backup and restore of the working configuration

More
31 Jan 2020 01:27 #156223 by BeagleBrainz
If you have a look through the forum you will find a rather large thread discussing the installation of a real time kernel and linuxcnc on Mint.
You'll will a lot more by actually browsing the forums, you can almost guarantee any question you have regarding installation and running linuxcnc has been asked, most of them rather recently.
You may even find links to JT's fantastic documentation on getting Linuxcnc running on various versions of Debian & Mint.

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

More
31 Jan 2020 01:48 #156226 by JohnnyCNC
I was previously was using Debian Wheezy and LinuxCNC 2.7.15. I wanted to get to a later version of Linux and LinuxCNC 2.8.0. I did this by getting a new SSD and doing a fresh install of both. That way I had the old drive to fall back to if needed. I chose Linux Mint 19.3 and got LinuxCNC 2.8.0~Pre1 and the RTAI kernel from linuxcnc.org/temp (see below) . I am using the RTAI kernel rather than the PREEMPT kernel because I am using a Mesa 5i25+7i76. I made my first chips yesterday on t his new version.

I only needed these four files for what I was doing.


I figured out how to do this by reading a lot of threads on this site and getting help for specific issues from other posters. I installed five different versions of Linux, some multiple times, before I was able to get to where I wanted to be and be able go through the process smoothly.

I don't know what you mean by "A CNC-function directly with git?". I didn't need anything from GitHub or to use git for this project.
Attachments:

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

More
31 Jan 2020 12:47 #156246 by tommylight
FYI, Mesa 5i25 and 6i25 work perfectly with Preempt-RT kernel.

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

More
02 Feb 2020 00:15 #156334 by ogogon

because I am using a Mesa 5i25+7i76.

Sorry, but as far as I understand, the Mesa 5i25 is either a board with additional LPT ports, or a lab card with GPIO pins.
And not very new and quite expensive.
Is such a solution significantly better than the integrated LPT port?
I ask this question simply because I have repeatedly come across links to such solutions and I want to understand their nuances.

Now there’s a question on the topic - did I understand correctly that now it is possible to get the necessary kernel with real-time support, put it in a "live" and not in an archived distribution, and work quietly when receiving current updates?
If so, why is this not done in the current LinuxCNC distribution? Or is it already done, but I just did not understand this from the context of the discussion?

Ogogon.

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

More
02 Feb 2020 00:37 #156335 by tommylight

Sorry, but as far as I understand, the Mesa 5i25 is either a board with additional LPT ports, or a lab card with GPIO pins.
And not very new and quite expensive.
Is such a solution significantly better than the integrated LPT port?
I ask this question simply because I have repeatedly come across links to such solutions and I want to understand their nuances.

www.google.com/search?sxsrf=ACYBGNR46NwN......0i131.rOyi3w_d2b8
5i25 and the likes are FPGA (see above link) and they can be programmed to do a lot of things like step generation, PWM (Pulse Width Modulation, used to control a lot of stuff), encoder counting, or plain Input or Outputs.
Those are all things that parallel port can also do with the help of software, but it is not freely programmable, it has 3 modes depending on the number of inputs and outputs, and the maximum frequency it can do is more or less around 20KHz ( 20 thousand changes per second.
Mesa boards can do up to 10Mhz ( ten million steps or reads or changes per second )
And they are not expensive by any measure, i do have plenty of them just in case i might need them as they have proven extremely reliable.

As for the second part, there are several very good tutorials on how to install Linuxcnc on many Linux distros, there are two ready made images, i just added another 2 with Linux Mint.
Also you might want to ease up on the "updates" thing, Linux is not windows.
The following user(s) said Thank You: JohnnyCNC, BeagleBrainz

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

More
02 Feb 2020 01:14 - 02 Feb 2020 01:23 #156339 by BeagleBrainz
I take it you maybe a young fella ogogon ?
Do you really want to update while running gcode ?

Code doesn't disappear over time (assuming hardware does not go belly up), it'll still be there in 10 years time. And if the hardware is the same as it was 10 years ago, it will still work.
There's no used by date, what works will still work.
The Mesa gear works, so what if the 5i25 isn't "new", the design was nailed and it works, and seems to be a very flexible design.
Remember machine tools are not like mobile phones, they last provided you look after them. Should I replace my Myford ML7/Super 7 hybrid (don't ask how I got to this stage, it's built from parts bought off ebay) lathe because the bed is from 1953 and still within spec ?
If you want to run the latest, you can run Debian Buster with a 2.9 branch, you'll get your regular updates that you can install til your hearts content.
I'll run Stretch with a 2.8 branch and not bother with updates. And I dare you to hack my machine.


Shhh no one mention how many win95 boxes are still acting as print servers, rudimentary file servers, or hooked up to various EPROM/GAL/PAL programmers. Or DOS boxes for quick & dirty PCB design hooked up to old HP laser printers or plotters.
There's lot to be said about OS's that are older than the script kiddies lurking in their bedrooms.
Last edit: 02 Feb 2020 01:23 by BeagleBrainz.
The following user(s) said Thank You: tommylight

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

More
02 Feb 2020 01:26 - 02 Feb 2020 01:27 #156341 by ogogon

As for the second part, there are several very good tutorials on how to install Linuxcnc on many Linux distros, there are two ready made images, i just added another 2 with Linux Mint.
Also you might want to ease up on the "updates" thing, Linux is not windows.

This is just great!
And how to access these treasures?

Ogogon.
Last edit: 02 Feb 2020 01:27 by ogogon.

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

More
02 Feb 2020 02:14 #156342 by BeagleBrainz
Use the search function or browse the applicable sections of the forum.

Click on the "Recent Topics" link and browse the topics there.

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

More
02 Feb 2020 02:18 #156343 by ogogon

I take it you maybe a young fella ogogon ?
Do you really want to update while running gcode ?

Oh how right you are!

But I, as a young man entering life, really want her to take steps every day on the path to excellence.
And I have already been taught that I must constantly make some available effort for this.

I believe that you have a slightly different picture of the world. You believe that there is no need to improve the world, but simply to adapt to what is. Through various compromises, although they are not very convenient, but they eliminate the need for constant labor.

I don’t want you to be offended or decide that I blame you. I just think a little different.

By the way, if my question is not inappropriate - you have a somewhat unusual vocabulary and manner of speaking. Which nation or social group do you belong to?

Ogogon.
The following user(s) said Thank You: tommylight

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

More
02 Feb 2020 02:23 #156344 by ogogon

Use the search function or browse the applicable sections of the forum.

Click on the "Recent Topics" link and browse the topics there.

Thank you. But it would be nice to get the link directly from the author.
Search gives a lot of different information, it is not always easy to understand its relevance or just correctness.

Ogogon.

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

Time to create page: 0.221 seconds
Powered by Kunena Forum