- Posts: 19306
- Thank you received: 0
EMC2 running on Raspberry Pi?
I am totally confused :blush:
Me too.
I think all the rt-preempt discussion took place on the mailing list, and I don't recall if it ever moved a motor.
It is probably worth looking through the mailing list (developer?) archives. Looke under "Community" at the top.
Please Log in to join the conversation.
sourceforge.net/mailarchive/message.php?msg_id=29186458
I fear the wiki page is full of c**p, would be nice if it said the instructions are incomplete and do not work so people don't start wasting time possibly going down a dead end.
I will try and read everything about development, but it looks like the bitmuster stuff is an old emc version and the wikipage is an attempt to forward port the patches to the new linuxcnc development branch???
It makes me reconsider if looking at xenomai may be a better and quicker route.
Looks like I need to do a lot more research again
I am seriously starting to think about giving up on this for a while, as I am not a good programmer or developer.
Please Log in to join the conversation.
I am seriously starting to think about giving up on this for a while, as I am not a good programmer or developer.
You missed off the "Yet".
I had never touched C before I started writing HAL drivers. And I have only very occasionally been paid to program.
Learnign new stuff is the fun part.
Please Log in to join the conversation.
I fear the wiki page is full of c**p, would be nice if it said the instructions are incomplete and do not work so people don't start wasting time possibly going down a dead end.
The wiki is user maintained, if you find something that needs changing you can change it or add to it.
wiki.linuxcnc.org/cgi-bin/wiki.pl?BasicSteps
John
Please Log in to join the conversation.
THERE ARE NO RT_PREEMPT PATCHES OR MODIFICATIONS MADE TO THE GIT REPO AT git://gitorious.org/emc-rt-preempt/emc-rt-preempt.git linuxcnc-buesch-rt
THE WIKI ONLY LINKS TO SOME NON EXISTENT PATCHES SO BASICALLY THERE IS NOTHING AVAILABLE EXCEPT THE BITMUSTER CODE.
PATCHING THE BITMUSTER CODE TO THE NEW CODEBASE BY HAND WILL PROBABLY TAKE ABOUT 4-5 HOURS, BUT I AM SO ANNOYED BY THE WAY SOMEONE HAS WASTED MY TIME I AM GOING TO LEAVE IT A FEW WEEKS SO I CAN CALM DOWN.
WARNING TO ANYONE CONSIDERING TRYING THE RT_PREEMPT EFFORT, IGNORE THE WIKI PAGE, POSSIBLY START WITH A FRESH COPY OF THE OFFICIAL LINUXCNC GIT REPO, AND CAREFULLY READ THROUGH THE PATCHES AT www.bitmuster.org/projects/emc.html
Please Log in to join the conversation.
Is it possible that you didn't switch to the correct branch after cloning the repo?THERE ARE NO RT_PREEMPT PATCHES OR MODIFICATIONS MADE TO THE GIT REPO AT git://gitorious.org/emc-rt-preempt/emc-rt-preempt.git linuxcnc-buesch-rt
(I would check, but I am at work, in a foreign country, on a work laptop running Win7)
The gitorious repo was intended as a first step to incorporating the Buesch / Abel code into the main LinuxCNC repo. I am not sure what happened to that idea.
I don't think that Lars claimed anything else, you can follow the discussion here:
www.mail-archive.com/emc-developers@list...ge.net/msg04617.html
Please Log in to join the conversation.
As far as I can workout gitorious.org/emc-rt-preempt/emc-rt-pree...shm_20120501_cleaned seems to be the most upto date version, can anyone advise on this??
It definitely seems to have new files from the bitmuster patches in the source tree.
Maybe I will try and make download and compile this evening.
Though I think maybe RPI will not be suited to linuxcnc with axis until someone gets accelerated X and python openGL ES working and possibly a new networking system.
I had a quick mess around with cyclictest and seems average RT_PREEMPT latency is 300us.
Please Log in to join the conversation.
I also notice all my forum posts on my old login have been erased.
Any chance someone could look into this?
This was with reference to editing the wiki. actually I did not need a password anyway, but what was the point in setting a wiki password anyways?
I have no idea about using git so am not really the person to tell anyone how to do anything, despite this I have updated the wiki
wiki.linuxcnc.org/cgi-bin/wiki.pl?Debian...-Rt_Compile_LinuxCNC
Anyone have any comment please add them to the wiki.
I think I am having some mental problems as I am not quoting correct reference posts and have somehow made multiple unnecessary posts of irrelevant junk???
I think I need to take a rest from this.
Please Log in to join the conversation.
I compiled the code that I got as per my update shown on the wiki page and it looks okay, I patched with my simple hacks for raspberry pi and it runs axis with sim 'axis' config.
This was done on friday night, I was hoping to get the hardware driver compiled and tested over the weekend but have felt really really ill unable to think or get out of bed.
At present I am hoping to try the driver compile before next weekend as I feel like I am past the worst as far as feeling ill goes.
I have a load of error logs that I saved from running the RT_PREEMPT scripts/linuxcnc and the scripts/runtests.
There were lots more errors shown in runtests than when this was run in sim mode.
Also I looked at the RT_PREEMPT code in src/rtapi/ and it looks like a good template for implementing a xenomai patch for linuxcnc so I may look at xenomai implementation after I finish hacking about the RT_PREEMPT stuff.
At present latency does not look good, but I am still guessing that the RPI has enough power to run linuxcnc reasonably, it may just be that a lot of work is required to get the performance.
Also I am reasonably sure that I am missing a lot of important peices of the puzzle as I think my driver was not performing as I had expected (a frequency meter on the driver pins showed 1.5kHz, but on the video test the max I could get was about 60rpm from a 200step stepper).
Please Log in to join the conversation.
output from running : . ./scripts/rip-environment ; ./scripts/linuxcnc
Please Log in to join the conversation.
