CAD CAM EDM DRO - Yahoo Group Archive

Re: Raspberry Pi for CADCAM CNC? - first task .... realtime RasPi

Posted by Doug Fortune
on 2013-03-08 13:14:07 UTC
Running CNC on the RaspberryPi is very experimental, for DIY Linux
kernel experts only, but this might give you a place to begin.

RasPi might run LinuxCNC/EMC2 in non-realtime mode, at least for
testing. Or, non-realtime might just be "good enough" for your
application.

--------

There have been several attempts to get real time running on the RasPi,
including Xenomai on Raspberry Pi

Here are some list excerpts:

http://powet.eu/2012/07/25/raspberry-pi-xenomai/ Xenomai on Raspberry Pi



>
> Ok, I installed it on the Raspberry Pi....
>
> (log in as "jed" password "jed" su to root, as realtime only runs
> in root mode)
>
> ldd hello
> ldd hello2
>
> needs libxenomai.so.0 on the path, so..
> cp -v /usr/xenomai/lib/libxenomai.so.0 /lib
>
>
> now, as root .....
> ./hello works
> ./hello2 works
>
> -------------
>
> problems:
> - its FRENCH linux
> - wrong keyboard, I can't type pipe "|" or quotes
> - startx doesn't work to bring up a graphical UI
>
>
>
>
>> http://powet.eu/2012/07/25/raspberry-pi-xenomai/ Xenomai on Raspberry Pi
>>
>> He says:
>>
>> Xenomai is a real-time development framework cooperating with the
>> Linux kernel, in order to provide a pervasive, interface-agnostic,
>> hard real-time support to user-space applications, seamlessly
>> integrated into the GNU/Linux
>> environment.http://en.wikipedia.org/wiki/Xenomai
>> <http://en.wikipedia.org/wiki/Xenomai>
>>
>> It has slightly different goals than Linux-RTAI, which tries for the
>> absolute minimal latencies. Xenomai attempts to be extensible and
>> have wide compatability. Xenomai used to have a RTAI compatability
>> skin but apparently this is buggy and deprecated. Speedwise RTAI is
>> best followed by xenomai followed by RT_PREEMPT.
>>
>> if you just want to try xenomai here is my latest image (for 8GB HDSC
>> card)
>>
>> wget -c powet.eu/raspberrypi/xenomai.img
>>
>>
>>
>> Username: jed Password: jed
>>
>> SHA-1 bb71b783d3d20edd58287eb1b0bf49bd5d9007de
>>
>>
>> http://www.raspberrypi.org/phpBB3/viewtopic.php?f=41&t=12368
>>
>> I created a patch to get the Raspberry Pi to compile and work with
>> the Xenomai 2.6.1 real-time framework with Linux 3.2.21, which I am
>> sharing here with everybody.
>>
>> After doing some minor testing, it seems to be running fine. Keep in
>> mind that I've never done Linux kernel development before, so it
>> could be that what the code does is wrong is some way, or could be
>> improved. I welcome any suggestions or fixes!
>>
>> Depending on the kernel configuration, the patch will use one of two
>> clock sources for updating the timestamp counter. If power management
>> is enabled, the 1MHz System Timer will be used. If power management
>> is disabled, the ARM Timer, configured to run at 250MHz, will be used
>> instead. Keep in mind that the ARM Timer's clock is derived from the
>> system clock. Since power management can dynamically change the
>> system clock, the ARM Timer is only used if power management is
>> disabled. See section 14 of the BCM2835 ARM Peripherals
>> <http://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripherals.pdf>
>> guide for more details.
>>
>>
>>
>



[Non-text portions of this message have been removed]

Discussion Thread

Peter 2012-12-22 21:07:50 UTC Raspberry Pi for CADCAM CNC? Dave Halliday 2012-12-22 22:53:27 UTC RE: [CAD_CAM_EDM_DRO] Raspberry Pi for CADCAM CNC? Peter 2012-12-23 05:04:57 UTC Re: Raspberry Pi for CADCAM CNC? Dave Halliday 2012-12-23 07:54:29 UTC RE: [CAD_CAM_EDM_DRO] Re: Raspberry Pi for CADCAM CNC? jeremy youngs 2012-12-23 08:03:46 UTC Re: [CAD_CAM_EDM_DRO] Re: Raspberry Pi for CADCAM CNC? Dave Halliday 2012-12-23 08:39:59 UTC RE: [CAD_CAM_EDM_DRO] Re: Raspberry Pi for CADCAM CNC? jeremy youngs 2012-12-23 13:49:58 UTC Re: [CAD_CAM_EDM_DRO] Re: Raspberry Pi for CADCAM CNC? David G. LeVine 2012-12-23 14:43:43 UTC Re: [CAD_CAM_EDM_DRO] Re: Raspberry Pi for CADCAM CNC? Stephen Kandul 2012-12-23 15:10:23 UTC Re: Raspberry Pi for CADCAM CNC? Jon Elson 2012-12-23 21:05:04 UTC Re: [CAD_CAM_EDM_DRO] Re: Raspberry Pi for CADCAM CNC? Stephen Kandul 2012-12-24 09:21:35 UTC Re: Raspberry Pi for CADCAM CNC? samcoinc2001 2012-12-24 10:25:12 UTC Re: Raspberry Pi for CADCAM CNC? Jon Elson 2012-12-24 11:25:54 UTC Re: [CAD_CAM_EDM_DRO] Re: Raspberry Pi for CADCAM CNC? David G. LeVine 2012-12-24 16:15:51 UTC Re: [CAD_CAM_EDM_DRO] Re: Raspberry Pi for CADCAM CNC? scyvt 2012-12-25 06:41:24 UTC Re: Raspberry Pi for CADCAM CNC? jeremy youngs 2012-12-25 09:35:26 UTC Re: [CAD_CAM_EDM_DRO] Re: Raspberry Pi for CADCAM CNC? Jon Elson 2012-12-25 19:32:13 UTC Re: [CAD_CAM_EDM_DRO] Re: Raspberry Pi for CADCAM CNC? Jon Elson 2012-12-25 19:38:26 UTC Re: [CAD_CAM_EDM_DRO] Re: Raspberry Pi for CADCAM CNC? Steve Clay-Young 2012-12-26 07:02:00 UTC Re: Raspberry Pi for CADCAM CNC? scyvt 2012-12-26 07:18:34 UTC Re: Raspberry Pi for CADCAM CNC? Roland Jollivet 2012-12-26 08:30:42 UTC [CAD_CAM_EDM_DRO] Re: Raspberry Pi for CADCAM CNC? Dave Halliday 2012-12-26 08:45:14 UTC RE: [CAD_CAM_EDM_DRO] Re: Raspberry Pi for CADCAM CNC? David G. LeVine 2012-12-26 12:44:58 UTC Re: [CAD_CAM_EDM_DRO] Re: Raspberry Pi for CADCAM CNC? Jon Elson 2012-12-26 12:48:05 UTC Re: [CAD_CAM_EDM_DRO] Re: Raspberry Pi for CADCAM CNC? David G. LeVine 2012-12-26 12:54:52 UTC Re: [CAD_CAM_EDM_DRO] Re: Raspberry Pi for CADCAM CNC? R.L. Wurdack 2012-12-26 14:54:38 UTC Re: [CAD_CAM_EDM_DRO] Re: Raspberry Pi for CADCAM CNC? Elliot B 2012-12-27 10:05:24 UTC Re: Raspberry Pi for CADCAM CNC? Jon Elson 2012-12-27 17:27:40 UTC Re: [CAD_CAM_EDM_DRO] Re: Raspberry Pi for CADCAM CNC? Elliot B 2012-12-28 08:19:02 UTC Re: Raspberry Pi for CADCAM CNC? Jon Elson 2012-12-28 08:27:55 UTC Re: [CAD_CAM_EDM_DRO] Re: Raspberry Pi for CADCAM CNC? Doug Fortune 2013-03-08 13:14:07 UTC Re: Raspberry Pi for CADCAM CNC? - first task .... realtime RasPi Vince Negrete 2013-03-09 14:12:01 UTC Re: [CAD_CAM_EDM_DRO] Re: Raspberry Pi for CADCAM CNC? - first task .... realtime RasPi David G. LeVine 2013-03-10 21:30:52 UTC Re: [CAD_CAM_EDM_DRO] Re: Raspberry Pi for CADCAM CNC? - first task .... realtime RasPi Vince Negrete 2013-03-11 10:09:35 UTC Re: [CAD_CAM_EDM_DRO] Re: Raspberry Pi for CADCAM CNC? - first task .... realtime RasPi kinsamanka@y... 2013-03-13 07:08:09 UTC Re: Raspberry Pi for CADCAM CNC? - first task .... realtime RasPi John Dammyer 2013-03-13 09:19:56 UTC RE: [CAD_CAM_EDM_DRO] Re: Raspberry Pi for CADCAM CNC? - first task .... realtime RasPi Vince Negrete 2013-03-13 11:12:05 UTC Re: [CAD_CAM_EDM_DRO] Re: Raspberry Pi for CADCAM CNC? - first task .... realtime RasPi kinsamanka@y... 2013-03-13 16:38:05 UTC Re: Raspberry Pi for CADCAM CNC? - first task .... realtime RasPi Vince Negrete 2013-03-13 18:46:23 UTC Re: [CAD_CAM_EDM_DRO] Re: Raspberry Pi for CADCAM CNC? - first task .... realtime RasPi kinsamanka@y... 2013-03-16 06:39:37 UTC Re: Raspberry Pi for CADCAM CNC? - first task .... realtime RasPi kinsamanka@y... 2013-03-16 06:39:44 UTC Re: Raspberry Pi for CADCAM CNC? - first task .... realtime RasPi Scott A Tovey 2013-03-16 06:45:02 UTC Re: [CAD_CAM_EDM_DRO] Re: Raspberry Pi for CADCAM CNC? - first task .... realtime RasPi Vince Negrete 2013-03-16 11:21:48 UTC Re: [CAD_CAM_EDM_DRO] Re: Raspberry Pi for CADCAM CNC? - first task .... realtime RasPi Vince Negrete 2013-03-16 11:44:07 UTC Re: [CAD_CAM_EDM_DRO] Re: Raspberry Pi for CADCAM CNC? - first task .... realtime RasPi