[Machinekit] installing MachineKit on RPI3

2017-09-24 Thread Stephane Kolijn
Hi all,

I have been trying to get machinekit up and running on my RPI3. As you 
might guess out of this post. No succes yet :)

I have the latest rasbian, meaning stretch. debian 9

So i have been googling and reading. So i followed first following:

10K replied the topic: LinuxCNC on Debian Stretch 
TIm-
LIke you, I installed Stretch. I then added the rt kernel. I put in 
linuxcnc-uspace, but not from the buildbot. Here's what I did, in case it 
helps.

sudo apt-get install dirmngr
sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key 3cb9fd148f374fef

Required version of libboost-python is not in stretch repository.  Temporarily 
point to jessie

sudo nano /etc/apt/sources.list with nano to contain:
deb http://ftp.us.debian.org/debian jessie main
sudo apt-get update
sudo apt-get install linuxcnc-uspace

Now remove the pointer to jessie in sources.list
sudo apt-get update

I did this but only the nano contain part i didnt understand.so skipped this. 
than i followed the machinekit for kernel jessie RPÏ2
and after i did the previous, i was able to do the first 2 steps. Kernel and 
building it. I didn't get any errors.

But now how do i start Machinekit, cause strangely enough, i can not find 
anything on my Pi?

I find to start a program you run in terminal simply machinekit, but that 
results in command not found. 

So now i am lost. Hope someone can help out.

Regards,

Stephane


-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.


[Machinekit] Re: installing MachineKit on RPI3

2017-09-24 Thread mung kie
Have you tried asking a question on the raspberrypi.org forum in the 
linuxcnc thread?

I think the jessie install will definite not work on stretch, there were a 
few knowledgable people at rpi forum that may be able to help you if you 
ask, I think kinsa was the username of the guy that did the external 
hardware addon and he is fairly hot with kernel compiles and driver devel.

I have not used machinekit on rpi3 since just after it was released early 
last year, it compiled okay then for stretch and jessie and wheezy with the 
auto build scripts we use but there was one library that needs to be 
downgraded with a fairly simple source compile for stretch (I forget which 
one probably czmq or zmq or protobuf?)

I doubt you will get a RT_PREEMPT kernel for pi3 I think the usb patch and 
spinlock mods would be different and the anholt gpu driver changes some 
stuff, thought things may have changed, unfortunately the raspberry pi 
foundation do not seem to want me on their forums so we moved on to try and 
find other systems for cnc development (still not found any ARM sbc that is 
receptive though)

The pi is probably very good platform especially for the multikore stuff, 
but you will be on your own as far as RT and any other more complex aspects 
of patching and driver stuff, the rpi foundation do not seem to like more 
comercial usage of their devices which I suppose is understandable if they 
cut their profits to support education they cannot be expected to waste 
time and money supporting commercial product usage of a charity subsidised 
product.

But maybe still worth asking on their forum?

On Monday, September 25, 2017 at 12:47:40 AM UTC+1, Stephane Kolijn wrote:
>
> Hi all,
>
> I have been trying to get machinekit up and running on my RPI3. As you 
> might guess out of this post. No succes yet :)
>
> I have the latest rasbian, meaning stretch. debian 9
>
> So i have been googling and reading. So i followed first following:
>
> 10K replied the topic: LinuxCNC on Debian Stretch 
> TIm-
> LIke you, I installed Stretch. I then added the rt kernel. I put in 
> linuxcnc-uspace, but not from the buildbot. Here's what I did, in case it 
> helps.
>
> sudo apt-get install dirmngr
> sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key 3cb9fd148f374fef
>
> Required version of libboost-python is not in stretch repository.  
> Temporarily point to jessie
>
> sudo nano /etc/apt/sources.list with nano to contain:
>   deb http://ftp.us.debian.org/debian jessie main
> sudo apt-get update
> sudo apt-get install linuxcnc-uspace
>
> Now remove the pointer to jessie in sources.list
> sudo apt-get update
>
> I did this but only the nano contain part i didnt understand.so skipped this. 
> than i followed the machinekit for kernel jessie RPÏ2
> and after i did the previous, i was able to do the first 2 steps. Kernel and 
> building it. I didn't get any errors.
>
> But now how do i start Machinekit, cause strangely enough, i can not find 
> anything on my Pi?
>
> I find to start a program you run in terminal simply machinekit, but that 
> results in command not found. 
>
> So now i am lost. Hope someone can help out.
>
> Regards,
>
> Stephane
>
>
>

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.


Re: [Machinekit] installing MachineKit on RPI3

2017-09-24 Thread Bas de Bruijn


> On 25 Sep 2017, at 01:47, Stephane Kolijn  wrote:
> 
> Hi all,
> 
> I have been trying to get machinekit up and running on my RPI3. As you might 
> guess out of this post. No succes yet :)
> 
> I have the latest rasbian, meaning stretch. debian 9
> 
> So i have been googling and reading. So i followed first following:
> 
> 10K replied the topic: LinuxCNC on Debian Stretch
> TIm-
> LIke you, I installed Stretch. I then added the rt kernel. I put in 
> linuxcnc-uspace, but not from the buildbot. Here's what I did, in case it 
> helps.
> 
> sudo apt-get install dirmngr
> sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key 3cb9fd148f374fef
> 
> Required version of libboost-python is not in stretch repository.  
> Temporarily point to jessie
> 
> sudo nano /etc/apt/sources.list with nano to contain:
>   deb http://ftp.us.debian.org/debian jessie main
> sudo apt-get update
> sudo apt-get install linuxcnc-uspace
> 
> Now remove the pointer to jessie in sources.list
> sudo apt-get update
> 
> I did this but only the nano contain part i didnt understand.so skipped this. 
> than i followed the machinekit for kernel jessie RPÏ2
> and after i did the previous, i was able to do the first 2 steps. Kernel and 
> building it. I didn't get any errors.
> 
> But now how do i start Machinekit, cause strangely enough, i can not find 
> anything on my Pi?
> 
> I find to start a program you run in terminal simply machinekit, but that 
> results in command not found. 
> 
> So now i am lost. Hope someone can help out.
> 
> Regards,
> 
> Stephane
Looks like you're mixing linuxcnc and Machinekit.
Did you follow the instructions here 
http://www.machinekit.io/docs/getting-started/getting-started-platform/

And specifically for the rpi (5)
http://www.machinekit.io/docs/getting-started/installing-packages/

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.