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

More
3 years 8 months ago #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)

Code:
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
3 years 8 months ago #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
3 years 8 months ago #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
3 years 2 months ago - 3 years 2 months ago #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: 3 years 2 months ago by TOLP2. Reason: Problem solved

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

More
3 years 1 month ago #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
2 years 10 months ago #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.

Time to create page: 0.378 seconds
Powered by Kunena Forum