Installing LinuxCNC 2.8.4 on Raspbian 10 (Buster) tested on Raspberry Pi 3B+, Pi

More
07 Feb 2023 14:50 #263941 by rodw

tasksel seems to do nothing and is already installed... you do have to login as root

JT

I followed this a couple of years ago and it worked

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

More
07 Feb 2023 14:52 #263942 by rodw
And what Seb said in the mail list back in september:
This is awesome!

I tried the "2022-08-08" Bookworm image for Raspberry Pi 4.  The image
is for the arm64 architecture.  Everything seems to work fine on a
Raspberry Pi 4B, including wifi, GUI, and the serial console.

After `apt-get install linuxcnc-uspace linux-image-rt-arm64` and a
little bit of tweaking, I'm now getting latencies around 150 µs, which
is not as good as the Raspbian Buster armhf image at  linuxcnc.org  (~70
µs latency) but probably acceptable.

It's neat that there are several easy(-ish), usable options for LinuxCNC
on Raspberry Pi now.
 

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

More
07 Feb 2023 15:58 #263953 by elovalvo

Also the first part of this line is a link? Ah you need to add code tags...

-d /usr/lib/linux-image-$KERN/broadcom && cp -d /usr/lib/linux-image-$KERN/broadcom/* /boot/$KERN/

JT
 


In fact the editor of the forum makes bad jokes...

The commands are those shown here:

github.com/kdoren/linux/wiki/Installatio...ge-(Raspberry-Pi-OS)

mkdir -p /boot/$KERN/o/ 
cp -d /usr/lib/linux-image-$KERN/overlays/* /boot/$KERN/o/
cp -dr /usr/lib/linux-image-$KERN/* /boot/$KERN/ 
[[ -d /usr/lib/linux-image-$KERN/broadcom ]] && cp -d /usr/lib/linux-image-$KERN/broadcom/* /boot/$KERN/ 
touch /boot/$KERN/o/README 
mv /boot/vmlinuz-$KERN /boot/$KERN/ 
mv /boot/initrd.img-$KERN /boot/$KERN/ 
mv /boot/System.map-$KERN /boot/$KERN/ 
cp /boot/config-$KERN /boot/$KERN/ 
cat >> /boot/config.txt << EOF 
[all] 
kernel=vmlinuz-$KERN 
# initramfs initrd.img-$KERN 
os_prefix=$KERN/ 
overlay_prefix=o/$(if [[ "$KERN" =~ 'v8' ]]; then echo -e "\narm_64bit=1"; fi) 
[all] 
EOF
The following user(s) said Thank You: JT

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

More
12 Feb 2023 10:13 #264349 by elovalvo

And what Seb said in the mail list back in september:
This is awesome!

I tried the "2022-08-08" Bookworm image for Raspberry Pi 4.  The image
is for the arm64 architecture.  Everything seems to work fine on a
Raspberry Pi 4B, including wifi, GUI, and the serial console.

After `apt-get install linuxcnc-uspace linux-image-rt-arm64` and a
little bit of tweaking, I'm now getting latencies around 150 µs, which
is not as good as the Raspbian Buster armhf image at  linuxcnc.org   (~70
µs latency) but probably acceptable.

It's neat that there are several easy(-ish), usable options for LinuxCNC
on Raspberry Pi now.


If you are interested I have prepared an experimental image that could be useful:

forum.linuxcnc.org/9-installing-linuxcnc...cnc?start=170#264143


The link to download it can be found here

forum.linuxcnc.org/9-installing-linuxcnc...cnc?start=180#264347
The following user(s) said Thank You: rodw

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

More
19 Feb 2023 15:14 #264808 by DrKnow65
I think it would be a good idea to edit the first post to displace the isolcpus instruction to the end after installing LinuxCNC and mesaflash.
I was shocked at just how slow the code was compiling on my Rpi3B+ after doing the same thing on my Rpi4. It then came to me that the isolcpus was handicapping the pi before it was necessary.

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

More
06 Aug 2023 20:24 - 07 Aug 2023 21:23 #277157 by TOLP2
EDIT: it works, I managed to create a bug in my HAL-file considering the stepgen. The error given lead to the wrong conclusion that RT was not working.
Last edit: 07 Aug 2023 21:23 by TOLP2. Reason: Problem solved

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

More
04 Sep 2023 12:29 #279819 by hus10
HI
i have problem when using gmocappy gui
the linuxcnc freeze when i perform touch off

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

More
14 Dec 2023 22:53 #288176 by dannym
I made an SD card with "Raspberry Pi OS (Legacy) with desktop and recommended software" and tried on two different RPi4B, one 4GB one 8GB.

It shows a splash screen, a text changes rapidly in the lower left corner, then it locks up. The HDMI signal is gone, the monitor goes into standby, and it won't respond to keyboard input

Where do I go from here?

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

More
15 Dec 2023 00:31 - 15 Dec 2023 00:34 #288179 by cornholio
For RPi 4 use this

www.linuxcnc.org/iso/linuxcnc-2.9.1-bookworm-rpi4.img.xz

Unless of course you have a reason to use 2.8.4

I if you use the raspberry pi imager to write the SD card don't "customise" the image.
After booting you can use menu-config to change some settings. Just be aware the structure of this image isn't exactly the same as the Official RPi images but has been tailored for use with Linuxcnc.
Last edit: 15 Dec 2023 00:34 by cornholio.

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

More
15 Dec 2023 07:40 - 15 Dec 2023 07:41 #288193 by dannym
no luck with that 2.9.1

It prints a few lines of text in the upper left, then the HDMI signal dies and the monitor goes to sleep.  It's not booted and not responsive to keyboard

Both RPI4s I have, burned with RPi imager and "no" to customizations
Last edit: 15 Dec 2023 07:41 by dannym.

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

Time to create page: 0.099 seconds
Powered by Kunena Forum