Linuxcnc on Debian Bookworm - a shortcut to master branch

More
4 years 6 months ago #241219 by elovalvo

I also forgot to mention is that the debian buildbots a compiling from source so this should be available on about 9 platforms including arm64 which should cover the pi 4 as well.

You can get that here forDebian 12 Testing (Bookworm)
raspi.debian.net/daily-images/

I can confirm that the image in this link works with a Raspberry Pi 4 with 4Gb but does not work with an Rpi400.

Please Log in to join the conversation.

More
4 years 6 months ago #241239 by rodw

I can confirm that the image in this link works with a Raspberry Pi 4 with 4Gb but does not work with an Rpi400.


Great, I was able to install it too but I did not get the PREEMPT_RT kernel on my Pi 4B and had some stability issues
Just this minute, I have finished compiling linuxcnc from source after installing the PREEMPT_RT based on this method
github.com/kdoren/linux/releases/tag/rpi_5.15.27-rt35
and this 64 bit image
downloads.raspberrypi.org/raspios_arm64/...os_arm64-2022-04-07/
I have a long way to go to understand the pi

Please Log in to join the conversation.

More
4 years 5 months ago #243293 by depronman

Now its installed, I now can confirm this worked perfectly using the weekly build. Currently 
cdimage.debian.org/cdimage/unofficial/no...uilds/amd64/iso-dvd/
But don't use this one, drill in and get the latest as it changes every week.

Rod, followed the above link and got bookworm installed, then installed linuxcnc 2.9.....
so far so good, linuxcnc starts but latency is really bad. checking the kernal and it is NOT the real time kernal
How would I install the real time Kernal ?
Additional question, I ticked the option for two GUI's, how do I change between them ?
cheers  Paul
 

Please Log in to join the conversation.

More
4 years 5 months ago #243294 by rodw
The best way to install preempt_RT is to open synaptic and search for linux-image and install the correct -rt one for your kernel. It usually will have PREEMPT_RT in the comments.

You may need to install synaptic first: sudo apt install  synaptic

To swap between GUI's there is an option on the bottom right of the login screen

If you are using a pi, its not going to work.. Its still a work in progress but for the pi, you need to build an image with these commands
forum.linuxcnc.org/9-installing-linuxcnc...xfce?start=10#243105

Please Log in to join the conversation.

More
4 years 5 months ago #243297 by depronman
thanks for the quick reply Rod
I rebooted and in the GRUB screen there was numerous kernals, so I selected the RT one and when it booted up the latency was MUCH better. I'm playing on an old HP G56 Laptop before I take the HDD out and try it on the real machine (Denford Cyclone)
I also found the gear icon on the login screen and have successfully changed to Xfec which look FAR more familiar
Have rebooted and GRUB seems to have remembered to load the RT kernal
so far happy days
will report back when I've tried it on the actual machine

Please Log in to join the conversation.

More
4 years 5 months ago #243302 by depronman
follow on question if I may
I need to be able to run halcompile, but it does not appear to be available, is there a procedure I need to follow to enable/install halcompile ?

cheers,
Paul

Please Log in to join the conversation.

More
4 years 5 months ago #243305 by tommylight
sudo apt-get install linuxcnc-uspace-dev

Please Log in to join the conversation.

More
4 years 5 months ago #243337 by depronman
thanks Tommy that appears to have done the trick
Machine testing tonight if all goes well

Cheers,
Paul

Please Log in to join the conversation.

More
4 years 5 months ago #243447 by depronman
Rod,  on one of your posts about 4 to 6 weeks ago you advised how to get the latency down, a line in GRUB if I'm remembering it correctly.  For the life of me I can't find the post again, could you remind me please

cheers,
Paul

Please Log in to join the conversation.

More
4 years 5 months ago #243448 by rodw
Oops not a raspberry pi!
you need to add isolcpus = 2,3 in grub.
You can install and use grub_customizer for this. Somewhere, there will be a line that says quiet
so add it to the end of that line and reboot.

Please Log in to join the conversation.

Time to create page: 0.232 seconds
Powered by Kunena Forum