Advanced Search

Search Results (Searched for: raspberry pi 3)

  • car_nut
  • car_nut
12 Jan 2025 23:27

G3 command ignores and resets M67 feedrate?

Category: Plasmac

Hello all, could use some help.  Currently in the final throws of getting a new build up and running:
QtPlasmaC V2.9-238.314
Raspberry Pi5
Mesa IO boards
Sheetcam and associated post processors

I realized that my THC was active on holes, which then led me to see that M67 commands weren't working for my holes.  Further investigating showed the following:
  • M67 is working as I expect it to if G1 linear commands follow in lines below
  • When a G3 is encountered, it resets feedrate to 100% and executes the arc at 100%
  • I didn't test G2 yet
  • If an inline M67 is issued with the G3, it will execute the arc at commanded rate.  For example, have the following as one line of code:
    • G3 X0.0 Y0.0 I-0.2 J-0.2 M67 E3 Q50
  • However, after executing the above correctly it STILL resets feedrate back to 100%
I don't believe this is the expected behavior, my apologies if it is.  If it is the expected behavior, can someone point me to a Sheetcam post processor that would format it as such?

Thank you!
  • royka
  • royka
12 Jan 2025 12:36 - 12 Jan 2025 13:32

Real-time kerel not detected on patched 6.12

Category: General LinuxCNC Questions

These are the exact commands I do:
git clone github.com/raspberrypi/linux.git -b rpi-6.12.y
cd linux
KERNEL=kernel_2712 make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- bcm2712_defconfig
KERNEL=kernel_2712 make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- menuconfig

After that you choose fully preemptible.
Now I wonder what you do different I guess you didn't use the defconfig, then you should set EXPERT=y like I mentioned before: General Setup => Configure standard kernel features (expert users) and press Y, and Fully Preemptible is visible. But I advise to apply the changes to the defconfig at github.com/by/RT-Kernel except the rtc and ntp options, and use the defconfig.

To enable the realtime indicator I used the patch that I posted on page 2.
wget forum.linuxcnc.org/media/kunena/attachme...ernel-realtime.patch
cd linux
git apply ../sys-kernel-realtime.patch

And to prevent compile errors (after the above patch) go at menuconfig to: General Setup =>  Kexec and crash features => press Y so CRASH_DUMP gets selected so VMCORE_INFO gets selected.
  • alangibson
  • alangibson
12 Jan 2025 09:36

RPi 5 with 6.12 PREEMPT_RT = Using POSIX non-realtime

Category: Installing LinuxCNC

 So is there a bug in the PREEMPT_RT support in the 6.12 kernel, or is it simply not implemented the way LinuxCNC has come to expect? Obviously LinuxCNC needs to support a working standard.


This conversation is a bit confusing because rodw and I are doing different things to get the same result.

I am starting with Raspberry Pi OS, switching to their 6.12 branch then building the kernel to enable PREEMPT_RT. I'm doing this because they don't have a kernel build of 6.12 with realtime enabled yet.

rodw is starring with plain Debian and using a build system to create an image for the Raspberry Pi.

Sidenote: all realtime code is merged in upstream 6.12 now, but you still have to enable it at build time with a configuration option. There's no way to turn realtime on and off after it's built. 
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
10 Jan 2025 21:47
Replied by Cant do this anymore bye all on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

These are Linux kernel patches, so I guess where the kernel devs hangout.
  • Lezard
  • Lezard
10 Jan 2025 19:06 - 12 Jan 2025 12:21

Solved - LinuxCNC does not work with new Delta ASDA-A2 drive

Category: General LinuxCNC Questions

Hello,

Got the drive working again today, the parameters for Control Mode and Pulse Type were indeed wrong (so you were both right :-)

Turns out that my backup parameters file was not good at all, I ended up just copying the working parameters from one of the X drives to the new Y drive. Both axis have the same mechanical setup, gear reduction ratio etc...

@ihavenofish : you are right, these drives have CAN bus capability. I made this choice at the time as I was not quite clear about the various options. Now, I wish I had chosen the E version that offers EtherCat...

I'm thinking about upgrading the whole setup to EtherCat, possibly running LinuxCNC from a RaspBerry. Pi. That would allow me to get rid of the PC/Parallel Port limitations, move all the hardware inside the control cabinet, and have more I/O to finally add some extras to the machine.

Thank you all for your help, great to see this community thriving !
  • resmond
  • resmond
10 Jan 2025 18:57
Replied by resmond on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Is there a GitHub tracking thread (or something else) for those patches?

I would be really interested in following that thread.
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
10 Jan 2025 04:18
Replied by Cant do this anymore bye all on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

hahaha

These things happen.

We're making some headway towards getting a 6.12 kernel going with rod's image builder.
But despite what the recent skuttlebutt suggests for arm platforms it seems that some patches are still required for realtime.
  • TomAlborough
  • TomAlborough's Avatar
10 Jan 2025 02:38
Replied by TomAlborough on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

I have made a mistake. I thought the kit I bought gave no *physical^ access to the SD card. But, it does.
My apologies for the trouble and misunderstanding.

Tom
  • rodw
  • rodw's Avatar
10 Jan 2025 00:28

Real-time kerel not detected on patched 6.12

Category: General LinuxCNC Questions

I just installed linuxcnc on my desktop PC  using the Debian trixie alpha1 ISO on an AMD64 PC
Linuxcnc 2.3 is included in the trixie repositories
It installed fine and brought in the PREEMPT_RT kernel.
Linuxcnc started Using POSIX realtime with no further action

So it looks like its a Raspberry Pi thing which is resolved by applying the kernel patches. I'll try tonight
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
09 Jan 2025 12:40
Replied by Cant do this anymore bye all on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

I just thought it was a little ironic as I posted about not being able to find any reference to any major hardware changes.
  • rodw
  • rodw's Avatar
09 Jan 2025 10:02
Replied by rodw on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Just got info from 2 suppliers that there are 16GB RPi 5 for sale. No mention of any other hardware updates.

8 gb should be heaps. I havenever used more than 4 gb

Stand by. Trying to make a new pi5 image with all of our learnings
 
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
09 Jan 2025 09:54
Replied by Cant do this anymore bye all on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Just got info from 2 suppliers that there are 16GB RPi 5 for sale. No mention of any other hardware updates.
  • rodw
  • rodw's Avatar
09 Jan 2025 05:00
Replied by rodw on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

As far as I have been able to see there has been no major hardware updates to the RPi5. Or are you referring to the ability to boot from NVME ?
 

I think there has been a lot of improvement under the hood including making the 6.12 kernel available.But yeh, not something you can really see.
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
09 Jan 2025 01:39
Replied by Cant do this anymore bye all on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Just start a new thread that is quite easy.
Have you a link to the kits that "don't offer access to the SD card" ?

As far as I have been able to see there has been no major hardware updates to the RPi5. Or are you referring to the ability to boot from NVME ?

When claims like that are made it would be nice to provide a link, it's rather frustrating for someone to mention something like that with no references, as this would be a major shake up for the RPi platform.
  • alangibson
  • alangibson
08 Jan 2025 21:58
Replied by alangibson on topic Real-time kerel not detected on patched 6.12

Real-time kerel not detected on patched 6.12

Category: General LinuxCNC Questions

@royka I can confirm that you fix works on Raspberry Pi 5. See this thread:

forum.linuxcnc.org/media/kunena/attachme...ernel-realtime.patch
Displaying 676 - 690 out of 785 results.
Time to create page: 0.816 seconds
Powered by Kunena Forum